This commit is contained in:
soraefir
2026-05-10 22:21:02 +02:00
parent 93199b4359
commit 6bf856b702
3 changed files with 10 additions and 10 deletions

View File

@@ -125,11 +125,11 @@ in {
${lib.optionalString (serverCfg.containers ? ethercalc) ''
$OCC config:app:set ownpad ownpad_ethercalc_enable --value="yes"
$OCC config:app:set ownpad ownpad_ethercalc_host --value="https:\/\/${serverCfg.containers.ethercalc.subdomain}.${serverCfg.hostDomain}"
$OCC config:app:set ownpad ownpad_ethercalc_host --value="https://${serverCfg.containers.ethercalc.subdomain}.${serverCfg.hostDomain}"
''}
${lib.optionalString (serverCfg.containers ? etherpad) ''
$OCC config:app:set ownpad ownpad_etherpad_enable --value="yes"
$OCC config:app:set ownpad ownpad_etherpad_host --value="https:\/\/${serverCfg.containers.etherpad.subdomain}.${serverCfg.hostDomain}"
$OCC config:app:set ownpad ownpad_etherpad_host --value="https://${serverCfg.containers.etherpad.subdomain}.${serverCfg.hostDomain}"
''}
${lib.optionalString (serverCfg.containers ? collabora) ''
$OCC config:app:set richdocuments wopi_url --value="https://${serverCfg.containers.collabora.subdomain}.${serverCfg.hostDomain}/"

View File

@@ -46,14 +46,14 @@ entries:
# --- ADMIN USERS ---
- model: authentik_core.user
identifiers:
username: "{{ env('DEFAULT_ADMIN_USERNAME') }}"
username: !Env DEFAULT_ADMIN_USERNAME
attrs:
name: "{{ env('DEFAULT_ADMIN_USERNAME') }}"
email: "{{ env('DEFAULT_ADMIN_USERNAME') }}@{{ env('DOMAIN') }}"
password: "{{ env('DEFAULT_ADMIN_PASSWORD') }}"
name: !Env DEFAULT_ADMIN_USERNAME
email: !Env DEFAULT_ADMIN_EMAIL
password: !Env DEFAULT_ADMIN_PASSWORD
path: "users"
groups:
- name: !Find [authentik_core.group, [name, "authentik Admins"]]
- !Find [authentik_core.group, [name, "authentik Admins"]]
# Disable the Initial Setup Flow
- model: authentik_flows.flow