summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-11-10 20:14:20 +0100
committerAlan Pearce2024-11-10 20:14:20 +0100
commit7a87023d2a4af9600080411ea82fd46cb798e194 (patch)
treedb876802d26a0b96cd83125056dca81080f855bd
parent8389bc986343a23cec629ea806e2ddb47191c552 (diff)
downloadnixfiles-7a87023d2a4af9600080411ea82fd46cb798e194.tar.lz
nixfiles-7a87023d2a4af9600080411ea82fd46cb798e194.tar.zst
nixfiles-7a87023d2a4af9600080411ea82fd46cb798e194.zip
Revert "disable `nh` aliases for better interoperability with deflake branch"
This reverts commit 1bf2bcbef0ec4f2333b88b976eaeabd9dba31242.
-rw-r--r--user/settings/darwin.nix4
-rw-r--r--user/settings/nixos.nix6
-rw-r--r--user/settings/shell.nix4
3 files changed, 7 insertions, 7 deletions
diff --git a/user/settings/darwin.nix b/user/settings/darwin.nix
index e894bebd..1a30a870 100644
--- a/user/settings/darwin.nix
+++ b/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";
 
diff --git a/user/settings/nixos.nix b/user/settings/nixos.nix
index 85ea7f72..c6b50263 100644
--- a/user/settings/nixos.nix
+++ b/user/settings/nixos.nix
@@ -5,9 +5,9 @@
   ];
 
   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";
   };
 }
diff --git a/user/settings/shell.nix b/user/settings/shell.nix
index 0335e23e..0b232d0e 100644
--- a/user/settings/shell.nix
+++ b/user/settings/shell.nix
@@ -117,8 +117,8 @@ in
       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";