Merge branch 'journald-maxsize' into 'main'

Journald : limitation de la taille des logs

See merge request nounous/nixos!48
merge-requests/48/merge
Hachino 2025-12-31 11:00:54 +01:00
commit 829723ba27
2 changed files with 9 additions and 0 deletions

View File

@ -9,6 +9,7 @@ in
imports = [
./age.nix
./home.nix
./journald.nix
./locale.nix
./networking.nix
./ntp.nix

View File

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