cfg doesn't exist, use argument

This commit is contained in:
niten 2023-10-06 10:16:02 -07:00
parent d386edc63e
commit 1ed77673e9
1 changed files with 2 additions and 2 deletions

View File

@ -102,8 +102,8 @@ let
domainRecords = domain: zone:
let
defaultHostRecords = optionals (cfg.default-host != null)
(makeHostRecords "@" cfg.default-host);
defaultHostRecords = optionals (zone.default-host != null)
(makeHostRecords "@" zone.default-host);
kerberosRecord = optionalString (zone.gssapi-realm != null)
''_kerberos IN TXT "${zone.gssapi-realm}"'';