diff --git a/modules/machine/yshtola/configuration.nix b/modules/machine/yshtola/configuration.nix index c4f4270..93155ee 100644 --- a/modules/machine/yshtola/configuration.nix +++ b/modules/machine/yshtola/configuration.nix @@ -193,13 +193,13 @@ in { # 3. Write the Application ID → /var/lib/tuwunel/mastodon-oauth-client-id (chmod 400, owned by tuwunel) # Write the Client Secret → /var/lib/tuwunel/mastodon-oauth-client-secret # 4. nixos-rebuild switch (or restart tuwunel.service) - oidc_providers = [ + identity_provider= [ { - issuer = "https://${mastodonFqdn}"; + issuer_url = "https://${mastodonFqdn}"; id = "oidc-mastodon"; - client_id_file = mastodonOauthClientIdFile; - client_secret_file = mastodonOauthClientSecretFile; - scopes = ["openid" "read:accounts"]; + client_id = mastodonOauthClientIdFile; + client_secret = mastodonOauthClientSecretFile; + scope = ["openid" "read:accounts"]; } ]; };