simple impl of exposes thingy

This commit is contained in:
Vivian 2023-05-04 15:14:36 +02:00
parent 882b2840d9
commit f9819aa99c
11 changed files with 78 additions and 20 deletions

View file

@ -6,6 +6,7 @@
let
db_name = "hedgedoc";
db_user = "hedgedoc";
inherit (config.meta.exposes.md) port;
vs = config.vault-secrets.secrets;
in {
imports = [ ];
@ -40,7 +41,7 @@ in {
environmentFile = "${vs.hedgedoc}/environment";
settings = {
host = "0.0.0.0";
port = 3000;
inherit port;
sessionSecret = "$SESSION_SECRET";
domain = "md.0x76.dev";
protocolUseSSL = true;