zsh: update nrswitch to use remote-sudo

This commit is contained in:
Sam W 2022-05-23 23:24:17 +00:00
parent d1eef4122d
commit 482ddb70e5
1 changed files with 1 additions and 1 deletions

View File

@ -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 = ''