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 = {
|
options = {
|
||||||
services.phpfpm = {
|
services.phpfpm = {
|
||||||
extraConfig = mkOption {
|
extraConfig = mkOption {
|
||||||
type = types.str;
|
type = types.lines;
|
||||||
default = "";
|
default = "";
|
||||||
description = ''
|
description = ''
|
||||||
Extra configuration that should be put in the global section of
|
Extra configuration that should be put in the global section of
|
||||||
@ -36,7 +36,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
poolConfigs = mkOption {
|
poolConfigs = mkOption {
|
||||||
type = types.attrsOf types.str;
|
type = types.attrsOf types.lines;
|
||||||
default = {};
|
default = {};
|
||||||
example = {
|
example = {
|
||||||
mypool = ''
|
mypool = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user