forked from mirrors/nixpkgs
phpfpm module: Make extraConfig and poolConfigs mergeable by switching option type to types.lines
This commit is contained in:
parent
562a8ca4a2
commit
4e23573138
|
@ -24,7 +24,7 @@ in {
|
|||
options = {
|
||||
services.phpfpm = {
|
||||
extraConfig = mkOption {
|
||||
type = types.str;
|
||||
type = types.lines;
|
||||
default = "";
|
||||
description = ''
|
||||
Extra configuration that should be put in the global section of
|
||||
|
@ -36,7 +36,7 @@ in {
|
|||
};
|
||||
|
||||
poolConfigs = mkOption {
|
||||
type = types.attrsOf types.str;
|
||||
type = types.attrsOf types.lines;
|
||||
default = {};
|
||||
example = {
|
||||
mypool = ''
|
||||
|
|
Loading…
Reference in a new issue