diff --git a/home/Monarch-tux.nix b/home/Monarch-tux.nix index b0894433..71e7d59f 100644 --- a/home/Monarch-tux.nix +++ b/home/Monarch-tux.nix @@ -20,6 +20,7 @@ home.packages = with pkgs; [ silver-searcher ]; + programs.zsh.shellAliases.update = "home-manager switch"; programs.zsh.envExtra = '' eval "$(/opt/homebrew/bin/brew shellenv)" ''; diff --git a/home/env/zsh.nix b/home/env/zsh.nix index d567859b..a89d67ad 100644 --- a/home/env/zsh.nix +++ b/home/env/zsh.nix @@ -5,9 +5,6 @@ enable = true; shellAliases = { ll = "ls -l"; - update = "sudo nixos-rebuild switch"; - nr = "sudo nixos-rebuild"; - hm = "home-manager"; lg = "lazygit"; nv = "neovide --multigrid --maximized"; xnv = "WINIT_UNIX_BACKEND=x11 neovide --multigrid --maximized";