feat: add deploy scripts

This commit is contained in:
toast 2025-11-23 16:37:39 +09:00
parent ac228ac385
commit 1939b8ec48
5 changed files with 19 additions and 14 deletions

4
bin/deploy-home Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# vim: ft=sh
home-manager switch --flake .#$USER@$(hostname)

4
bin/deploy-nixos Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# vim: ft=sh
sudo nixos-rebuild switch --flake .#$(hostname)

4
bin/deploy-vps Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# vim: ft=sh
nixos-rebuild switch --flake .#vps --target-host root@vps