Small modules config restructure

Changed variables names in every module
This commit is contained in:
aloslider committed 2026-10-31 19:48:50 +03:00
1 parent c1d2e52bf8
commit c92b90e406
83 files changed
+616 -523

No files matched your search

@@ -1,13 +1,13 @@
{ config, lib, ... }:
with lib;
let
rootCfg = config.selfhosted.seafile;
cfg = rootCfg.collabora;
moduleCfg = config.selfhosted.seafile;
cfg = moduleCfg.collabora;
domain = config.sops.placeholder."domains/serv";
seafileUrl = "https://${rootCfg.server.subdomain}.${domain}";
seafileUrl = "https://${moduleCfg.server.subdomain}.${domain}";
in
{
config = mkIf rootCfg.enable {
config = mkIf moduleCfg.enable {
sops.templates."collabora.env".content = ''
TZ=${config.time.timeZone}
DONT_GEN_SSL_CERT=true