This commit is contained in:
2025-09-12 15:02:04 +03:00
parent 7a47507277
commit e5b10038b2

View File

@@ -139,8 +139,7 @@ in
serviceConfig = { serviceConfig = {
loadCredentials = ["client-secret:${oauthClientSecretFP}"]; loadCredentials = ["client-secret:${oauthClientSecretFP}"];
ExecStart = lib.mkForce '' ExecStart = lib.mkForce ''
export CLIENT_SECRET=$(cat $CREDENTIALS_DIRECTORY/client-secret) CLIENT_SECRET=$(cat $CREDENTIALS_DIRECTORY/client-secret) ${config.services.mastodon.package}/bin/puma -C config/puma.rb`
${config.services.mastodon.package}/bin/puma -C config/puma.rb`
''; '';
}; };
environment = { environment = {