diff options
| author | Jakub Stachurski <jakub@wilkuu.xyz> | 2026-05-29 21:36:18 +0200 |
|---|---|---|
| committer | Jakub Stachurski <jakub@wilkuu.xyz> | 2026-05-29 21:36:18 +0200 |
| commit | 85d8f06cec5e0243b3157f3cd4fb0f37997822a3 (patch) | |
| tree | 8c8f90068b65ad16d71ed7b0d0d257bd50fa1c87 /services/mail2.nix | |
| parent | 604b8e1850b19bf5acd2042b138dcd5a17698b65 (diff) | |
Move over some more references
Diffstat (limited to 'services/mail2.nix')
| -rw-r--r-- | services/mail2.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/services/mail2.nix b/services/mail2.nix index dcea8c0..ae4a9eb 100644 --- a/services/mail2.nix +++ b/services/mail2.nix @@ -8,7 +8,6 @@ let hostname = config.networking.hostName; in { - imports = [ ./stalwart0_16.nix ]; options.wilkuu.services.mail = with lib; { enable = mkEnableOption "Enable webmail"; doACME = mkEnableOption "Enable ACME for stalwart here"; @@ -58,7 +57,7 @@ in config = lib.mkIf cfg.enable ( let - tools = config.wilkuu.services.stalwart16.toolbox; + tools = config.stalwart-nix.stalwart.toolbox; sopsPath = ../secrets/${hostname}/stalwart.yaml; secrets = [ "admin_user" @@ -258,7 +257,7 @@ in }; })); - wilkuu.services.stalwart16 = { + stalwart-nix.stalwart = { enable = cfg.enable; url = if cfg.startupMode != "normal" then "http://localhost:8080/" else cfg.defaultDomain; credentialsFile = config.sops.templates.stalwart-config-creds.path; |
