feat: Added auth.nix
This commit is contained in:
17
common/auth.nix
Normal file
17
common/auth.nix
Normal 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];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user