add a wrapper for nix-gc
This commit is contained in:
parent
d0b8013497
commit
ef4716c476
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
printf "clearing out nix caches\n"
|
||||||
|
|
||||||
|
sudo nix-collect-garbage -d
|
||||||
|
nix-collect-garbage -d
|
||||||
|
sudo nix-store --optimize
|
Loading…
Reference in New Issue