diff --git a/configuration.nix b/configuration.nix index bfb8626..4dfba91 100644 --- a/configuration.nix +++ b/configuration.nix @@ -4,6 +4,7 @@ imports = [ ./gandicloud.nix + ./networking.nix ./forgejo.nix ]; @@ -13,6 +14,4 @@ git tig wget ]; - -# networking.firewall.enable = false; } diff --git a/networking.nix b/networking.nix new file mode 100644 index 0000000..d672c76 --- /dev/null +++ b/networking.nix @@ -0,0 +1,7 @@ +{ lib, pkgs, config, ... }: +{ + networking = { +# firewall.enable = false; + firewall.interfaces.allowedTCPPorts = [ 80 443 ]; + }; +}