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"