use nh for all relevant rebuild operations
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 00:37:08 +0200
3 files changed, 5 insertions(+), 5 deletions(-)
M user/settings/darwin.nix → user/settings/darwin.nix
@@ -112,8 +112,8 @@ }; }; home.shellAliases = { - rb = "darwin-rebuild --flake $(ghq list -p nixfiles)"; - rbs = "rb switch"; + rb = "nh os"; + rbs = "nh os switch"; dig = "dig +noall +answer";
M user/settings/nixos.nix → user/settings/nixos.nix
@@ -8,6 +8,6 @@ home.shellAliases = { srb = "nh os"; rbs = "nh os switch"; rbb = "nh os boot"; - rbr = "nh os switch --rollback"; + 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";