Files
dotfiles/common/auth.nix
2024-06-27 00:33:03 +05:30

18 lines
466 B
Nix

{
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 cargo];
};
};
}