summary refs log tree commit diff
path: root/nixos/modules/services/logging
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/logging')
-rw-r--r--nixos/modules/services/logging/logrotate.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/services/logging/logrotate.nix b/nixos/modules/services/logging/logrotate.nix
index 5b0af8e3349..565618b27a8 100644
--- a/nixos/modules/services/logging/logrotate.nix
+++ b/nixos/modules/services/logging/logrotate.nix
@@ -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