justfile | add a target to reboot after colmena apply
This commit is contained in:
parent
cf14f9f349
commit
820bf22d38
1 changed files with 5 additions and 0 deletions
5
justfile
5
justfile
|
|
@ -11,6 +11,11 @@ switch hostname=(HOSTNAME):
|
||||||
@rm -f nixos-switch.log
|
@rm -f nixos-switch.log
|
||||||
@colmena --impure apply --on {{hostname}}
|
@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
|
# Apply config on hostname at next reboot
|
||||||
boot:
|
boot:
|
||||||
@rm -f nixos-switch.log
|
@rm -f nixos-switch.log
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue