Adds sudo to update-sys command.

This commit is contained in:
Bailey 2024-02-19 00:09:05 -05:00
parent 72fd7b4eca
commit fd2060c8c0

View file

@ -242,7 +242,7 @@ in
echo \"$argv[1]\" Command Not Found
'';
update-hm = "home-manager switch -L --flake nixconf &| nom";
update-sys = "nixos-rebuild switch --log-format internal-json -v --flake nixconf &| nom --json";
update-sys = "sudo nixos-rebuild switch --log-format internal-json -v --flake nixconf &| nom --json";
};
interactiveShellInit = ''
abbr --position anywhere -a !! -f last_cmd