Open firewall ports

This commit is contained in:
2023-09-28 12:31:03 -07:00
parent 41f5cf4c26
commit a5ed6cc504
4 changed files with 237 additions and 222 deletions
+6
View File
@@ -35,6 +35,12 @@ in {
};
};
networking.firewall = {
enable = true;
allowedTCPPorts = [ cfg.port ];
allowedUDPPorts = [ cfg.port ];
};
systemd.tmpfiles.rules =
[ "d ${cfg.state-directory} 0750 clamav clamav - -" ];