summaryrefslogtreecommitdiff
path: root/guix/kolwynia/home/bdunahu/files/.local/bin/guix-gc
diff options
context:
space:
mode:
Diffstat (limited to 'guix/kolwynia/home/bdunahu/files/.local/bin/guix-gc')
-rwxr-xr-xguix/kolwynia/home/bdunahu/files/.local/bin/guix-gc7
1 files changed, 7 insertions, 0 deletions
diff --git a/guix/kolwynia/home/bdunahu/files/.local/bin/guix-gc b/guix/kolwynia/home/bdunahu/files/.local/bin/guix-gc
new file mode 100755
index 0000000..23a423b
--- /dev/null
+++ b/guix/kolwynia/home/bdunahu/files/.local/bin/guix-gc
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+sudo guix system delete-generations 2w
+guix home delete-generations 2w
+guix package --delete-generations=2w
+guix pull --delete-generations=2w
+guix gc