Nix-Config/bin/gc.bash

6 lines
95 B
Bash
Raw Normal View History

#!/usr/bin/env bash
nix-collect-garbage -d
sudo rm /nix/var/nix/gcroots/auto/*
nix-store --gc