Add nsd.conf, document deployment

This commit is contained in:
2026-01-24 01:11:29 +01:00
parent 21e97f63cb
commit 75c8ecfe02
4 changed files with 124 additions and 13 deletions
+2 -3
View File
@@ -30,8 +30,7 @@ stdenvNoCC.mkDerivation {
dontUnpack = true;
installPhase = ''
mkdir -p $out/zones
mkdir -p $out
''
+ (lib.concatMapAttrsStringSep "\n" (name: path: "cp ${path} $out/zones/${name}.zone") zoneConfigs);
+ (lib.concatMapAttrsStringSep "\n" (name: path: "cp ${path} $out/${name}.zone") zoneConfigs);
}