From 78644e7fb3865524085a972e0bb3e6ead3ba39e2 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Thu, 16 Feb 2023 21:47:09 +0100 Subject: further akkoma stuff because templating elixir hard … why do we do that, again? But this module has no escape hatch, so I guess I just spend ~twenty minutes on "how do i make an atom" --- flora/services/akkoma.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'flora') diff --git a/flora/services/akkoma.nix b/flora/services/akkoma.nix index 244351f..07a0e70 100644 --- a/flora/services/akkoma.nix +++ b/flora/services/akkoma.nix @@ -70,13 +70,13 @@ in redirect_on_failure = true; }; "Pleroma.Upload" = { - filters = [ + filters = map (pkgs.formats.elixirConf {}).lib.mkAtom [ "Pleroma.Upload.Filter.Exiftool" "Pleroma.Upload.Filter.AnonymizeFilename" "Pleroma.Upload.Filter.Dedupe" ]; }; - "Pleroma.Uploaders.Local".uploads = "/var/lib/akkoma/uploads"; + # "Pleroma.Uploaders.Local".uploads = "/var/lib/akkoma/uploads"; "Pleroma.Repo" = { adapter = "Ecto.Adapters.Postgres"; username = "pleroma"; -- cgit v1.2.3