summary refs log tree commit diff
path: root/nixos/modules/services/networking/dante.nix
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2016-12-10 15:32:17 +0100
committerJoachim Fasting <joachifm@fastmail.fm>2016-12-10 20:35:41 +0100
commit2a4902dd802fee13c662d4b801f4e76fd353811c (patch)
treeae8387f851dca51a65992c691f705b4735af31da /nixos/modules/services/networking/dante.nix
parentfafb6657c138d725948412481b4720aff0e13863 (diff)
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.
Diffstat (limited to 'nixos/modules/services/networking/dante.nix')
-rw-r--r--nixos/modules/services/networking/dante.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/dante.nix b/nixos/modules/services/networking/dante.nix
index 8f4e15223ab0e..a9a77f3412af9 100644
--- a/nixos/modules/services/networking/dante.nix
+++ b/nixos/modules/services/networking/dante.nix
@@ -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