1
0
Fork 0
forked from emily/nixfiles

Fix firewall on emilia

This commit is contained in:
emily 2024-06-13 00:23:22 +02:00
parent 7a1292eda9
commit b6331e6569
Signed by untrusted user: emily
GPG key ID: F6F4C66207FCF995

View file

@ -16,7 +16,10 @@
kyouma.machine-type.physical = true; kyouma.machine-type.physical = true;
kyouma.nginx.defaultForbidden = "uptime.kyouma.net"; kyouma.nginx.defaultForbidden = "uptime.kyouma.net";
networking.hostName = "emilia"; networking = {
firewall.allowedTCPPorts = [ 80 443 ];
hostName = "emilia";
};
systemd.network.networks."98-eth-default" = { systemd.network.networks."98-eth-default" = {
matchConfig.MACAddress = "04:d4:c4:39:73:f6"; matchConfig.MACAddress = "04:d4:c4:39:73:f6";
addresses = [ addresses = [