1
0

configuration/common: Limit journald log retention time

This commit is contained in:
clerie 2024-08-28 08:21:26 +02:00
parent e45e95f1ba
commit 8f398404d5
Signed by: clerie
GPG Key ID: BD9F56480870BAD2
2 changed files with 10 additions and 0 deletions

View File

@ -9,6 +9,7 @@
./nix.nix ./nix.nix
./programs.nix ./programs.nix
./ssh.nix ./ssh.nix
./systemd.nix
./user.nix ./user.nix
./web.nix ./web.nix
]; ];

View File

@ -0,0 +1,9 @@
{ ... }:
{
services.journald.extraConfig = ''
MaxRetentionSec=7days
'';
}