Merge branch 'journald-maxsize' into 'main'

Journald : limitation de la taille des logs

See merge request nounous/nixos!48
merge-requests/48/merge
Hachino 2026-04-23 18:29:34 +02:00
commit 613cdbe675
2 changed files with 9 additions and 0 deletions

View File

@ -10,6 +10,7 @@ in
./age.nix ./age.nix
./grub.nix ./grub.nix
./home.nix ./home.nix
./journald.nix
./locale.nix ./locale.nix
./networking.nix ./networking.nix
./ntp.nix ./ntp.nix

View File

@ -0,0 +1,8 @@
{ config, lib, ... }:
{
services.journald.extraConfig = ''
SystemMaxUse=500M
MaxRetentionSec=1month
'';
}