Compare commits

...

2 Commits

Author SHA1 Message Date
e6db25d6e9 fix 2025-09-12 16:46:24 +03:00
0c0b5bb29a fix 2025-09-12 16:45:49 +03:00

View File

@@ -130,7 +130,7 @@ in
services.mastodon-web = {
unitConfig.RequiresMountsFor = lib.mkIf sp.useBinds "/volumes/${cfg.location}/mastodon";
serviceConfig = {
loadCredentials = ["client-secret:${oauthClientSecretFP}"];
LoadCredential = ["client-secret:${oauthClientSecretFP}"];
ExecStart = lib.mkForce (pkgs.writeShellScript "run-mastodon-with-client-secret" ''
export CLIENT_SECRET=$(cat $CREDENTIALS_DIRECTORY/client-secret)
${config.services.mastodon.package}/bin/puma -C config/puma.rb