marleyos/modules/home/programs/rbw/default.nix
2024-11-16 19:38:57 -08:00

23 lines
341 B
Nix

{
lib,
config,
namespace,
...
}:
let
inherit (lib) mkIf;
inherit (lib.${namespace}) mkEnableModule;
cfg = config.${namespace}.programs.rbw;
in
{
options = mkEnableModule "programs.rbw";
config = mkIf cfg.enable {
programs.rbw = {
enable = true;
settings.email = "bitwarden@punkfairie.net";
};
};
}