fix(rebuild): make rebuild pull from git
This commit is contained in:
parent
73eae9a167
commit
abe007d186
1 changed files with 1 additions and 1 deletions
|
|
@ -8,6 +8,6 @@ writeShellScriptBin "rebuild" ''
|
|||
nh os switch --update
|
||||
gen=$(nixos-rebuild list-generations | grep current)
|
||||
git commit -am "$gen"
|
||||
git push origin main
|
||||
git pull origin main
|
||||
popd
|
||||
''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue