Specify correct option type
This commit is contained in:
parent
2455b2e309
commit
187c0b3aef
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue