anchor.diff:  { config, lib, pkgs, ... }: with lib; let
     cfg = config.services.icingaweb2;
     poolName = "icingaweb2";
  -  phpfpmSocketName = "/var/run/phpfpm/${poolName}.sock";
   
     defaultConfig = {
       global = {
  
positive.code:             include ${config.services.nginx.package}/conf/fastcgi.conf;
              try_files $uri =404;
              fastcgi_split_path_info ^(.+\.php)(/.+)$;
              fastcgi_pass unix:${phpfpmSocketName};
              fastcgi_param SCRIPT_FILENAME ${pkgs.icingaweb2}/public/index.php;
            '';
          };
  
negative.code:       group = "icingaweb2";
        isSystemUser = true;
      };
      users.users.nginx = {
        extraGroups = [ "icingaweb2" ];
      };
    };
  }
  