From b509339c54ffa724d4f047f55a382e941d00388c Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 10 Jan 2025 21:53:30 +0400 Subject: [PATCH] lmao --- modules/server/fedi/akkoma/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/modules/server/fedi/akkoma/default.nix b/modules/server/fedi/akkoma/default.nix index d4daee58..0f472bd9 100644 --- a/modules/server/fedi/akkoma/default.nix +++ b/modules/server/fedi/akkoma/default.nix @@ -180,8 +180,15 @@ in { serviceConfig = { WorkingDirectory = state; Type = "oneshot"; - ExecStart = "${pkgs.fedifetcher}/bin/fedifetcher" - + " --config ${configPath}" + " --state-dir ${state}"; + ExecStart = '' + ${ + (pkgs.fedifetcher.overrideAttrs (old: { + patches = old.patches or [ ] + ++ [ ../../../../overlays/plsbackfill.diff ]; + })) + })) + }/bin/fedifetcher'' + " --config ${configPath}" + + " --state-dir ${state}"; User = "fedifetcher"; Group = "fedifetcher"; };