feat: stuff

This commit is contained in:
uttarayan21
2024-06-08 22:46:28 +05:30
parent 1f0664ae1d
commit d02241ac85
3 changed files with 215 additions and 130 deletions

View File

@@ -2,6 +2,7 @@
pkgs,
device,
lib,
inputs,
...
}:
lib.attrsets.optionalAttrs device.hasGui {
@@ -10,6 +11,8 @@ lib.attrsets.optionalAttrs device.hasGui {
# neovide
]
++ lib.optionals device.isLinux [
_1password
_1password-gui
bitwarden
discord
bottles
@@ -36,5 +39,17 @@ lib.attrsets.optionalAttrs device.hasGui {
webcord-vencord
spotify
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];
};
};
}