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 { config = mkOption {
default = null; default = null;
type = types.str; type = types.nullOr types.str;
description = '' description = ''
Contents of Dante's configuration file Contents of Dante's configuration file
NOTE: user.privileged/user.unprivileged are set by the service NOTE: user.privileged/user.unprivileged are set by the service