From b6331e6569caf51f0abac2faa03f5813a423c0be Mon Sep 17 00:00:00 2001 From: emily Date: Thu, 13 Jun 2024 00:23:22 +0200 Subject: [PATCH] Fix firewall on emilia --- config/hosts/emilia/configuration.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/hosts/emilia/configuration.nix b/config/hosts/emilia/configuration.nix index 2aeb3b7..61e2ea8 100644 --- a/config/hosts/emilia/configuration.nix +++ b/config/hosts/emilia/configuration.nix @@ -16,7 +16,10 @@ kyouma.machine-type.physical = true; kyouma.nginx.defaultForbidden = "uptime.kyouma.net"; - networking.hostName = "emilia"; + networking = { + firewall.allowedTCPPorts = [ 80 443 ]; + hostName = "emilia"; + }; systemd.network.networks."98-eth-default" = { matchConfig.MACAddress = "04:d4:c4:39:73:f6"; addresses = [