From 2a4902dd802fee13c662d4b801f4e76fd353811c Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sat, 10 Dec 2016 15:32:17 +0100 Subject: [PATCH] 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. --- nixos/modules/services/networking/dante.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/dante.nix b/nixos/modules/services/networking/dante.nix index 8f4e15223ab..a9a77f3412a 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