added cleanup option
This commit is contained in:
2024-08-17 06:48:05 +10:00
parent e1a171de21
commit 2d7864527f

View File

@@ -81,6 +81,15 @@ updateBuild () {
return 0
}
cleanupGenerations () {
logo
echo Removing previous generations from pc
nix-collect-garbage
echo Done you will need to run a build for the boot options to be removed
echo Press any key to continue
read -n 1
}
updateScript () {
git -C $scriptDIR pull
echo Script pulled restarting script