diff --git a/module.nix b/module.nix index cd39803..5d63953 100644 --- a/module.nix +++ b/module.nix @@ -130,7 +130,7 @@ in services.mastodon-web = { unitConfig.RequiresMountsFor = lib.mkIf sp.useBinds "/volumes/${cfg.location}/mastodon"; serviceConfig = { - loadCredentials = ["client-secret:${oauthClientSecretFP}"]; + LoadCredentials = ["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