summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/settings/nixos.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/user/settings/nixos.nix b/user/settings/nixos.nix
index 64b523b8..cf098b21 100644
--- a/user/settings/nixos.nix
+++ b/user/settings/nixos.nix
@@ -14,8 +14,12 @@
 
   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";
   };
 }