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";