From 06bd99cf68d81ace037f1fdaef5ae5f395a4a3af Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Mon, 23 May 2022 23:03:40 +0200 Subject: [PATCH] zsh: Fix nixos-rebuild-switch --- modules/programs/zsh/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/zsh/default.nix b/modules/programs/zsh/default.nix index 42e3d2d..001ec0b 100644 --- a/modules/programs/zsh/default.nix +++ b/modules/programs/zsh/default.nix @@ -36,7 +36,7 @@ in { gds = "git diff --staged"; c = "clear"; suspend = "systemctl suspend"; - nixos-rebuild-switch = "pushd; cd ${home}; sudo ${nixosSwitch}; popd"; + nixos-rebuild-switch = "pushd; cd ${home}; ${nixosSwitch}; popd"; nixos-rebuild-switch-fast = "pushd; cd ${home}; ${nixosSwitch} --fast; popd"; waifu2x = "flatpak run com.github.nihui.waifu2x-ncnn-vulkan";