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

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