all repos — nixfiles @ 6e4018809a3b2477a3f6414c910dc650cf1be40e

System and user configuration, managed by nix and home-manager

git-server: move firewall exception to role

Alin
commit

6e4018809a3b2477a3f6414c910dc650cf1be40e

parent

3a0eeec563d0d476942a7d782a2111d7615a7617

2 files changed, 2 insertions(+), 5 deletions(-)

changed files
M system/hosts/linde.nix → system/hosts/linde.nix
@@ -138,11 +138,6 @@ }
]; }; }; - firewall = { - allowedTCPPorts = [ - 9418 - ]; - }; resolvconf = { enable = false; useLocalResolver = false;
M system/roles/git-server.nix → system/roles/git-server.nix
@@ -206,4 +206,6 @@ ExecStartPost = "-${lib.getExe pkgs.rdiff-backup} --api-version 201 remove increments --older-than 3M ${hostname}@r5.${ts-domain}::gitolite";
}; }; }; + + networking.firewall.allowedTCPPorts = [ 9418 ]; }