From c46d6fca14db97b58cc140bc45572887da5d7195 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 19 Dec 2017 14:09:44 +0100 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ymir.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ymir.nix') diff --git a/ymir.nix b/ymir.nix index 6e68e01c..fcf8ab69 100644 --- a/ymir.nix +++ b/ymir.nix @@ -26,8 +26,8 @@ let ]; dnsZones = listToAttrs (flatten (mapAttrsToList dnsZone (readDir ./custom/ymir/zones))); - dnsZone = fName: type: optional (type == "regular" || type == "symlink") (nameValuePair (dnsZoneName fName) (readFile (./custom/ymir/zones + fName))) - dnsZoneName = fName: concatStringsSep "." (reverseList (splitString "." (removeSuffix ".soa" fName))) + dnsZone = fName: type: optional (type == "regular" || type == "symlink") (nameValuePair (dnsZoneName fName) (readFile (./custom/ymir/zones + fName))); + dnsZoneName = fName: concatStringsSep "." (reverseList (splitString "." (removeSuffix ".soa" fName))); in rec { imports = [ -- cgit v1.2.3