summaryrefslogtreecommitdiffstats
path: root/nixos/tests
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2021-01-04 18:01:09 +0100
committerAndreas Rammhold <andreas@rammhold.de>2021-01-04 18:17:26 +0100
commit653f805f098de519f0204e1eed00b26e80d03ce2 (patch)
tree13dbfaa6201e5f793b3be8b037fa04b1b5803d0f /nixos/tests
parentbedb3528b6509af96d029cc4b08584800cb93ef1 (diff)
nixos/tests/dovecot: enable dovecot_pigeonhole plugin
This plugin is used commonly enough that we should ensure it still builds (and dovecot works) after loading it. This is not yet perfect as we aren't testing any of it's functionality but at least we ensure that dovecot continues to do the regular job.
Diffstat (limited to 'nixos/tests')
-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}