switch: update switch script

This commit is contained in:
Leonardo Eugênio 2024-09-29 00:11:28 -03:00
parent 70d4c47983
commit 0681134c31
2 changed files with 3 additions and 5 deletions

3
switch
View file

@ -4,10 +4,9 @@ nix fmt
git --no-pager diff git --no-pager diff
sudo nice ionice \
nixos-rebuild \ nixos-rebuild \
switch \ switch \
--verbose \ --use-remote-sudo \
--print-build-logs \ --print-build-logs \
--flake .# \ --flake .# \
$@ $@

View file

@ -36,7 +36,6 @@ in
shellAliases = { shellAliases = {
rm = "trash"; rm = "trash";
tree = "eza -T"; tree = "eza -T";
kill_yourself = "shutdown now";
}; };
shellAbbrs = { shellAbbrs = {
off = "shutdown now"; off = "shutdown now";
@ -51,7 +50,7 @@ in
c = "cargo"; c = "cargo";
# system # system
sv = "sudo systemct"; sv = "sudo systemct";
suv = "sudo systemct --user"; suv = "systemct --user";
# docker abbrs # docker abbrs
d = "docker"; d = "docker";
dc = "docker-compose"; dc = "docker-compose";