Revert "nixos/phpfpm: Remove usage of undefined variable fpmCfg"
This reverts commit 54645ce43a
.
This commit is contained in:
parent
8f6c65fa04
commit
4b98e262a0
1 changed files with 5 additions and 4 deletions
|
@ -65,8 +65,8 @@ in {
|
||||||
|
|
||||||
phpPackage = mkOption {
|
phpPackage = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
default = pkgs.php;
|
default = fpmCfg.phpPackage;
|
||||||
defaultText = "pkgs.php";
|
defaultText = "config.services.phpfpm.phpPackage";
|
||||||
description = ''
|
description = ''
|
||||||
The PHP package to use for running this PHP-FPM pool.
|
The PHP package to use for running this PHP-FPM pool.
|
||||||
'';
|
'';
|
||||||
|
@ -74,9 +74,10 @@ in {
|
||||||
|
|
||||||
phpOptions = mkOption {
|
phpOptions = mkOption {
|
||||||
type = types.lines;
|
type = types.lines;
|
||||||
default = "";
|
default = fpmCfg.phpOptions;
|
||||||
|
defaultText = "config.services.phpfpm.phpOptions";
|
||||||
description = ''
|
description = ''
|
||||||
Options appended to the PHP configuration file <filename>php.ini</filename> used for this PHP-FPM pool.
|
"Options appended to the PHP configuration file <filename>php.ini</filename> used for this PHP-FPM pool."
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue