nixos-config/justfile

19 lines
569 B
Makefile
Raw Normal View History

2025-01-23 22:16:34 -05:00
update:
git branch -D update
2025-01-23 22:16:34 -05:00
git switch -c update
2025-01-24 15:33:52 -05:00
nix flake update
git add flake.lock
git commit -s -m "flake update"
git push -f
2025-01-23 22:16:34 -05:00
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