summaryrefslogtreecommitdiffstats
path: root/nixos/tests/dovecot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/dovecot.nix')
-rw-r--r--nixos/tests/dovecot.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/nixos/tests/dovecot.nix b/nixos/tests/dovecot.nix
index bcbe234fd805..1129e3b45d9d 100644
--- a/nixos/tests/dovecot.nix
+++ b/nixos/tests/dovecot.nix
@@ -4,8 +4,11 @@ import ./make-test-python.nix {
machine = { pkgs, ... }: {
imports = [ common/user-account.nix ];
services.postfix.enable = true;
- services.dovecot2.enable = true;
- services.dovecot2.protocols = [ "imap" "pop3" ];
+ services.dovecot2 = {
+ enable = true;
+ protocols = [ "imap" "pop3" ];
+ modules = [ pkgs.dovecot_pigeonhole ];
+ };
environment.systemPackages = let
sendTestMail = pkgs.writeScriptBin "send-testmail" ''
#!${pkgs.runtimeShell}