summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/settings/darwin.nix4
-rw-r--r--user/settings/nixos.nix2
-rw-r--r--user/settings/shell.nix4
3 files changed, 5 insertions, 5 deletions
diff --git a/user/settings/darwin.nix b/user/settings/darwin.nix
index 8655b13f..259a7cce 100644
--- a/user/settings/darwin.nix
+++ b/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";
 
diff --git a/user/settings/nixos.nix b/user/settings/nixos.nix
index d1f57b08..c6b50263 100644
--- a/user/settings/nixos.nix
+++ b/user/settings/nixos.nix
@@ -8,6 +8,6 @@
     srb = "nh os";
     rbs = "nh os switch";
     rbb = "nh os boot";
-    rbr = "nh os switch --rollback";
+    rbr = "nixos-rebuild switch --rollback";
   };
 }
diff --git a/user/settings/shell.nix b/user/settings/shell.nix
index 5358f618..49810a5f 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";