shell: shorten/expand homemanager/nixos-rebuild aliases

This commit is contained in:
Sam W 2024-09-26 13:33:21 +01:00
parent cc24d247b1
commit 8fd2a4fb6e
1 changed files with 4 additions and 2 deletions

View File

@ -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";
};