fix errors

This commit is contained in:
Tao Tien 2024-10-15 19:21:20 -07:00
parent 22ca61fa17
commit 0ab65ae59d
3 changed files with 6 additions and 9 deletions

View file

@ -63,12 +63,8 @@ def ns [package] {
def nr [package] {
nix search nixpkgs $package
}
def rebuild [--no-builders (-n), subcommand] {
if $no_builders {
sudo nice -n19 nixos-rebuild $subcommand --builders "" --flake /home/tao/projects/NOflake/ --impure --verbose
} else {
sudo nice -n19 nixos-rebuild $subcommand --flake /home/tao/projects/NOflake/ --impure --verbose
}
def rebuild --wrapped [subcommand, ...rest] {
sudo nice -n19 nixos-rebuild $subcommand --flake /home/tao/projects/NOflake/ --impure --verbose ...$rest
}
# def post-rebuild [] {
# # rm -r ~/.config/helix/runtime/grammars/