Trigger log rotation after a week

This commit is contained in:
coolneng 2020-02-23 14:59:06 +01:00
parent 40a9598020
commit 6123b72094
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 3 additions and 0 deletions

View File

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