From 0c0b5bb29a14b9c75f6581dd9e5fd0647f5c0879 Mon Sep 17 00:00:00 2001 From: Thary Date: Fri, 12 Sep 2025 16:45:49 +0300 Subject: [PATCH] fix --- module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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