diff --git a/configuration.nix b/configuration.nix index e9c9d44..64a93d2 100644 --- a/configuration.nix +++ b/configuration.nix @@ -82,6 +82,9 @@ programs.fish.enable = true; users.users.root.shell = "/run/current-system/sw/bin/fish"; + # Rotate logs after 7 days + services.journald.extraConfig = "SystemMaxFiles=7"; + # Import other configuration modules imports = [ ./modules/printing.nix