aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2018-11-23 21:57:48 -0200
committerEuAndreh <eu@euandre.org>2018-11-23 21:57:48 -0200
commit8aa714eb5cb459647b92e979f553b1756397bb34 (patch)
treeb4cbe2c94297d333b027b5bf633d200fb5ef205a /scripts
parentUnify crontab and alias command under scripts/mail.sh. (diff)
downloaddotfiles-8aa714eb5cb459647b92e979f553b1756397bb34.tar.gz
dotfiles-8aa714eb5cb459647b92e979f553b1756397bb34.tar.xz
Reenable Guix in NixOS.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gc.sh6
l---------scripts/guix1
2 files changed, 7 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/*
diff --git a/scripts/guix b/scripts/guix
new file mode 120000
index 0000000..96901ae
--- /dev/null
+++ b/scripts/guix
@@ -0,0 +1 @@
+/var/guix/profiles/per-user/root/guix-profile/bin/guix \ No newline at end of file