summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index f3edfd49..4f8b0bbf 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -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)));
32in rec { 32in rec {
33 imports = 33 imports =