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
sudo nice ionice \
nixos-rebuild \
switch \
--verbose \
--use-remote-sudo \
--print-build-logs \
--flake .# \
$@

View file

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