configuration/common: Limit journald log retention time
This commit is contained in:
parent
e45e95f1ba
commit
8f398404d5
@ -9,6 +9,7 @@
|
||||
./nix.nix
|
||||
./programs.nix
|
||||
./ssh.nix
|
||||
./systemd.nix
|
||||
./user.nix
|
||||
./web.nix
|
||||
];
|
||||
|
9
configuration/common/systemd.nix
Normal file
9
configuration/common/systemd.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
|
||||
services.journald.extraConfig = ''
|
||||
MaxRetentionSec=7days
|
||||
'';
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user