diff --git a/hosts/plover/modules/services/keycloak.nix b/hosts/plover/modules/services/keycloak.nix index 45ab66eb..274de24e 100644 --- a/hosts/plover/modules/services/keycloak.nix +++ b/hosts/plover/modules/services/keycloak.nix @@ -76,8 +76,9 @@ in keycloakPath = path: "http://localhost:${toString config.services.keycloak.settings.http-port}"; in lib.listToAttrs - (appPath: lib.nameValuePair appPath { proxyPass = keycloakPath appPath; }) - [ "/js/" "/realms/" "/resources/" "/robots.txt" ]; + (lib.lists.map + (appPath: lib.nameValuePair appPath { proxyPass = keycloakPath appPath; }) + [ "/js/" "/realms/" "/resources/" "/robots.txt" ]); }; # Configuring fail2ban for this services which is only present as a neat