common-config.journald: only store in-memory, max 100MB, maximum 1d
Clears all logs on reboot, clears data after 100MB or after 1day, whatever comes first.
This commit is contained in:
parent
d1cb03f213
commit
629f8f02d7
1 changed files with 7 additions and 1 deletions
|
@ -6,7 +6,13 @@
|
|||
settings.PasswordAuthentication = false;
|
||||
};
|
||||
|
||||
journald.extraConfig = "SystemMaxUse=100M";
|
||||
journald = {
|
||||
storage = "volatile";
|
||||
extraConfig = ''
|
||||
SystemMaxUse=100M
|
||||
MaxRetentionSec=1d
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
nix = {
|
||||
|
|
Loading…
Reference in a new issue