chore(nix): add OIDC app and webfinger redirect for Nextcloud

- Added OIDC app to Nextcloud with specific URL, SHA256, and license configuration for authentication support.
- Configured Nginx to redirect `.well-known/webfinger` to Nextcloud for improved compatibility.
- Updated Nextcloud settings to include `overwrite.cli.url` for proper URL handling.
This commit is contained in:
Harald Hoyer 2025-11-21 14:52:00 +01:00
parent 325f3bafbe
commit 1f5d2c1ce5
2 changed files with 10 additions and 1 deletions

View file

@ -23,11 +23,17 @@
spreed
tasks
;
oidc = pkgs.fetchNextcloudApp {
sha256 = "sha256-RFlPJFwqv7TEoTZUc2vhP4AB7hh619EQ7vRdM+HDoBw=";
url = "https://github.com/H2CK/oidc/releases/download/1.13.1/oidc-1.13.1.tar.gz";
license = "afl3";
};
};
hostName = "nc.hoyer.xyz";
https = true;
configureRedis = true;
settings = {
"overwrite.cli.url" = "https://nc.hoyer.xyz";
maintenance_window_start = "1";
log_type = "file";
mail_smtpmode = "sendmail";