all repos — nixfiles @ 7a87023d2a4af9600080411ea82fd46cb798e194

System and user configuration, managed by nix and home-manager

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
commit

7a87023d2a4af9600080411ea82fd46cb798e194

parent

8389bc986343a23cec629ea806e2ddb47191c552

3 files changed, 7 insertions(+), 7 deletions(-)

jump to
M user/settings/darwin.nixuser/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.nixuser/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.nixuser/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";