summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/fish.nix2
-rw-r--r--user/settings/nixos.nix8
2 files changed, 5 insertions, 5 deletions
diff --git a/user/settings/fish.nix b/user/settings/fish.nix
index 7e144e05..0101178c 100644
--- a/user/settings/fish.nix
+++ b/user/settings/fish.nix
@@ -25,7 +25,7 @@
       ];
     # TODO: pre-generate nix-your-shell
     interactiveShellInit = ''
-      ${pkgs.nix-your-shell}/bin/nix-your-shell fish | source
+      ${pkgs.nix-your-shell}/bin/nix-your-shell --nom env fish | source
       bind \es __ghq_repository_search
       # don't bind ctrl-t, it does nice things on macOS/BSD
       set FZF_CTRL_T_COMMAND
diff --git a/user/settings/nixos.nix b/user/settings/nixos.nix
index bae37c56..d30d6a3d 100644
--- a/user/settings/nixos.nix
+++ b/user/settings/nixos.nix
@@ -5,9 +5,9 @@
   ];
 
   home.shellAliases = {
-    srb = "sudo nixos-rebuild";
-    rbs = "sudo nixos-rebuild switch --fast";
-    rbb = "sudo nixos-rebuild boot";
-    rbr = "sudo nixos-rebuild switch --rollback";
+    srb = "nh os";
+    rbs = "nh os switch --fast";
+    rbb = "nh os boot";
+    rbr = "nh os switch --rollback";
   };
 }