summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2019-11-11 11:20:43 +0100
committerAlan Pearce2019-11-11 11:20:43 +0100
commitc5baab42e00a96f1cad8e2dd39aa1d6e5fb6cd17 (patch)
tree2755ce2c81d616846ceff635ad9d63e34a637691 /user/settings
parent12e113b5d793120df131473e8dd96e385e6be2e6 (diff)
parentb53a05c7a0941ce8b7a480d9cbf317578dbac031 (diff)
downloadnixfiles-c5baab42e00a96f1cad8e2dd39aa1d6e5fb6cd17.tar.lz
nixfiles-c5baab42e00a96f1cad8e2dd39aa1d6e5fb6cd17.tar.zst
nixfiles-c5baab42e00a96f1cad8e2dd39aa1d6e5fb6cd17.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/nixos.nix21
1 files changed, 12 insertions, 9 deletions
diff --git a/user/settings/nixos.nix b/user/settings/nixos.nix
index de415b55..79f9ca93 100644
--- a/user/settings/nixos.nix
+++ b/user/settings/nixos.nix
@@ -6,14 +6,17 @@
     ./nixpkgs.nix
   ];
 
-  programs.zsh.shellAliases = {
-    nor = "nixos-rebuild";
-    snor = "sudo nixos-rebuild";
-    nors = "nixos-rebuild switch";
-    snors = "sudo nixos-rebuild switch";
-    norb = "nixos-rebuild boot";
-    snorb = "sudo nixos-rebuild boot";
-    norr = "nixos-rebuild switch --rollback";
-    snorr = "sudo nixos-rebuild switch --rollback";
+  programs.zsh = {
+    enableGlobalCompInit = false;
+    shellAliases = {
+      nor = "nixos-rebuild";
+      snor = "sudo nixos-rebuild";
+      nors = "nixos-rebuild switch";
+      snors = "sudo nixos-rebuild switch";
+      norb = "nixos-rebuild boot";
+      snorb = "sudo nixos-rebuild boot";
+      norr = "nixos-rebuild switch --rollback";
+      snorr = "sudo nixos-rebuild switch --rollback";
+    };
   };
 }