diff --git a/mastus/ttrss.nix b/mastus/ttrss.nix index 4d6ca4c..81c23d3 100644 --- a/mastus/ttrss.nix +++ b/mastus/ttrss.nix @@ -18,6 +18,8 @@ enable = true; user = "ttrss"; + pool = "ttrss"; + database = { type = "pgsql"; host = "localhost"; @@ -35,10 +37,9 @@ log_level = notice ''; - pools = { - ttrss = { - listen = "9000"; - extraConfig = '' + poolConfigs = { + ttrss = '' + listen = 9000 user = ttrss pm = dynamic pm.max_children = 75 @@ -47,8 +48,7 @@ pm.max_spare_servers = 20 pm.max_requests = 500 catch_workers_output = 1 - ''; - }; + ''; }; };