From fecb6b668ddde564fa8fe9b72bd1df314d59fbe9 Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Tue, 10 Sep 2024 21:35:56 +0200 Subject: sagittarius: configure journald to use at most 100MB of space for logs --- hosts/sagittarius/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/sagittarius/default.nix b/hosts/sagittarius/default.nix index 854b6be..b017855 100644 --- a/hosts/sagittarius/default.nix +++ b/hosts/sagittarius/default.nix @@ -27,6 +27,11 @@ }; }; + # Set the max amout of space used for logs + services.journald.extraConfig = '' + SystemMaxUse=100M + ''; + services.comin = { enable = true; remotes = [ -- cgit v1.3.1