selfprivacy-nixos-config/passmgr/bitwarden.nix

17 lines
333 B
Nix
Raw Normal View History

2021-11-15 12:02:05 +02:00
{ pkgs, config, ... }:
let
cfg = config.services.userdata;
in
{
services.bitwarden_rs = {
enable = cfg.bitwarden.enable;
dbBackend = "sqlite";
backupDir = "/var/lib/bitwarden/backup";
2021-11-15 12:02:05 +02:00
config = {
domain = "https://password.${cfg.domain}/";
signupsAllowed = true;
rocketPort = 8222;
};
};
}