From bc2e8d21663400e0ec49d81d37cc2fb892d4ebc1 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 6 May 2023 06:55:45 +0100 Subject: [PATCH] Add platform specific update alias --- home/Monarch-tux.nix | 1 + home/env/zsh.nix | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) 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";