17 lines
541 B
Makefile
17 lines
541 B
Makefile
update:
|
|
git switch -c update
|
|
nix flake update
|
|
git add flake.lock
|
|
git commit -s -m "flake update"
|
|
git push
|
|
git switch main
|
|
|
|
upgrade:
|
|
git switch update
|
|
sudo nixos-rebuild switch -L --flake . --use-substitutes
|
|
nixos-rebuild switch -L --flake .#chunk --target-host root@2a0f:85c1:840:2bfb::1 --use-substitutes
|
|
nixos-rebuild switch -L --flake .#titan --target-host root@www.cything.io --use-substitutes
|
|
home-manager -L switch --flake .
|
|
git switch main
|
|
git merge update
|
|
git branch -d update
|