Trim the journal more aggressively
This commit is contained in:
parent
6bd8e7bedb
commit
27e641c4c8
|
@ -8,6 +8,12 @@
|
||||||
passwordAuthentication = false;
|
passwordAuthentication = false;
|
||||||
kbdInteractiveAuthentication = false;
|
kbdInteractiveAuthentication = false;
|
||||||
};
|
};
|
||||||
|
services.journald.extraConfig = ''
|
||||||
|
SystemMaxUse=1G
|
||||||
|
SystemMaxFileSize=100M
|
||||||
|
MaxFileSec=1day
|
||||||
|
MaxRetentionSec=2months
|
||||||
|
''; # Limit journal accumulation
|
||||||
system.stateVersion = "22.05";
|
system.stateVersion = "22.05";
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
|
|
Loading…
Reference in a new issue