diff --git a/modules/server/containers/apps/gitea.nix b/modules/server/containers/apps/gitea.nix index 4882c1e..ff2d417 100644 --- a/modules/server/containers/apps/gitea.nix +++ b/modules/server/containers/apps/gitea.nix @@ -118,7 +118,7 @@ in { $GT admin user create --username "$DEFAULT_ADMIN_USERNAME" --password "$DEFAULT_ADMIN_PASSWORD" --email "$DEFAULT_ADMIN_EMAIL" --admin || true touch ${serverCfg.dataPath}/gitea/data-runner/config.yml - + RUNNER_TOKEN=$($GT actions generate-runner-token) $GTR register \ --instance "https://${containerCfg.subdomain}.${serverCfg.hostDomain}" \ @@ -131,7 +131,7 @@ in { ${lib.optionalString (serverCfg.containers ? authentik) '' # --port 636 $GT admin add_ldap --id 1 --name Authentik --host "authentik-ldap" --port 3389 --security-protocol "unencrypted" \ - --bind-dn "cn=ldap-service,ou=users,${LDAP_DC_DOMAIN}" --bind-password $LDAP_PASSWORD \ + --bind-dn "cn=ldap-service,ou=users,${LDAP_DC_DOMAIN}" --bind-password $DEFAULT_LDAP_PASSWORD \ --user-search-base "ou=users,${LDAP_DC_DOMAIN}" --user-filter "(|(username=%s)(email=%s))" \ --username-attribute "username" --firstname-attribute "givenName" --surname-attribute "sn" --email-attribute "mail" \ --synchronize-users