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,16 +1,17 @@
{ config, lib, ... }:
with lib;
let
cfg = config.selfhosted.zerobyte;
rootCfg = config.selfhosted;
moduleCfg = rootCfg.zerobyte;
domain = "${config.sops.placeholder."domains/serv"}";
zerobyteDomain = "${cfg.subdomain}.${domain}";
zerobyteDomain = "${moduleCfg.subdomain}.${domain}";
trustedOrigins = [
"https://${zerobyteDomain}"
"https://${config.selfhosted.pocket-id.subdomain}.${domain}"
"https://${rootCfg.pocket-id.subdomain}.${domain}"
];
in
{
config = mkIf cfg.enable {
config = mkIf moduleCfg.enable {
sops.secrets = {
"zerobyte/app_secret" = { };
};