diff --git a/pixelfed-vm.nix b/pixelfed-vm.nix index 40f56e54..fe890a8e 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 12352150..fe51e725 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;