about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorChristoph Hrdinka <c.github@hrdinka.at>2019-10-09 17:25:12 +0200
committerGitHub <noreply@github.com>2019-10-09 17:25:12 +0200
commit65be6083302f06cf29c8d6bfdf570ab99b71f13c (patch)
tree2335df555a6de8b769c71ebe99f9537fc4cd59b0 /nixos
parent8627cc58ba1cb9581e12f4f7ceb06f9c8325586e (diff)
parent187c0b3aef871bcc162d4fc3b026b5c980d62758 (diff)
downloadnixlib-65be6083302f06cf29c8d6bfdf570ab99b71f13c.tar
nixlib-65be6083302f06cf29c8d6bfdf570ab99b71f13c.tar.gz
nixlib-65be6083302f06cf29c8d6bfdf570ab99b71f13c.tar.bz2
nixlib-65be6083302f06cf29c8d6bfdf570ab99b71f13c.tar.lz
nixlib-65be6083302f06cf29c8d6bfdf570ab99b71f13c.tar.xz
nixlib-65be6083302f06cf29c8d6bfdf570ab99b71f13c.tar.zst
nixlib-65be6083302f06cf29c8d6bfdf570ab99b71f13c.zip
Merge pull request #70371 from dminuoso/dovecot-fix-type
dovecot: fix wrong type in configFile option
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/mail/dovecot.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/mail/dovecot.nix b/nixos/modules/services/mail/dovecot.nix
index cdbb776454b6..3fd06812c675 100644
--- a/nixos/modules/services/mail/dovecot.nix
+++ b/nixos/modules/services/mail/dovecot.nix
@@ -181,7 +181,7 @@ in
     };
 
     configFile = mkOption {
-      type = types.nullOr types.str;
+      type = types.nullOr types.path;
       default = null;
       description = "Config file used for the whole dovecot configuration.";
       apply = v: if v != null then v else pkgs.writeText "dovecot.conf" dovecotConf;