This commit is contained in:
Joakim Repomaa
2025-02-07 20:27:53 +02:00
committed by Joakim Repomaa
parent e0d0c12a8e
commit 6a5789d45b
12 changed files with 27 additions and 33 deletions

View File

@@ -1,6 +1,7 @@
{ lib, ... }:
let
fqdn = "pw.freun.dev";
port = 8000;
in
{
services.vaultwarden = {
@@ -21,10 +22,11 @@ in
SMTP_PORT = 587;
HELO_NAME = "freun.dev";
ROCKET_LIMITS = "{json=10485760}";
ROCKET_PORT = port;
};
};
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://127.0.0.1:8000";
modules.webserver.vHosts.${fqdn}.locations."/".proxyPort = port;
services.postgresql = {
ensureDatabases = [ "vaultwarden" ];