3
0
Fork 0
forked from mirrors/nixpkgs

dante service: fix config option type

The type was simply str but the default is null, thus resulting in a
conversion error if the user fails to declare a value.
This commit is contained in:
Joachim Fasting 2016-12-10 15:32:17 +01:00
parent fafb6657c1
commit 2a4902dd80
No known key found for this signature in database
GPG key ID: 7544761007FE4E08

View file

@ -22,7 +22,7 @@ in
config = mkOption {
default = null;
type = types.str;
type = types.nullOr types.str;
description = ''
Contents of Dante's configuration file
NOTE: user.privileged/user.unprivileged are set by the service