about summary refs log tree commit diff
path: root/home/profiles/base
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-01-20 14:42:46 +0900
committersefidel <contact@sefidel.net>2022-01-20 15:01:34 +0900
commitdc8c63666d0065dd2771c7fa3a897d5c35dd1252 (patch)
tree26f378afb75d61f1d9b99f490a97fb6866f89ecd /home/profiles/base
parent42dba07fb327d2b143aef941d039555833df1e34 (diff)
downloadnixrc-dc8c63666d0065dd2771c7fa3a897d5c35dd1252.tar.gz
nixrc-dc8c63666d0065dd2771c7fa3a897d5c35dd1252.zip
home/base, nixos/alpha: add doas
Diffstat (limited to 'home/profiles/base')
-rw-r--r--home/profiles/base/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix
index 45e8209..8b0b932 100644
--- a/home/profiles/base/default.nix
+++ b/home/profiles/base/default.nix
@@ -150,6 +150,17 @@ in
               sha256 = "03r6hpb5fy4yaakqm3lbf4xcvd408r44jgpv4lnzl9asp4sb9qc0";
             };
           }
+
+          {
+            name = "doas-zsh-plugin";
+            src = pkgs.fetchFromGitHub {
+              owner = "anatolykopyl";
+              repo = "doas-zsh-plugin";
+              rev = "17d0b55ca2acd12f7acc9e38c4ecaf413725be18";
+              sha256 = "sha256-10rcF9cho9GuZCFQVIdFjvHCAlTLHNaLY4twxjT2jcE=";
+            };
+            file = "doas.plugin.zsh";
+          }
         ];
 
         shellAliases = config.programs.zshell.aliases;