From c2aa7e22d16ee8f09d485409c927232b5599f9fd Mon Sep 17 00:00:00 2001 From: soraefir Date: Sun, 31 May 2026 21:43:51 +0200 Subject: [PATCH] better logs --- modules/nixos/system/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 + ''; }