diff --git a/home/common/cli/fish.nix b/home/common/cli/fish.nix index 5367dcd..257d524 100644 --- a/home/common/cli/fish.nix +++ b/home/common/cli/fish.nix @@ -50,7 +50,8 @@ apt = "sudo apt"; doc = "sudo docker"; docker = "sudo docker"; - systemctl = "sudo systemctl"; + sctl = "sudo systemctl"; + usctl = "systemctl --user"; doco = "sudo docker-compose"; # z is a weird key to hit frequently, j is much better @@ -99,6 +100,8 @@ hm = "home-manager"; hmreload = "cd ~/nix-config && home-manager switch --flake .#(whoami)@(hostname) && cd -"; hminplace = "home-manager switch --flake .#(whoami)@(hostname)"; + nsreload = "cd ~/nix-config && sudo nixos-rebuild switch --flake ."; + nsinplace = "sudo nixos-rebuild switch --flake ."; }; plugins = [