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