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,12 +1,13 @@
{ config, lib, ... }:
with lib;
let
rootCfg = config.selfhosted.homarr;
poCfg = config.selfhosted.pocket-id;
rootCfg = config.selfhosted;
moduleCfg = rootCfg.homarr;
poCfg = rootCfg.pocket-id;
oidpDomain = "https://${poCfg.subdomain}.${config.sops.placeholder."domains/serv"}";
in
{
config = mkIf rootCfg.enable {
config = mkIf moduleCfg.enable {
sops.templates."homarr.env" = {
content = ''
SECRET_ENCRYPTION_KEY=${config.sops.placeholder."homarr/enc_key"}