diff --git a/modules/nixos/system/default.nix b/modules/nixos/system/default.nix index b983f0b..e52b2fe 100644 --- a/modules/nixos/system/default.nix +++ b/modules/nixos/system/default.nix @@ -1,9 +1,11 @@ { ... }: { imports = [ ./dbus ./fonts ./hw ./locale ./network ./nix ./security ./xdg ]; - # services.journald.extraConfig = '' - # LineMax=128K - # SystemMaxUse=512M - # SystemMaxFileSize=128M - # ''; + services.journald.extraConfig = '' + SystemMaxUse=512M + SystemMaxFileSize=64M + MaxRetentionSec=1month + RateLimitIntervalSec=30s + RateLimitBurst=10000 + ''; }