Update NixOS config.
This commit is contained in:
parent
5c83acb676
commit
1f4ab8c8bd
1 changed files with 20 additions and 0 deletions
20
git-pull.sh
Executable file
20
git-pull.sh
Executable file
|
@ -0,0 +1,20 @@
|
||||||
|
# add things to git
|
||||||
|
#git add .
|
||||||
|
#git commit -m "Update NixOS config."
|
||||||
|
#git push origin main
|
||||||
|
|
||||||
|
# pull new stuff down
|
||||||
|
#git pull ?
|
||||||
|
echo "rebuilding" $(hostname) "from git repo"
|
||||||
|
sudo nixos-rebuild switch --flake '.#$(hostname)'
|
||||||
|
|
||||||
|
# update nixos
|
||||||
|
# sudo nixos-rebuild switch --flake .#HOST
|
||||||
|
#sudo nixos-rebuild switch --flake '.#greynix'
|
||||||
|
#sudo nixos-rebuild switch --flake '.#bluenix'
|
||||||
|
|
||||||
|
# flake update
|
||||||
|
# sudo nix flake update
|
||||||
|
|
||||||
|
# check on things
|
||||||
|
# git status
|
Loading…
Add table
Add a link
Reference in a new issue