diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-05-30 18:05:55 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-05-30 18:05:55 +0200 |
| commit | f90b32c374af3ac985df734244f44f549eac8e09 (patch) | |
| tree | 4c2a5bd3bc909d185a8a27cde413531cea27acf6 | |
| parent | server2/nextcloud: Upgrade from nextcloud32 to nextcloud33 (diff) | |
| download | nixos-server-f90b32c374af3ac985df734244f44f549eac8e09.zip | |
server3/stalwart: Disable
There is no, and really no, reason why this service is running.
| -rw-r--r-- | hosts/by-name/server3/configuration.nix | 34 | ||||
| -rw-r--r-- | modules/by-name/st/stalwart-mail/settings.nix | 2 |
2 files changed, 18 insertions, 18 deletions
diff --git a/hosts/by-name/server3/configuration.nix b/hosts/by-name/server3/configuration.nix index a7cdc1d..5960932 100644 --- a/hosts/by-name/server3/configuration.nix +++ b/hosts/by-name/server3/configuration.nix @@ -73,23 +73,23 @@ ]; }; stalwart-mail = { - enable = true; - fqdn = "mail.vhack.eu"; - admin = "admin@vhack.eu"; - security = { - dkimKeys = let - loadKey = name: { - dkimPublicKey = builtins.readFile (./secrets/dkim + "/${name}-public"); - dkimPrivateKeyPath = ./secrets/dkim + "/${name}-private.age"; - keyAlgorithm = "ed25519-sha256"; - }; - in { - "mail.vhack.eu" = loadKey "mail.vhack.eu"; - }; - verificationMode = "strict"; - }; - openFirewall = true; - principals = null; + # enable = false; + # fqdn = "mail.vhack.eu"; + # admin = "admin@vhack.eu"; + # security = { + # dkimKeys = let + # loadKey = name: { + # dkimPublicKey = builtins.readFile (./secrets/dkim + "/${name}-public"); + # dkimPrivateKeyPath = ./secrets/dkim + "/${name}-private.age"; + # keyAlgorithm = "ed25519-sha256"; + # }; + # in { + # "mail.vhack.eu" = loadKey "mail.vhack.eu"; + # }; + # verificationMode = "strict"; + # }; + # openFirewall = true; + # principals = null; }; postgresql.enable = true; rust-motd.enable = true; diff --git a/modules/by-name/st/stalwart-mail/settings.nix b/modules/by-name/st/stalwart-mail/settings.nix index eb53783..dfaf63d 100644 --- a/modules/by-name/st/stalwart-mail/settings.nix +++ b/modules/by-name/st/stalwart-mail/settings.nix @@ -24,7 +24,7 @@ then "internal" else "in-memory"; in { - config.services.stalwart-mail.settings = lib.mkIf cfg.enable { + config.services.stalwart.settings = lib.mkIf cfg.enable { # https://www.rfc-editor.org/rfc/rfc6376.html#section-3.3 signature = let signatures = |
