diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-19 14:12:55 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-19 14:12:55 +0100 |
commit | 9fba8e923523d91caf652717fb713d37fc8445e7 (patch) | |
tree | f7f59ae95a51035e7ac839710d360162e9b6b91e | |
parent | 95aa20e0ecedd36929983d527c86cf4ec216a07e (diff) | |
download | nixos-9fba8e923523d91caf652717fb713d37fc8445e7.tar nixos-9fba8e923523d91caf652717fb713d37fc8445e7.tar.gz nixos-9fba8e923523d91caf652717fb713d37fc8445e7.tar.bz2 nixos-9fba8e923523d91caf652717fb713d37fc8445e7.tar.xz nixos-9fba8e923523d91caf652717fb713d37fc8445e7.zip |
…
-rw-r--r-- | ymir.nix | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ let | |||
27 | 27 | ||
28 | dnsZoneDir = ./ymir/zones; | 28 | dnsZoneDir = ./ymir/zones; |
29 | dnsZones = listToAttrs (flatten (mapAttrsToList dnsZone (builtins.readDir dnsZoneDir))); | 29 | dnsZones = listToAttrs (flatten (mapAttrsToList dnsZone (builtins.readDir dnsZoneDir))); |
30 | dnsZone = fName: type: optional (type == "regular" || type == "symlink") (nameValuePair (dnsZoneName fName) (readFile (dnsZoneDir + "/" + fName))); | 30 | dnsZone = fName: type: optional (type == "regular" || type == "symlink") (nameValuePair (dnsZoneName fName) (readFile (dnsZoneDir + ("/" + fName)))); |
31 | dnsZoneName = fName: concatStringsSep "." (reverseList (splitString "." (removeSuffix ".soa" fName))); | 31 | dnsZoneName = fName: concatStringsSep "." (reverseList (splitString "." (removeSuffix ".soa" fName))); |
32 | in rec { | 32 | in rec { |
33 | imports = | 33 | imports = |