diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-19 14:10:13 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-19 14:10:13 +0100 |
| commit | 800ccbb293ef3b8d4a920609f07407e1a0b66c03 (patch) | |
| tree | c1f06d43bb8d59a469bef16f4ace0ec1132a8410 | |
| parent | c46d6fca14db97b58cc140bc45572887da5d7195 (diff) | |
| download | nixos-800ccbb293ef3b8d4a920609f07407e1a0b66c03.tar nixos-800ccbb293ef3b8d4a920609f07407e1a0b66c03.tar.gz nixos-800ccbb293ef3b8d4a920609f07407e1a0b66c03.tar.bz2 nixos-800ccbb293ef3b8d4a920609f07407e1a0b66c03.tar.xz nixos-800ccbb293ef3b8d4a920609f07407e1a0b66c03.zip | |
…
| -rw-r--r-- | ymir.nix | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -25,7 +25,7 @@ let | |||
| 25 | "ymir.nights.email" "nights.email" "www.nights.email" | 25 | "ymir.nights.email" "nights.email" "www.nights.email" |
| 26 | ]; | 26 | ]; |
| 27 | 27 | ||
| 28 | dnsZones = listToAttrs (flatten (mapAttrsToList dnsZone (readDir ./custom/ymir/zones))); | 28 | dnsZones = listToAttrs (flatten (mapAttrsToList dnsZone (builtins.readDir ./custom/ymir/zones))); |
| 29 | dnsZone = fName: type: optional (type == "regular" || type == "symlink") (nameValuePair (dnsZoneName fName) (readFile (./custom/ymir/zones + fName))); | 29 | dnsZone = fName: type: optional (type == "regular" || type == "symlink") (nameValuePair (dnsZoneName fName) (readFile (./custom/ymir/zones + fName))); |
| 30 | dnsZoneName = fName: concatStringsSep "." (reverseList (splitString "." (removeSuffix ".soa" fName))); | 30 | dnsZoneName = fName: concatStringsSep "." (reverseList (splitString "." (removeSuffix ".soa" fName))); |
| 31 | in rec { | 31 | in rec { |
