diff --git a/module.nix b/module.nix index 5d63953..184a3f7 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}"]; + 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