zsh: Work around nix weirdness
This commit is contained in:
parent
32ab8d5ab2
commit
70ec18666d
@ -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";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user