about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--home/profiles/base/default.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix
index cc6a9ce..a2e44c9 100644
--- a/home/profiles/base/default.nix
+++ b/home/profiles/base/default.nix
@@ -162,7 +162,7 @@ in
             };
           }
 
-          {
+          (lib.mkIf pkgs.stdenv.isLinux {
             name = "doas-zsh-plugin";
             src = pkgs.fetchFromGitHub {
               owner = "anatolykopyl";
@@ -171,6 +171,18 @@ in
               sha256 = "sha256-10rcF9cho9GuZCFQVIdFjvHCAlTLHNaLY4twxjT2jcE=";
             };
             file = "doas.plugin.zsh";
+          })
+
+          (lib.mkIf pkgs.stdenv.isDarwin {
+            name = "sudo-zsh-plugin";
+            src = pkgs.oh-my-zsh.src;
+            file = "plugins/sudo/sudo.plugin.zsh";
+          })
+
+          {
+            name = "zsh-vi-mode";
+            src = pkgs.zsh-vi-mode;
+            file = "share/zsh-vi-mode/zsh-vi-mode.plugin.zsh";
           }
         ];