aboutsummaryrefslogtreecommitdiff
path: root/opt/bin/gc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'opt/bin/gc.sh')
-rwxr-xr-xopt/bin/gc.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/opt/bin/gc.sh b/opt/bin/gc.sh
new file mode 100755
index 0000000..55440a7
--- /dev/null
+++ b/opt/bin/gc.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -eu
+
+# FIXME
+# Is this correct?
+nix-store --gc
+nix-collect-garbage -d
+guix gc -d
+
+# FIXME: send email