Make nextcloud go to keycloak when not authorized
Change-Id: I234e888752526475f4c72da7479023fcd14a1ee9
diff --git a/modules/nextcloud.nix b/modules/nextcloud.nix
index 9ae147a..0dc27bc 100644
--- a/modules/nextcloud.nix
+++ b/modules/nextcloud.nix
@@ -38,6 +38,10 @@
extraTrustedDomains = [ "nextcloud.clicks.codes" "docs.clicks.codes" ];
};
+ services.nextcloud.extraConfig = {
+ social_login_auto_redirect = true;
+ };
+
services.nextcloud.extraApps = {
sociallogin = pkgs.fetchNextcloudApp {
url = "https://github.com/zorn-v/nextcloud-social-login/releases/download/v5.5.3/release.tar.gz";