This commit is contained in:
Reid 2024-06-23 20:09:06 -07:00
parent aa522c199b
commit c699350a18
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
5 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.modules.software.tools.rbw;
in {
options.modules.software.tools.rbw = {
enable = mkEnableOption "Enable rbw, a CLI Bitwarden frontend";
};
config = mkIf cfg.enable {
hm.programs.rbw = {
enable = true;
settings.email = "reidlab325@gmail.com";
settings.lock_timeout = 60 * 60 * 24 * 7; # 1 week
settings.pinentry = pkgs.pinentry-gnome3;
};
};
}