Update NixOS config.
This commit is contained in:
parent
7f186c9c5e
commit
8d46db736b
1 changed files with 0 additions and 0 deletions
18
pull.sh
Executable file
18
pull.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
# pull new stuff down
|
||||
git pull origin main
|
||||
echo "rebuilding" $(hostname) "from git repo"
|
||||
git pull origin main
|
||||
|
||||
# build it
|
||||
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