Specify correct option type
This commit is contained in:
parent
2455b2e309
commit
187c0b3aef
@ -181,7 +181,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
configFile = mkOption {
|
configFile = mkOption {
|
||||||
type = types.nullOr types.str;
|
type = types.nullOr types.path;
|
||||||
default = null;
|
default = null;
|
||||||
description = "Config file used for the whole dovecot configuration.";
|
description = "Config file used for the whole dovecot configuration.";
|
||||||
apply = v: if v != null then v else pkgs.writeText "dovecot.conf" dovecotConf;
|
apply = v: if v != null then v else pkgs.writeText "dovecot.conf" dovecotConf;
|
||||||
|
Loading…
Reference in New Issue
Block a user