diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-03-10 21:56:11 +0100 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2021-04-10 15:44:19 +0200 |
commit | d1f57cbaf02be1ea3434563446c417ef98748568 (patch) | |
tree | 3c786a90ade1cf374d528b7f7900d893c344230b /nixos/tests/spacecookie.nix | |
parent | 58be28d7ce5b559c1547d437743ec7890b43eff5 (diff) | |
download | nixpkgs-d1f57cbaf02be1ea3434563446c417ef98748568.tar nixpkgs-d1f57cbaf02be1ea3434563446c417ef98748568.tar.gz nixpkgs-d1f57cbaf02be1ea3434563446c417ef98748568.tar.bz2 nixpkgs-d1f57cbaf02be1ea3434563446c417ef98748568.tar.lz nixpkgs-d1f57cbaf02be1ea3434563446c417ef98748568.tar.xz nixpkgs-d1f57cbaf02be1ea3434563446c417ef98748568.tar.zst nixpkgs-d1f57cbaf02be1ea3434563446c417ef98748568.zip |
nixos/spacecookie: add openFirewall option
Convenience shortcut which automatically configures the firewall to open the port which is also configured for the spacecookie service.
Diffstat (limited to 'nixos/tests/spacecookie.nix')
-rw-r--r-- | nixos/tests/spacecookie.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/spacecookie.nix b/nixos/tests/spacecookie.nix index d3411da8e92..19db520984b 100644 --- a/nixos/tests/spacecookie.nix +++ b/nixos/tests/spacecookie.nix @@ -9,7 +9,6 @@ in name = "spacecookie"; nodes = { ${gopherHost} = { - networking.firewall.allowedTCPPorts = [ 70 ]; systemd.services.spacecookie = { preStart = '' mkdir -p ${gopherRoot}/directory @@ -21,6 +20,7 @@ in enable = true; root = gopherRoot; hostname = gopherHost; + openFirewall = true; }; }; |