common/journald: store logs for 30 days
This commit is contained in:
parent
430a223a63
commit
967ebc0bba
@ -13,6 +13,7 @@ in {
|
||||
./programs/usbtop.nix
|
||||
|
||||
./services/dbus.nix
|
||||
./services/journald.nix
|
||||
./services/openssh.nix
|
||||
./services/pcscd.nix
|
||||
./services/pipewire.nix
|
||||
|
6
hosts/common/services/journald.nix
Normal file
6
hosts/common/services/journald.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{ ... }:
|
||||
{
|
||||
services.journald.extraConfig = ''
|
||||
MaxFileSec=30day
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue
Block a user