nixos/logrotate: add newline before extraConfig

Co-authored-by: Ryan Mulligan <ryan@ryantm.com>
This commit is contained in:
Jeff Slight 2020-05-13 20:52:26 -07:00 committed by GitHub
parent 90ce7f508a
commit fe07adef7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,8 +51,7 @@ let
'';
configFile = pkgs.writeText "logrotate.conf" (
(concatStringsSep "\n" (map pathConfig cfg.paths)) +
cfg.extraConfig
(concatStringsSep "\n" ((map pathConfig cfg.paths) ++ [cfg.extraConfig]))
);
in