From 284288c32ef782e6e28bab2756a3d4aa9315d48a Mon Sep 17 00:00:00 2001 From: Katalin Rebhan Date: Mon, 13 Apr 2026 14:17:07 +0200 Subject: [PATCH] nixosTests.gitlab: fixup for new dovecot module --- nixos/tests/gitlab/gitlab.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/nixos/tests/gitlab/gitlab.nix b/nixos/tests/gitlab/gitlab.nix index 762d0a572854..d2ccfe1d7ab3 100644 --- a/nixos/tests/gitlab/gitlab.nix +++ b/nixos/tests/gitlab/gitlab.nix @@ -35,7 +35,7 @@ in nodes = { gitlab = - { ... }: + { config, ... }: { imports = [ ../common/user-account.nix ]; @@ -75,7 +75,14 @@ in services.dovecot2 = { enable = true; - enableImap = true; + enablePAM = true; + settings = { + dovecot_config_version = "2.4.3"; + dovecot_storage_version = config.services.dovecot2.package.version; + protocols.imap = true; + mail_driver = "maildir"; + mail_path = "~/mail"; + }; }; systemd.services.gitlab-backup.environment.BACKUP = "dump";