mirror of https://github.com/wlcx/home.git
shell: shorten/expand homemanager/nixos-rebuild aliases
This commit is contained in:
parent
cc24d247b1
commit
8fd2a4fb6e
|
@ -38,8 +38,10 @@ in {
|
||||||
cat = "bat";
|
cat = "bat";
|
||||||
ip = "ip --color=auto";
|
ip = "ip --color=auto";
|
||||||
ns = "nix shell nixpkgs#";
|
ns = "nix shell nixpkgs#";
|
||||||
hmswitch = ''home-manager switch --flake ".#$(hostname -s)"'';
|
hm = ''home-manager --flake ".#$(hostname -s)"'';
|
||||||
nrswitch = "nixos-rebuild --use-remote-sudo switch --flake '.#'";
|
hms = ''home-manager --flake ".#$(hostname -s)" switch'';
|
||||||
|
nr = "nixos-rebuild --use-remote-sudo --flake '.#'";
|
||||||
|
nrs = "nixos-rebuild --use-remote-sudo --flake '.#' switch";
|
||||||
da = "direnv allow .";
|
da = "direnv allow .";
|
||||||
dr = "direnv reload";
|
dr = "direnv reload";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue