sincerity.network/nixos/vault-warden.nix

28 lines
528 B
Nix
Raw Permalink Normal View History

{ pkgs, ... }:
{
services.vaultwarden = {
enable = true;
config = {
2022-10-03 01:17:07 -07:00
domain = "https://vault.sincerity.network";
signupsAllowed = true;
2022-10-03 01:17:07 -07:00
rocketPort = 3011;
rocketLog = "critical";
};
dbBackend = "sqlite";
};
2022-10-03 01:17:07 -07:00
services.nginx = {
virtualHosts."vault.sincerity.network" = {
2022-10-03 01:18:44 -07:00
enableACME = true;
2022-10-03 01:17:07 -07:00
forceSSL = true;
extraConfig = ''
client_max_body_size 128M;
'';
locations."/" = {
proxyPass = "http://localhost:3011";
};
};
};
}