aboutsummaryrefslogtreecommitdiff
path: root/bin/gc
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gc')
-rwxr-xr-xbin/gc7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/gc b/bin/gc
index f51e60a..5cbfd16 100755
--- a/bin/gc
+++ b/bin/gc
@@ -83,12 +83,13 @@ gc_guix() {
return
fi
+ guix home delete-generations
+ guix gc -d
+
if [ -e /var/guix/profiles/system ]; then
pass show "$(hostname)"/andreh | head -n1 | sudo -iS guix system delete-generations
+ pass show "$(hostname)"/andreh | head -n1 | sudo -iS guix gc -d
fi
- pass show "$(hostname)"/andreh | head -n1 | sudo -iS guix gc -d
- guix home delete-generations
- guix gc -d
}
gc_nix() {