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

View File

@@ -8,10 +8,10 @@
lib.attrsets.optionalAttrs device.hasGui {
home.packages = with pkgs;
[
_1password
# neovide
]
++ lib.optionals device.isLinux [
_1password
_1password-gui
bitwarden
discord
@@ -41,15 +41,4 @@ lib.attrsets.optionalAttrs device.hasGui {
wl-clipboard
];
# 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; [gh awscli2 cachix];
};
};
}