summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-12-19 14:11:48 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-12-19 14:11:48 +0100
commit95aa20e0ecedd36929983d527c86cf4ec216a07e (patch)
treeeb0af9f2bb6cb29b6522e4b4927d10408ca145af
parent36a38125f33379f78a945d8571ac7191fb7c0aaa (diff)
downloadnixos-95aa20e0ecedd36929983d527c86cf4ec216a07e.tar
nixos-95aa20e0ecedd36929983d527c86cf4ec216a07e.tar.gz
nixos-95aa20e0ecedd36929983d527c86cf4ec216a07e.tar.bz2
nixos-95aa20e0ecedd36929983d527c86cf4ec216a07e.tar.xz
nixos-95aa20e0ecedd36929983d527c86cf4ec216a07e.zip
-rw-r--r--ymir.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index ee7f87b8..f3edfd49 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 =