This commit is contained in:
2025-09-12 14:42:50 +03:00
parent 9f0472cd8f
commit 5d67e07719

View File

@@ -97,13 +97,13 @@ in
createLocally = false;
user = "noreply.mastodon@${sp.domain}";
fromAddress = "noreply.mastodon@${sp.domain}";
passwordFile = "/var/lib/mastodon/secrets/smtp-password";
passwordFile = "";
authenticate = true;
};
};
mailserver.loginAccounts."noreply.mastodon@${sp.domain}" = {
hashedPassword = "";
hashedPassword = "/run/keys/mastodon/email_password";
sendOnly = true;
};
@@ -144,10 +144,10 @@ in
'';
};
environment = {
OIDC_ENABLED = true;
OIDC_ENABLED = "true";
OIDC_DISPLAY_NAME= "Kanidm";
OIDC_ISSUER = issuer;
OIDC_DISCOVERY = toString "true";
OIDC_DISCOVERY = "true";
OIDC_SCOPE = "openid,profile";
OIDC_UID_FIELD = "sub";
OIDC_CLIENT_ID = oauthClientID;