mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-23 12:01:27 +00:00
17 lines
333 B
Nix
17 lines
333 B
Nix
{ pkgs, config, ... }:
|
|
let
|
|
cfg = config.services.userdata;
|
|
in
|
|
{
|
|
services.bitwarden_rs = {
|
|
enable = cfg.bitwarden.enable;
|
|
dbBackend = "sqlite";
|
|
backupDir = "/var/lib/bitwarden/backup";
|
|
config = {
|
|
domain = "https://password.${cfg.domain}/";
|
|
signupsAllowed = true;
|
|
rocketPort = 8222;
|
|
};
|
|
};
|
|
}
|