mirror of https://github.com/wlcx/home.git
zsh: update nrswitch to use remote-sudo
This commit is contained in:
parent
d1eef4122d
commit
482ddb70e5
|
@ -24,7 +24,7 @@ in {
|
|||
cat = "bat";
|
||||
ip = "ip --color=auto";
|
||||
hmswitch = ''home-manager switch --flake ".#$(hostname -s)"'';
|
||||
nrswitch = "sudo nixos-rebuild switch --flake '.#'";
|
||||
nrswitch = "nixos-rebuild --use-remote-sudo switch --flake '.#'";
|
||||
};
|
||||
# Extra .zshrc stuff
|
||||
initExtra = ''
|
||||
|
|
Loading…
Reference in New Issue