Don't use genAttrs
This commit is contained in:
parent
07d2c6205b
commit
055bb037a0
@ -96,13 +96,13 @@ in {
|
|||||||
};
|
};
|
||||||
}) cfg.domains;
|
}) cfg.domains;
|
||||||
reverseZones = concatMapAttrs (domain: domainOpts:
|
reverseZones = concatMapAttrs (domain: domainOpts:
|
||||||
genAttrs domainOpts.reverse-zones (network:
|
listToAttrs (map (network:
|
||||||
reverseZonefile {
|
reverseZonefile {
|
||||||
inherit domain network;
|
inherit domain network;
|
||||||
inherit (domainOpts.zone) nameservers;
|
inherit (domainOpts.zone) nameservers;
|
||||||
ipHostMap = cfg.ip-host-map;
|
ipHostMap = cfg.ip-host-map;
|
||||||
serial = cfg.timestamp;
|
serial = cfg.timestamp;
|
||||||
})) cfg.domains;
|
}) domainOpts.reverse-zones)) cfg.domains;
|
||||||
in forwardZones // reverseZones;
|
in forwardZones // reverseZones;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user