nixos/mastodon: fix tootctl runtime path (#522489)

This commit is contained in:
Kerstin Humm
2026-05-21 10:50:03 +00:00
committed by GitHub
@@ -145,9 +145,11 @@ let
pkgs.writeShellScriptBin "mastodon-tootctl" ''
set -a
export RAILS_ROOT="${cfg.package}"
export HOME="/var/lib/mastodon"
source "${envFile}"
source /var/lib/mastodon/.secrets_env
${sourceExtraEnv}
cd /var/lib/mastodon
sudo=exec
if [[ "$USER" != ${cfg.user} ]]; then