polish up tailscale scripts

This commit is contained in:
Tao Tien 2025-03-06 00:20:30 -08:00
parent dc3a2105c4
commit 92e6f5f0f2
3 changed files with 62 additions and 47 deletions

View file

@ -1,7 +1,9 @@
alias nd = nix develop
def ns [package] {
nix shell $"nixpkgs#($package)"
}
def nr [package] {
nix search nixpkgs $package
}
@ -17,11 +19,13 @@ def rebuild --wrapped [subcommand, --builders: string, ...rest] {
}
toastify send rebuild done!
}
def post-rebuild [] {
rm -r ~/.config/helix/runtime/grammars/
hx --grammar fetch; hx --grammar build
rustup update
}
def bump --wrapped [...rest] {
cd /home/tao/projects/NOflake/
jj new -m "bump"
@ -31,6 +35,7 @@ def bump --wrapped [...rest] {
rebuild boot ...$rest
jj new
}
alias rb = rebuild boot
alias rs = rebuild switch
alias gc = nh clean all