diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-19 14:09:44 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-19 14:09:44 +0100 |
| commit | c46d6fca14db97b58cc140bc45572887da5d7195 (patch) | |
| tree | ba287b0ed460020a318198dee7d75018c47fe4e0 | |
| parent | 0d0346052044f5e9aefbc61dabfc2e37a71a2473 (diff) | |
| download | nixos-c46d6fca14db97b58cc140bc45572887da5d7195.tar nixos-c46d6fca14db97b58cc140bc45572887da5d7195.tar.gz nixos-c46d6fca14db97b58cc140bc45572887da5d7195.tar.bz2 nixos-c46d6fca14db97b58cc140bc45572887da5d7195.tar.xz nixos-c46d6fca14db97b58cc140bc45572887da5d7195.zip | |
…
| -rw-r--r-- | ymir.nix | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -26,8 +26,8 @@ let | |||
| 26 | ]; | 26 | ]; |
| 27 | 27 | ||
| 28 | dnsZones = listToAttrs (flatten (mapAttrsToList dnsZone (readDir ./custom/ymir/zones))); | 28 | dnsZones = listToAttrs (flatten (mapAttrsToList dnsZone (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 { |
| 32 | imports = | 32 | imports = |
| 33 | [ | 33 | [ |
