From 3bef4eb5bd784e75c4f36d974b8ea1183054e359 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Mon, 2 Feb 2026 10:03:43 +0100 Subject: [PATCH] mailserver: update to follow nixpkgs --- modules/services/mailserver.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/modules/services/mailserver.nix b/modules/services/mailserver.nix index a414229..3dfa4a9 100644 --- a/modules/services/mailserver.nix +++ b/modules/services/mailserver.nix @@ -14,7 +14,7 @@ in builtins.fetchGit { url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git"; ref = "master"; - rev = "5965fae920b6b97f39f94bdb6195631e274c93a5"; + rev = "7d433bf89882f61621f95082e90a4ab91eb0bdd3"; } + "/default.nix" ) @@ -71,10 +71,10 @@ in imapSync = lib.mkOption { description = '' Synchronize one or more email providers through IMAP - to your dovecot2 instance. + to your dovecot instance. This allows you to backup that email provider - and centralize your accounts in this dovecot2 instance. + and centralize your accounts in this dovecot instance. ''; default = null; type = lib.types.nullOr ( @@ -410,9 +410,12 @@ in localDnsResolver = false; - certificateScheme = "acme-nginx"; enableImapSsl = true; enableSubmissionSsl = true; + x509 = { + certificateFile = cfg.ssl.paths.cert; + privateKeyFile = cfg.ssl.paths.key; + }; # Using / is needed for iOS mail. # Both following options are used to organize subfolders in subdirectories.