mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 02:08:29 +02:00
chore: systemd-journal - reduce disk usage
This commit is contained in:
8
hosts/idols-aquamarine/journald.nix
Normal file
8
hosts/idols-aquamarine/journald.nix
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
# systemd-journal - reduce disk usage
|
||||||
|
# https://www.freedesktop.org/software/systemd/man/latest/journald.conf.html
|
||||||
|
services.journald.extraConfig = ''
|
||||||
|
SystemMaxUse=2G
|
||||||
|
RuntimeMaxUse=256M
|
||||||
|
'';
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user