-{ lib, pkgs, config, myconfig, ... }:
+{ lib, pkgs, config, ... }:
let
mantisbt = pkgs.callPackage ./mantisbt.nix {
inherit (pkgs.webapps) mantisbt_2 mantisbt_2-plugins;
- env = myconfig.env.tools.mantisbt;
+ env = config.myEnv.tools.mantisbt;
};
gitweb = pkgs.callPackage ./gitweb.nix {
gitoliteDir = config.myServices.gitolite.gitoliteDir;
''
];
};
- services.phpfpm.poolConfigs = {
- mantisbt = mantisbt.phpFpm.pool;
+ services.phpfpm.pools = {
+ mantisbt = {
+ listen = mantisbt.phpFpm.socket;
+ extraConfig = mantisbt.phpFpm.pool;
+ };
};
};
}