diff options
author | makefu <github@syntax-fehler.de> | 2015-10-23 15:31:31 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-10-23 15:31:31 +0200 |
commit | 709ebf6bbcc2e0d4644ed35cd42db47c4f2e78c5 (patch) | |
tree | 1134baf12d54d55b4e66666281aa807887b9195a /krebs/3modules | |
parent | 584213070350a86423e53dce5a8b0e0bc7c0fa8c (diff) |
krebs 3 zone-generation: for consistency, add newline at the end
Diffstat (limited to 'krebs/3modules')
-rw-r--r-- | krebs/3modules/default.nix | 4 |
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 ); |