justfile | add a target to reboot after colmena apply

This commit is contained in:
Don Harper 2025-08-15 06:27:46 -05:00
parent cf14f9f349
commit 820bf22d38

View file

@ -11,6 +11,11 @@ switch hostname=(HOSTNAME):
@rm -f nixos-switch.log
@colmena --impure apply --on {{hostname}}
# Apply config on hostname and then reboot
bootswitch hostname=(HOSTNAME):
@rm -f nixos-switch.log
@colmena --impure apply --on {{hostname}} --reboot
# Apply config on hostname at next reboot
boot:
@rm -f nixos-switch.log