Revert "disable `nh` aliases for better interoperability with deflake branch" This reverts commit 1bf2bcbef0ec4f2333b88b976eaeabd9dba31242.
Alan Pearce alan@alanpearce.eu
Sun, 10 Nov 2024 20:14:20 +0100
3 files changed, 7 insertions(+), 7 deletions(-)
M user/settings/darwin.nix → user/settings/darwin.nix
@@ -109,8 +109,8 @@ }; }; home.shellAliases = { - rb = "darwin-rebuild"; - rbs = "darwin-rebuild switch"; + rb = "nh os"; + rbs = "nh os switch"; dig = "dig +noall +answer";
M user/settings/nixos.nix → user/settings/nixos.nix
@@ -5,9 +5,9 @@ ./nixpkgs.nix ]; home.shellAliases = { - srb = "nixos-rebuild"; - rbs = "nixos-rebuild switch --fast"; - rbb = "nixos-rebuild boot --fast"; + srb = "nh os"; + rbs = "nh os switch"; + rbb = "nh os boot"; rbr = "nixos-rebuild switch --rollback"; }; }
M user/settings/shell.nix → user/settings/shell.nix
@@ -117,8 +117,8 @@ gmup = "git mup"; grup = "git rup"; ho = "home-manager"; - hob = "home-manager build"; - hos = "home-manager switch -b hm_bak_$(date +%Y%m%d%H%M)"; + hob = "nh home build"; + hos = "nh home switch -b hm_bak_$(date +%Y%m%d%H%M)"; hon = "home-manager news"; hoh = "home-manager help"; hop = "home-manager packages";