From f52264da28a3d2f294c508d4b03358343131eb7d Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Thu, 31 Aug 2023 14:53:10 +0100 Subject: [PATCH] feat: introduce new aliases for reloading nix/home-manager --- home/common/shell/zsh.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/home/common/shell/zsh.nix b/home/common/shell/zsh.nix index 276e4347..50f83792 100644 --- a/home/common/shell/zsh.nix +++ b/home/common/shell/zsh.nix @@ -78,8 +78,9 @@ speedtest = "curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -"; cleanup-nix = "sudo nix-collect-garbage -d"; - reload-nix = "sudo nixos-rebuild switch --flake /home/jon/nixos-config"; - reload-home = "home-manager switch --flake /home/jon/nixos-config"; + rln = "sudo nixos-rebuild switch --flake /home/jon/nixos-config"; + rlh = "home-manager switch --flake /home/jon/nixos-config"; + rlb = "rln;rlh"; }; }; };