tweak(bud): buildthis -> rb

This commit is contained in:
Infinidoge 2022-04-28 00:26:31 -04:00
parent 8bb0369c1c
commit 5bb901ca2c
2 changed files with 3 additions and 3 deletions

7
shell/bud/rb.bash Normal file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
attr="$FLAKEROOT#$HOST"
if [ -x /run/wrappers/bin/sudo ]; then
export PATH=/run/wrappers/bin:$PATH
fi
nixos-rebuild --flake "$attr" --use-remote-sudo "${@:-switch}"