yep, more dotfiles

server: fix grafana oauth config

wiro.world 622b7a3e f61e2711

verified
Changed files
+2 -4
nixos
profiles
+2 -4
nixos/profiles/server.nix
···
server = {
http_port = grafana-port;
domain = grafana-hostname;
+
root_url = "https://${grafana-hostname}";
};
-
"auth.generic_auth" = {
+
"auth.generic_oauth" = {
enable = true;
name = "Authelia";
icon = "signin";
···
auth_url = "https://auth.wiro.world/api/oidc/authorization";
token_url = "https://auth.wiro.world/api/oidc/token";
api_url = "https://auth.wiro.world/api/oidc/userinfo";
-
login_attribute_path = "preferred_username";
-
groups_attribute_path = "groups";
-
name_attribute_path = "name";
use_pkce = true;
};
};