From e8af84ad139e83119a8bc45dc4b3d3be2eaa163d Mon Sep 17 00:00:00 2001 From: liv Date: Sat, 10 Aug 2024 14:14:55 +0200 Subject: [PATCH] add nixos aliases to fish config --- home/common/cli/fish.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 = [