17 lines
380 B
Nix
17 lines
380 B
Nix
{ ... }:
|
|
{
|
|
services.vaultwarden = {
|
|
enable = true;
|
|
dbBackend = "sqlite";
|
|
environmentFile = "/var/lib/vaultwarden/Env";
|
|
config = {
|
|
DATA_FOLDER = "/var/lib/vaultwarden";
|
|
DOMAIN = "https://pass.voronind.com";
|
|
# ROCKET_ADDRESS = cfg.address;
|
|
ROCKET_PORT = 8001;
|
|
SIGNUPS_ALLOWED = false;
|
|
WEB_VAULT_ENABLED = true;
|
|
};
|
|
};
|
|
}
|