summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2020-02-01 09:51:23 +0100
committerGitHub <noreply@github.com>2020-02-01 09:51:23 +0100
commitf9bb054180822220e7ecfa85a02cc487024128c9 (patch)
tree59082a6422a9d316881cfa9ec09eeedc7ad279c4 /nixos/modules/services
parent56dd9559dd321fe508415701fbd0bb9c4af9e7b3 (diff)
parent1a1e5f7be56e97f1d3a3b5c551aecdc9b789e158 (diff)
Merge pull request #78968 from ju1m/nsd_types_lines
nsd : use types.lines where appropriate
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/networking/nsd.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/nsd.nix b/nixos/modules/services/networking/nsd.nix
index 344396638a6cf..429580e5c6c48 100644
--- a/nixos/modules/services/networking/nsd.nix
+++ b/nixos/modules/services/networking/nsd.nix
@@ -244,7 +244,7 @@ let
       };
 
       data = mkOption {
-        type = types.str;
+        type = types.lines;
         default = "";
         example = "";
         description = ''
@@ -484,7 +484,7 @@ in
     };
 
     extraConfig = mkOption {
-      type = types.str;
+      type = types.lines;
       default = "";
       description = ''
         Extra nsd config.