zsh: Work around nix weirdness
This commit is contained in:
parent
32ab8d5ab2
commit
70ec18666d
@ -23,7 +23,7 @@ in {
|
|||||||
history.ignoreSpace = true;
|
history.ignoreSpace = true;
|
||||||
shellAliases = let
|
shellAliases = let
|
||||||
home = "/home/${config.ptw.system.singleUser}/Development/Personal/nixos-config";
|
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 {
|
in {
|
||||||
ls = "ls --color=always";
|
ls = "ls --color=always";
|
||||||
".." = "cd ..";
|
".." = "cd ..";
|
||||||
@ -37,7 +37,7 @@ in {
|
|||||||
c = "clear";
|
c = "clear";
|
||||||
suspend = "systemctl suspend";
|
suspend = "systemctl suspend";
|
||||||
nixos-rebuild-switch = "pushd; cd ${home}; sudo ${nixosSwitch}; popd";
|
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";
|
waifu2x = "flatpak run com.github.nihui.waifu2x-ncnn-vulkan";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user