Trigger log rotation after a week
This commit is contained in:
parent
40a9598020
commit
6123b72094
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue