From 35fde8f98a1cc1933bf693c9575e20bd6781b03f Mon Sep 17 00:00:00 2001 From: eyjhb Date: Thu, 22 Aug 2024 21:51:22 +0200 Subject: [PATCH] gerd.nextcloud: fixed hardcoded authelia url --- machines/gerd/services/hedgedoc.nix | 1 - machines/gerd/services/nextcloud.nix | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/machines/gerd/services/hedgedoc.nix b/machines/gerd/services/hedgedoc.nix index 594cb1d..596b6d7 100644 --- a/machines/gerd/services/hedgedoc.nix +++ b/machines/gerd/services/hedgedoc.nix @@ -50,7 +50,6 @@ in { locations."/".proxyPass = "http://localhost:${builtins.toString config.services.hedgedoc.settings.port}"; }; - mine.shared.meta.hedgedoc = { name = "Hedgedoc"; description = "We host our own Hedgedoc for writing small documents, and sharing with others. Login using your credentials."; diff --git a/machines/gerd/services/nextcloud.nix b/machines/gerd/services/nextcloud.nix index 94fa767..5c0d230 100644 --- a/machines/gerd/services/nextcloud.nix +++ b/machines/gerd/services/nextcloud.nix @@ -155,7 +155,7 @@ in { # settings settings = { # open connect/oidc - oidc_login_provider_url = "https://auth.fricloud.dk"; + oidc_login_provider_url = "https://${config.mine.shared.settings.authelia.domain}"; oidc_login_client_id = AUTHELIA_AUTH_NAME; # oidc_login_client_secret = ""; oidc_login_proxy_ldap = true; # SUPER IMPORTANT!