nix(homeserver): declare stalwart tmpfiles permissions and mail firewall ports
Core Architecture & Invariant CI / validate (push) Successful in 9m42s
Core Architecture & Invariant CI / validate (push) Successful in 9m42s
This commit is contained in:
1 parent
45d9271cbc
commit
03ac2ae15e
1 file changed
+8
-2
@@ -92,6 +92,12 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Open ports in the firewall for Traefik, Gitea SSH, and GitOps Webhook Receiver
|
# Ensure persistent directories have proper permissions for container runtimes (e.g. Stalwart UID 2000)
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 2223 9000 ];
|
systemd.tmpfiles.rules = [
|
||||||
|
"d /home/kiskaadee/Core/config/stalwart/data 0777 kiskaadee users -"
|
||||||
|
"d /home/kiskaadee/Core/config/stalwart/etc 0777 kiskaadee users -"
|
||||||
|
];
|
||||||
|
|
||||||
|
# Open ports in the firewall for Traefik, Gitea SSH, GitOps Webhook Receiver, and Mail (SMTP, Submission, SMTPS, IMAPS, ManageSieve)
|
||||||
|
networking.firewall.allowedTCPPorts = [ 80 443 2223 9000 25 465 587 993 4190 ];
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user