diff --git a/justfile b/justfile index 659ef32..8e11a5c 100644 --- a/justfile +++ b/justfile @@ -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