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