feat: migrate to agenix for secret management
This commit is contained in:
parent
e7e8d154aa
commit
8e174ba500
23 changed files with 234 additions and 120 deletions
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
authentication.fallback-admin = {
|
||||
user = "admin";
|
||||
secret = config.mySecrets.stalwartAdmin;
|
||||
secret = "%{file:/run/agenix/stalwart-admin}%";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -51,10 +51,4 @@
|
|||
# Allow Stalwart to read the ACME certificate procured for Caddy
|
||||
systemd.services.stalwart.serviceConfig.SupplementaryGroups = [ "acme" ];
|
||||
|
||||
# Open Firewalls for Mail
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
993 # IMAP (Secure)
|
||||
4190 # Sieve
|
||||
8080 # Admin UI (Reverse proxied, but good to double check loopback)
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue