nix/graphical/password-manager.nix
2026-02-16 11:32:22 +11:00

20 lines
478 B
Nix

{ pkgs, lib, ... }:
{
user.xdg.config.files."rbw/config.json" = {
generator = lib.generators.toJSON { };
value = {
email = "boss@atagen.co";
pinentry = lib.getExe pkgs.pinentry-qt; # TODO this is fugly
base_url = "https://vault.lobotomise.me";
};
};
# bitwarden ? element ?
nixpkgs.config.permittedInsecurePackages = [
"electron-36.9.5"
];
apps = with pkgs; {
passwordManager = bitwarden-desktop;
passwordCli = rbw;
};
}