I made a custom service for PHP-FPM earlier this year, for a "Drupal Flake" project that provides an easy local dev environment for Drupal.
In my service, I made an option to select from different PHP versions -- we use this so we can test updating the php environments for dozens of Drupal sites and upgrade them one at a time. The project is here: https://www.drupal.org/project/drupal_flake
When the phpfpm service got added to services-flake, this caused a namespace collision on our project, so I was looking to move the Drupal Flake's config to use the upstream one -- but it does not provide any ability to specify php version, or add additional modules, etc.
So instead I just renamed my service to avoid the name collision. It's now here: https://github.com/freelock/drupal-flake/blob/main/template/.services/php-fpm.nix
Is this a feature others are interested in?
I made a custom service for PHP-FPM earlier this year, for a "Drupal Flake" project that provides an easy local dev environment for Drupal.
In my service, I made an option to select from different PHP versions -- we use this so we can test updating the php environments for dozens of Drupal sites and upgrade them one at a time. The project is here: https://www.drupal.org/project/drupal_flake
When the phpfpm service got added to services-flake, this caused a namespace collision on our project, so I was looking to move the Drupal Flake's config to use the upstream one -- but it does not provide any ability to specify php version, or add additional modules, etc.
So instead I just renamed my service to avoid the name collision. It's now here: https://github.com/freelock/drupal-flake/blob/main/template/.services/php-fpm.nix
Is this a feature others are interested in?