From 77f848e31942574772aa4fa35e3773adac805bd7 Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Tue, 29 Oct 2024 00:02:42 -0500 Subject: [PATCH] reduce log file prevalance on netbox --- boxes/netbox/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/boxes/netbox/default.nix b/boxes/netbox/default.nix index a8ee748..ca113cd 100644 --- a/boxes/netbox/default.nix +++ b/boxes/netbox/default.nix @@ -59,6 +59,10 @@ stateVersion = "23.05"; # don't change this, lol }; + services.journald.extraConfig = '' + SystemMaxUse=2G + ''; + system.userActivationScripts = { copyEssentialConfiguration = { # we don't want to bring in the entirety of home-manager for this, so just