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
@@ -75,6 +75,12 @@ in {
};
config = mkIf cfg.enable {
networking.firewall = {
enable = true;
allowedTCPPorts = [ cfg.port ];
allowedUDPPorts = [ cfg.port ];
};
services.opendkim = {
enable = true;
selector = cfg.selector;