fix(rebuild): make rebuild pull from git

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

View file

@ -8,6 +8,6 @@ writeShellScriptBin "rebuild" ''
nh os switch --update nh os switch --update
gen=$(nixos-rebuild list-generations | grep current) gen=$(nixos-rebuild list-generations | grep current)
git commit -am "$gen" git commit -am "$gen"
git push origin main git pull origin main
popd popd
'' ''