fix errors
This commit is contained in:
parent
22ca61fa17
commit
0ab65ae59d
3 changed files with 6 additions and 9 deletions
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue