From 17db4b6f8eb7b77a980c7c0c41444c7127fec3e6 Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Wed, 20 Mar 2024 20:08:50 -0500 Subject: [PATCH] added just gc. --- nix/justfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nix/justfile b/nix/justfile index e932fba..0a121f0 100644 --- a/nix/justfile +++ b/nix/justfile @@ -3,3 +3,7 @@ switch: bootstrap: nix run --extra-experimental-features "nix-command flakes" --no-write-lock-file github:nix-community/home-manager/ -- --extra-experimental-features "nix-command flakes" --flake . switch + +gc: + home-manager expire-generations -7days + nix store gc