diff --git a/modules/programs/zsh/default.nix b/modules/programs/zsh/default.nix index c53b173..42e3d2d 100644 --- a/modules/programs/zsh/default.nix +++ b/modules/programs/zsh/default.nix @@ -23,7 +23,7 @@ in { history.ignoreSpace = true; shellAliases = let home = "/home/${config.ptw.system.singleUser}/Development/Personal/nixos-config"; - nixosSwitch = "nixos-rebuild --flake .#${config.ptw.system.hostName} switch"; + nixosSwitch = "nixos-rebuild --flake .#${config.ptw.system.hostName} switch --use-remote-sudo"; in { ls = "ls --color=always"; ".." = "cd .."; @@ -37,7 +37,7 @@ in { c = "clear"; suspend = "systemctl suspend"; nixos-rebuild-switch = "pushd; cd ${home}; sudo ${nixosSwitch}; popd"; - nixos-rebuild-switch-fast = "pushd; cd ${home}; sudo ${nixosSwitch} --fast; popd"; + nixos-rebuild-switch-fast = "pushd; cd ${home}; ${nixosSwitch} --fast; popd"; waifu2x = "flatpak run com.github.nihui.waifu2x-ncnn-vulkan"; };