common/journald: store logs for 30 days

This commit is contained in:
Oystein Kristoffer Tveit 2024-12-02 08:23:17 +01:00
parent 430a223a63
commit 967ebc0bba
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
2 changed files with 7 additions and 0 deletions

View File

@ -13,6 +13,7 @@ in {
./programs/usbtop.nix
./services/dbus.nix
./services/journald.nix
./services/openssh.nix
./services/pcscd.nix
./services/pipewire.nix

View File

@ -0,0 +1,6 @@
{ ... }:
{
services.journald.extraConfig = ''
MaxFileSec=30day
'';
}