feat: Added auth.nix

This commit is contained in:
Uttarayan Mondal
2024-06-11 18:09:56 +05:30
parent 83e4ac0554
commit a4b47d1343
4 changed files with 133 additions and 112 deletions

17
common/auth.nix Normal file
View File

@@ -0,0 +1,17 @@
{
pkgs,
inputs,
...
}: {
# import the home-manager module
imports = [inputs._1password-shell-plugins.hmModules.default];
programs = {
_1password-shell-plugins = {
# enable 1Password shell plugins for bash, zsh, and fish shell
enable = true;
# the specified packages as well as 1Password CLI will be
# automatically installed and configured to use shell plugins
plugins = with pkgs; [awscli2 cachix];
};
};
}