Files
ndots/modules/home-manager/bitwarden-cli/default.nix
T
2026-07-28 16:59:51 -03:00

25 lines
443 B
Nix

{
lib,
config,
pkgs,
...
}:
{
options.custom = {
bitwarden.enable = lib.mkEnableOption "enable bitwarden - CLI password manager";
};
config = lib.mkIf config.custom.bitwarden.enable {
programs.rbw = {
enable = true;
settings = {
email = "me@joaoporta.com";
lock_timeout = 7200;
pinentry = pkgs.pinentry-gnome3;
base_url = "https://pass.joaoporta.com";
};
};
};
}