From b50a21e0de6097c75bbe3c689713b34d4f6d60d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Mon, 31 Mar 2025 00:08:28 +0200 Subject: [PATCH] Auto-cleanup Managed to clean 10 GiB even with beesd enabled, and it's still going! Reconsidering beesd but also meh, it hasn't been a pain lately. --- os/common.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/os/common.nix b/os/common.nix index a0c8884..0cf3b65 100644 --- a/os/common.nix +++ b/os/common.nix @@ -50,8 +50,14 @@ }; nix = { + gc = { + automatic = true; + persistent = true; + options = "--delete-older-than 14d"; + }; package = pkgs.lix; settings = { + auto-optimise-store = true; experimental-features = [ "nix-command" "flakes"