Update NixOS config.

This commit is contained in:
Elias Gasparis 2024-11-14 15:22:26 +08:00
parent 5c83acb676
commit 1f4ab8c8bd

20
git-pull.sh Executable file
View 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