From 820bf22d3808cad7fc04aa45eff80a2493994b4e Mon Sep 17 00:00:00 2001 From: Don Harper Date: Fri, 15 Aug 2025 06:27:46 -0500 Subject: [PATCH] justfile | add a target to reboot after colmena apply --- justfile | 5 +++++ 1 file changed, 5 insertions(+) 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