From afb8d56dd6650abee5c014231c76fba63b088e7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=E2=80=9CNiols=E2=80=9D=20Jeannerod?= Date: Wed, 4 Sep 2024 18:30:55 +0200 Subject: [PATCH] DANGEROUSLY fix everything --- pixelfed-vm.nix | 2 +- pixelfed.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pixelfed-vm.nix b/pixelfed-vm.nix index 40f56e5..fe890a8 100644 --- a/pixelfed-vm.nix +++ b/pixelfed-vm.nix @@ -14,7 +14,7 @@ # I feel like this should have an `enable` option and be configured via `services.nginx` rather than mirroring those options in services.pixelfed.nginx # TODO: If that indeed makes sense, upstream it. nginx = { - locations."/storage/".proxyPass = "http://pixelfed.web.garage.localhost:3902/public/"; + # locations."/storage/".proxyPass = "http://pixelfed.web.garage.localhost:3902/public/"; }; }; virtualisation.memorySize = 2048; diff --git a/pixelfed.nix b/pixelfed.nix index 1235215..fe51e72 100644 --- a/pixelfed.nix +++ b/pixelfed.nix @@ -36,6 +36,7 @@ in # TODO: factor these out so we're only defining e.g. s3.garage.localhost and port 3900 in one place services.pixelfed.settings = { + DANGEROUSLY_SET_FILESYSTEM_DRIVER = "s3"; FILESYSTEM_CLOUD = "s3"; PF_ENABLE_CLOUD = true; AWS_ACCESS_KEY_ID = snakeoil_key.id;