yep, more dotfiles

server: fix grafana oauth config

wiro.world 622b7a3e f61e2711

verified
+2 -4
+2 -4
nixos/profiles/server.nix
··· 293 293 server = { 294 294 http_port = grafana-port; 295 295 domain = grafana-hostname; 296 + root_url = "https://${grafana-hostname}"; 296 297 }; 297 298 298 - "auth.generic_auth" = { 299 + "auth.generic_oauth" = { 299 300 enable = true; 300 301 name = "Authelia"; 301 302 icon = "signin"; ··· 307 308 auth_url = "https://auth.wiro.world/api/oidc/authorization"; 308 309 token_url = "https://auth.wiro.world/api/oidc/token"; 309 310 api_url = "https://auth.wiro.world/api/oidc/userinfo"; 310 - login_attribute_path = "preferred_username"; 311 - groups_attribute_path = "groups"; 312 - name_attribute_path = "name"; 313 311 use_pkce = true; 314 312 }; 315 313 };