File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
nixos/modules/services/web-apps Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ with lib;
44let
55 cfg = config . services . freshrss ;
66
7- poolName = "freshrss" ;
8-
97 extension-env = pkgs . buildEnv {
108 name = "freshrss-extensions" ;
119 paths = cfg . extensions ;
141139 } ;
142140
143141 pool = mkOption {
144- type = types . str ;
145- default = poolName ;
142+ type = types . nullOr types . str ;
143+ default = "freshrss" ;
146144 description = ''
147145 Name of the php-fpm pool to use and setup. If not specified, a pool will be created
148146 with default values.
235233 } ;
236234
237235 # Set up phpfpm pool
238- services . phpfpm . pools = mkIf ( cfg . pool == poolName ) {
239- ${ poolName } = {
236+ services . phpfpm . pools = mkIf ( cfg . pool != null ) {
237+ ${ cfg . pool } = {
240238 user = "freshrss" ;
241239 settings = {
242240 "listen.owner" = "nginx" ;
You can’t perform that action at this time.
0 commit comments