Merge pull request #243199 from adisbladis/nixos-lemmy-config
nixos/lemmy: Fix pictrs config
This commit is contained in:
commit
6a05eeb515
1 changed files with 4 additions and 1 deletions
|
@ -90,7 +90,9 @@ in
|
|||
{
|
||||
bind = "127.0.0.1";
|
||||
tls_enabled = true;
|
||||
pictrs_url = with config.services.pict-rs; "http://${address}:${toString port}";
|
||||
pictrs = {
|
||||
url = with config.services.pict-rs; "http://${address}:${toString port}";
|
||||
};
|
||||
actor_name_max_length = 20;
|
||||
|
||||
rate_limit.message = 180;
|
||||
|
@ -253,6 +255,7 @@ in
|
|||
LEMMY_UI_LEMMY_INTERNAL_HOST = "127.0.0.1:${toString cfg.settings.port}";
|
||||
LEMMY_UI_LEMMY_EXTERNAL_HOST = cfg.settings.hostname;
|
||||
LEMMY_UI_HTTPS = "false";
|
||||
NODE_ENV = "production";
|
||||
};
|
||||
|
||||
documentation = [
|
||||
|
|
Loading…
Reference in a new issue