Merge pull request #243199 from adisbladis/nixos-lemmy-config

nixos/lemmy: Fix pictrs config

authored by

adisbladis and committed by
GitHub
6a05eeb5 eaeb62a8

+4 -1
+4 -1
nixos/modules/services/web-apps/lemmy.nix
··· 90 90 { 91 91 bind = "127.0.0.1"; 92 92 tls_enabled = true; 93 - pictrs_url = with config.services.pict-rs; "http://${address}:${toString port}"; 93 + pictrs = { 94 + url = with config.services.pict-rs; "http://${address}:${toString port}"; 95 + }; 94 96 actor_name_max_length = 20; 95 97 96 98 rate_limit.message = 180; ··· 253 255 LEMMY_UI_LEMMY_INTERNAL_HOST = "127.0.0.1:${toString cfg.settings.port}"; 254 256 LEMMY_UI_LEMMY_EXTERNAL_HOST = cfg.settings.hostname; 255 257 LEMMY_UI_HTTPS = "false"; 258 + NODE_ENV = "production"; 256 259 }; 257 260 258 261 documentation = [