3
0
Fork 0
forked from mirrors/nixpkgs

phpfpm module: Make extraConfig and poolConfigs mergeable by switching option type to types.lines

This commit is contained in:
Rickard Nilsson 2014-03-12 11:45:31 +01:00
parent 562a8ca4a2
commit 4e23573138

View file

@ -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 = ''