modularized firewall logic

This commit is contained in:
2025-09-27 17:44:01 -06:00
parent 3d3f49aeec
commit 99574c9b66
27 changed files with 31 additions and 56 deletions

View File

@@ -9,11 +9,9 @@
};
};
config = lib.mkIf config.my.servers.sabnzbd.enable {
networking.firewall.allowedTCPPorts = [ config.my.servers.sabnzbd.port ];
services.sabnzbd = {
enable = true;
group = "piracy";
openFirewall = true;
};
};
}