From 85d8f06cec5e0243b3157f3cd4fb0f37997822a3 Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Fri, 29 May 2026 21:36:18 +0200 Subject: Move over some more references --- services/mail2.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'services/mail2.nix') 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; -- cgit v1.3.1