aboutsummaryrefslogtreecommitdiff
path: root/scripts/gc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gc.sh')
-rwxr-xr-xscripts/gc.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/gc.sh b/scripts/gc.sh
index e6a1d0d..9b98123 100755
--- a/scripts/gc.sh
+++ b/scripts/gc.sh
@@ -5,6 +5,7 @@ disk_space() {
}
before=$(disk_space)
+
yellow "Cleaning up the NixOS store"
profiles=(per-user/root/channels per-user/andreh/profile per-user/andreh/channels system)
@@ -20,6 +21,11 @@ nix-store --gc
nix-collect-garbage -d
+yellow "Cleaning up Guix store"
+
+guix gc
+
+
yellow "Cleaning up up the Trash and /tmp folders"
rm -rf ~/.local/share/Trash/files/*