29 lines
458 B
Nix
29 lines
458 B
Nix
{
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
facts = config.facts;
|
|
account = facts.account;
|
|
in
|
|
{
|
|
flake.modules.homeManager.passwords =
|
|
{
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
pinentryPackage = pkgs.pinentry-gnome3;
|
|
in
|
|
{
|
|
programs.rbw = {
|
|
enable = true;
|
|
settings = {
|
|
base_url = facts.services.vaultwarden.url;
|
|
email = account.primaryEmail.address;
|
|
pinentry = pinentryPackage;
|
|
};
|
|
};
|
|
};
|
|
}
|