24 lines
341 B
Nix
24 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";
|
||
|
};
|
||
|
};
|
||
|
}
|