From b031f26ffa36014a32f96472846cc87a35235309 Mon Sep 17 00:00:00 2001 From: Jaculabilis Date: Tue, 22 Oct 2024 03:48:09 +0000 Subject: [PATCH] empyrean: lower journald usage limit Docs say this defaults to 10% of available space, which is 1.5G on this 15G VPS --- machine/empyrean/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/machine/empyrean/default.nix b/machine/empyrean/default.nix index a0d45c9..bcd2e05 100644 --- a/machine/empyrean/default.nix +++ b/machine/empyrean/default.nix @@ -33,6 +33,10 @@ swapDevices = [ { device = "/swap"; size = 1024; } ]; + services.journald.extraConfig = '' + SystemMaxUse=500M + ''; + # The global useDHCP flag is deprecated, therefore explicitly set to false here. # Per-interface useDHCP will be mandatory in the future, so this generated config # replicates the default behaviour.