x: restore cleanup

This commit is contained in:
Harsh Shandilya 2024-04-21 12:44:44 +05:30
parent 4e2fec53d1
commit 70fb679745
1 changed files with 1 additions and 0 deletions

1
x
View File

@ -13,6 +13,7 @@ function nom_build() {
function cleanup_generations() {
sudo nh clean all
sudo /nix/var/nix/profiles/system/bin/switch-to-configuration switch
}
ARG="${1:-nothing}"