forked from hacc/haccfiles
default: make log retention 48h (or 512MiB)
This commit is contained in:
parent
da6dffbcff
commit
812169ed3a
1 changed files with 4 additions and 1 deletions
|
@ -19,7 +19,10 @@
|
|||
enable = lib.mkDefault true;
|
||||
};
|
||||
|
||||
services.journald.extraConfig = "SystemMaxUse=512M";
|
||||
services.journald.extraConfig = ''
|
||||
SystemMaxUse=512M
|
||||
MaxRetentionSec=48h
|
||||
'';
|
||||
nix.gc.automatic = lib.mkDefault true;
|
||||
nix.gc.options = lib.mkDefault "--delete-older-than 1w";
|
||||
nix.trustedUsers = [ "root" "@wheel" ];
|
||||
|
|
Loading…
Reference in a new issue