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.nix17
2 files changed, 7 insertions, 14 deletions
diff --git a/user/settings/darwin.nix b/user/settings/darwin.nix
index 1086452c..c3a89a17 100644
--- a/user/settings/darwin.nix
+++ b/user/settings/darwin.nix
@@ -130,8 +130,8 @@
   };
 
   programs.zsh.shellAliases = {
-    da = "darwin-rebuild";
-    das = "darwin-rebuild switch";
+    rb = "darwin-rebuild";
+    rbs = "darwin-rebuild switch --flake $(ghq list -p nixfiles)";
 
     drill = "command dig +noall +answer";
     dig = "dig +noall +answer";
diff --git a/user/settings/nixos.nix b/user/settings/nixos.nix
index 62f18f96..fc8362b9 100644
--- a/user/settings/nixos.nix
+++ b/user/settings/nixos.nix
@@ -1,7 +1,4 @@
-{ config
-, pkgs
-, ...
-}: {
+{ ... }: {
   imports = [
     ./nix.nix
     ./nixpkgs.nix
@@ -9,14 +6,10 @@
 
   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";
+      srb = "sudo nixos-rebuild";
+      rbs = "sudo nixos-rebuild switch --fast";
+      rbb = "sudo nixos-rebuild boot";
+      rbr = "sudo nixos-rebuild switch --rollback";
     };
   };
 }