Sovran_SystemsOS/modules/vaultwarden.nix

21 lines
463 B
Nix
Raw Normal View History

2023-06-01 05:47:05 -07:00
{ 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";
2023-06-06 14:49:58 -07:00
environmentFile = "/var/lib/secrets/vaultwarden/vaultwarden.env";
2023-06-01 05:47:05 -07:00
};
}