Sovran_SystemsOS/modules/vaultwarden.nix

21 lines
448 B
Nix

{ config, pkgs, lib, ... }:
let
personalization = import ./personalization.nix;
in
{
services.vaultwarden = {
enable = true;
config = {
DOMAIN = "https://${personalization.vaultwarden_url}";
SIGNUPS_ALLOWED = false;
ROCKET_ADDRESS = "127.0.0.1";
ROCKET_PORT = 8777;
ROCKET_LOG = "critical";
};
dbBackend = "sqlite";
environmentFile = "/var/lib/secrets/vaultwarden/";
};
}