anchor.diff:              <Directory "${pkg}/share/limesurvey">
                 <FilesMatch "\.php$">
                   <If "-f %{REQUEST_FILENAME}">
  -                  SetHandler "proxy:unix:/run/phpfpm/limesurvey.sock|fcgi://localhost/"
  +                  SetHandler "proxy:unix:${fpm.listen}|fcgi://localhost/"
                   </If>
                 </FilesMatch>
   
  
positive.code:       enable = true;
        adminAddr = mkDefault cfg.virtualHost.adminAddr;
        extraModules = [ "proxy_fcgi" ];
        virtualHosts = [
          (cfg.virtualHost // {
            documentRoot = mkForce "${pkg}/share/limesurvey";
            extraConfig = ''
              Alias "/tmp" "${stateDir}/tmp"
  
negative.code: 
  let
  
    inherit (lib) mkDefault mkEnableOption mkForce mkIf mkMerge mkOption;
    inherit (lib) mapAttrs optional optionalString types;
  
    cfg = config.services.limesurvey;
    fpm = config.services.phpfpm.pools.limesurvey;
  
    user = "limesurvey";
    group = config.services.httpd.group;
    stateDir = "/var/lib/limesurvey";
  
    pkg = pkgs.limesurvey;
  
    configType = with types; either (either (attrsOf configType) str) (either int bool) // {
  