mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(keycloak): local sso
This commit is contained in:
parent
b16d6faee7
commit
f0b5811915
3 changed files with 27 additions and 2 deletions
14
packages/nixpkgs-keycloak-nullhostname.patch
Normal file
14
packages/nixpkgs-keycloak-nullhostname.patch
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
diff --git a/nixos/modules/services/web-apps/keycloak.nix b/nixos/modules/services/web-apps/keycloak.nix
|
||||
--- a/nixos/modules/services/web-apps/keycloak.nix
|
||||
+++ b/nixos/modules/services/web-apps/keycloak.nix
|
||||
@@ -480,10 +480,6 @@ in
|
||||
assertion = createLocalPostgreSQL -> config.services.postgresql.settings.standard_conforming_strings or true;
|
||||
message = "Setting up a local PostgreSQL db for Keycloak requires `standard_conforming_strings` turned on to work reliably";
|
||||
}
|
||||
- {
|
||||
- assertion = cfg.settings.hostname != null || cfg.settings.hostname-url or null != null;
|
||||
- message = "Setting the Keycloak hostname is required, see `services.keycloak.settings.hostname`";
|
||||
- }
|
||||
{
|
||||
assertion = !(cfg.settings.hostname != null && cfg.settings.hostname-url or null != null);
|
||||
message = "`services.keycloak.settings.hostname` and `services.keycloak.settings.hostname-url` are mutually exclusive";
|
||||
Loading…
Add table
Add a link
Reference in a new issue