nix/host/x86_64-linux/home/Vaultwarden.nix

16 lines
381 B
Nix
Raw Normal View History

2024-12-02 21:12:45 +03:00
{ ... }: {
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;
};
};
}