add nixos aliases to fish config
This commit is contained in:
parent
f581d08d7d
commit
e8af84ad13
1 changed files with 4 additions and 1 deletions
|
@ -50,7 +50,8 @@
|
||||||
apt = "sudo apt";
|
apt = "sudo apt";
|
||||||
doc = "sudo docker";
|
doc = "sudo docker";
|
||||||
docker = "sudo docker";
|
docker = "sudo docker";
|
||||||
systemctl = "sudo systemctl";
|
sctl = "sudo systemctl";
|
||||||
|
usctl = "systemctl --user";
|
||||||
doco = "sudo docker-compose";
|
doco = "sudo docker-compose";
|
||||||
|
|
||||||
# z is a weird key to hit frequently, j is much better
|
# z is a weird key to hit frequently, j is much better
|
||||||
|
@ -99,6 +100,8 @@
|
||||||
hm = "home-manager";
|
hm = "home-manager";
|
||||||
hmreload = "cd ~/nix-config && home-manager switch --flake .#(whoami)@(hostname) && cd -";
|
hmreload = "cd ~/nix-config && home-manager switch --flake .#(whoami)@(hostname) && cd -";
|
||||||
hminplace = "home-manager switch --flake .#(whoami)@(hostname)";
|
hminplace = "home-manager switch --flake .#(whoami)@(hostname)";
|
||||||
|
nsreload = "cd ~/nix-config && sudo nixos-rebuild switch --flake .";
|
||||||
|
nsinplace = "sudo nixos-rebuild switch --flake .";
|
||||||
};
|
};
|
||||||
|
|
||||||
plugins = [
|
plugins = [
|
||||||
|
|
Loading…
Add table
Reference in a new issue