mirror of
https://codeberg.org/mtxyz/nixconf.git
synced 2024-11-09 10:01:57 +00:00
Adds sudo to update-sys command.
This commit is contained in:
parent
72fd7b4eca
commit
fd2060c8c0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue