remove --update

This commit is contained in:
zack 2024-07-25 16:30:21 -04:00
parent abe007d186
commit f109c48b50
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35

View file

@ -5,7 +5,7 @@ writeShellScriptBin "rebuild" ''
alejandra . &>/dev/null alejandra . &>/dev/null
git add . git add .
echo "[REBUILD]: rebuilding nixos" echo "[REBUILD]: rebuilding nixos"
nh os switch --update nh os switch
gen=$(nixos-rebuild list-generations | grep current) gen=$(nixos-rebuild list-generations | grep current)
git commit -am "$gen" git commit -am "$gen"
git pull origin main git pull origin main