all repos — nixfiles @ 7c33dceef86dfb2014d2ef778f3dbe77a5c6f643

System and user configuration, managed by nix and home-manager

os update: allow manual specification of build host

Alin
commit

7c33dceef86dfb2014d2ef778f3dbe77a5c6f643

parent

ff1f231cd6dcf3d8e4b76c78bb50becf56dade6f

1 file changed, 4 insertions(+), 3 deletions(-)

changed files
M scripts/os/update/smrk → scripts/os/update/smrk
@@ -6,13 +6,14 @@ echo "not in nixfiles directory!" >&2
return 1 end -argparse r/remote -- $argv +argparse r/remote b/build-host= -- $argv +set --local build_host $_flag_build_host $target set --local target (status basename) set --local action (if test -n "$argv[1]"; echo $argv[1]; else echo "switch"; end) -if set --query _flag_remote - set --function build_host --build-host {$target} +if set --query _flag_remote; or set --query _flag_build_host + set --function build_host --build-host $build_host[1] end nixos-rebuild $action \