summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-10-23 15:31:31 +0200
committermakefu <github@syntax-fehler.de>2015-10-23 15:31:31 +0200
commit709ebf6bbcc2e0d4644ed35cd42db47c4f2e78c5 (patch)
tree1134baf12d54d55b4e66666281aa807887b9195a
parent584213070350a86423e53dce5a8b0e0bc7c0fa8c (diff)
krebs 3 zone-generation: for consistency, add newline at the end
-rw-r--r--krebs/3modules/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/3modules/default.nix b/krebs/3modules/default.nix
index 075db1826..bc858f668 100644
--- a/krebs/3modules/default.nix
+++ b/krebs/3modules/default.nix
@@ -105,8 +105,8 @@ let
# Implements environment.etc."zones/<zone-name>"
environment.etc = let
- stripEmptyLines = s: concatStringsSep "\n"
- (remove "\n" (remove "" (splitString "\n" s)));
+ stripEmptyLines = s: (concatStringsSep "\n"
+ (remove "\n" (remove "" (splitString "\n" s)))) + "\n";
all-zones = foldAttrs (sum: current: sum + "\n" +current ) ""
([cfg.zone-head-config] ++ combined-hosts);
combined-hosts = (mapAttrsToList (name: value: value.extraZones) cfg.hosts );