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";
|
||||
ip = "ip --color=auto";
|
||||
ns = "nix shell nixpkgs#";
|
||||
hmswitch = ''home-manager switch --flake ".#$(hostname -s)"'';
|
||||
nrswitch = "nixos-rebuild --use-remote-sudo switch --flake '.#'";
|
||||
hm = ''home-manager --flake ".#$(hostname -s)"'';
|
||||
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 .";
|
||||
dr = "direnv reload";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue