This commit is contained in:
aloslider committed 2026-10-01 13:59:54 +03:00
1 parent 13e407847f
commit 374428658a
80 files changed
+2517 -1058

No files matched your search

@@ -0,0 +1,19 @@
{ config, lib, ... }:
with lib;
let
rootCfg = config.selfhosted.seafile;
cfg = rootCfg.collabora;
domain = config.sops.placeholder."domains/serv";
seafileUrl = "https://${rootCfg.server.subdomain}.${domain}";
in
{
config = mkIf rootCfg.enable {
sops.templates."collabora.env".content = ''
TZ=${config.time.timeZone}
DONT_GEN_SSL_CERT=true
server_name=${cfg.subdomain}.${domain}
aliasgroup1=${seafileUrl}:443
extra_params=--o:ssl.enable=false --o:ssl.termination=true --o:net.frame_ancestors=${seafileUrl} --o:logging.level=warning
'';
};
}