${}, not #{}

This commit is contained in:
niten 2023-11-03 13:22:31 -07:00
parent b7d3f2d94c
commit be1956e895
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ let
networkHostsByComponent =
mapAttrs' (ip: hostname: nameValuePair (getLastIpComponent ip) hostname)
(getNetworkHosts network ipHostMap);
ptrEntry = ip: hostname: "#{ip} IN PTR ${hostname}.";
ptrEntry = ip: hostname: "${ip} IN PTR ${hostname}.";
getHostname = n:
if hasAttr n networkHostsByComponent then
networkHostsByComponent."${n}"