Small modules config restructure
Changed variables names in every module
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user