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,12 +1,12 @@
|
||||
{ config, lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
rootCfg = config.selfhosted.pocket-id;
|
||||
moduleCfg = config.selfhosted.pocket-id;
|
||||
in
|
||||
{
|
||||
config = mkIf rootCfg.enable {
|
||||
config = mkIf moduleCfg.enable {
|
||||
sops.templates."pocket-id.env".content = ''
|
||||
APP_URL=https://${rootCfg.subdomain}.${config.sops.placeholder."domains/serv"}
|
||||
APP_URL=https://${moduleCfg.subdomain}.${config.sops.placeholder."domains/serv"}
|
||||
ENCRYPTION_KEY=${config.sops.placeholder."pocket_id/enc_key"}
|
||||
TRUST_PROXY=true
|
||||
ANALYTICS_DISABLED=true
|
||||
|
||||
Reference in new issue
Block a user