summary refs log tree commit diff
path: root/nixos/modules/services/networking/nsd.nix
diff options
context:
space:
mode:
authorJulien Moutinho <julm+nixpkgs@sourcephile.fr>2020-01-31 20:40:48 +0100
committerJulien Moutinho <julm+nixpkgs@sourcephile.fr>2020-01-31 20:40:48 +0100
commit1a1e5f7be56e97f1d3a3b5c551aecdc9b789e158 (patch)
tree0610920406f46316e435f2f33dea5f29cdddd416 /nixos/modules/services/networking/nsd.nix
parente1902ba9126e6ec14b2bd32b5fec44ed1f0308f5 (diff)
downloadnixpkgs-1a1e5f7be56e97f1d3a3b5c551aecdc9b789e158.tar
nixpkgs-1a1e5f7be56e97f1d3a3b5c551aecdc9b789e158.tar.gz
nixpkgs-1a1e5f7be56e97f1d3a3b5c551aecdc9b789e158.tar.bz2
nixpkgs-1a1e5f7be56e97f1d3a3b5c551aecdc9b789e158.tar.lz
nixpkgs-1a1e5f7be56e97f1d3a3b5c551aecdc9b789e158.tar.xz
nixpkgs-1a1e5f7be56e97f1d3a3b5c551aecdc9b789e158.tar.zst
nixpkgs-1a1e5f7be56e97f1d3a3b5c551aecdc9b789e158.zip
nsd: use types.lines where appropriate
Diffstat (limited to 'nixos/modules/services/networking/nsd.nix')
-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 344396638a6..429580e5c6c 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.