refactor
This commit is contained in:
committed by
Joakim Repomaa
parent
e0d0c12a8e
commit
6a5789d45b
@@ -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" ];
|
||||
|
||||
Reference in New Issue
Block a user