diff --git a/pixelfed.nix b/pixelfed.nix index 03b6d616..5649018c 100644 --- a/pixelfed.nix +++ b/pixelfed.nix @@ -47,4 +47,10 @@ in AWS_ENDPOINT = "http://s3.garage.localhost:3900"; AWS_USE_PATH_STYLE_ENDPOINT = false; }; + + ## Only ever run `pixelfed-data-setup` after `ensure-garage` has done its job. + ## Otherwise, everything crashed dramatically. + systemd.services.pixelfed-data-setup = { + after = [ "ensure-garage.service" ]; + }; }