From 8d48728b20811926904ecc20a38a208b00310f83 Mon Sep 17 00:00:00 2001 From: niten Date: Thu, 5 Oct 2023 11:05:15 -0700 Subject: [PATCH] Boy that's hacky --- nsd.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nsd.nix b/nsd.nix index d4f8ef1..f3100de 100644 --- a/nsd.nix +++ b/nsd.nix @@ -22,6 +22,8 @@ let > 0; }; + maybeString = prefix: mStr: if mStr == null then "" else "${prefix}${mStr}"; + mkZoneFileName = name: if name == "." then "root" else name; # replaces include: directives for keys with fake keys for nsd-checkconf