From c4d479e3c699af367130c873a2cd47214c98a9d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Wed, 13 Mar 2024 22:45:11 +0100 Subject: [PATCH] Improve template prepare script --- hosts/template/scripts.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/template/scripts.nix b/hosts/template/scripts.nix index a9b61c1..9ee1e75 100644 --- a/hosts/template/scripts.nix +++ b/hosts/template/scripts.nix @@ -15,6 +15,7 @@ let rm -rf /tmp/* || true echo "Removing logs" + journalctl --rotate || true journalctl --vacuum-time=1s || true echo "Removing cache"