{ 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"; }; }; }