summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/ymir.nix b/ymir.nix
index 6e68e01c..fcf8ab69 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -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)));
31in rec { 31in rec {
32 imports = 32 imports =
33 [ 33 [