anchor.diff:          '';
         };
   
  -      # TODO: Re-enable after https://github.com/NixOS/nixpkgs/pull/15862 is merged
  -
  -      # virtualHost = mkOption {
  -      #   type = types.str;
  -      #   default = "${virtualHostName}";
  -      #   description = ''
  -      #     Name of existing nginx virtual host that is used to run web-application.
  -      #     If not specified a host will be created automatically with
  -      #     default values.
  -      #   '';
  -      # };
  +      virtualHost = mkOption {
  +        type = types.nullOr types.str;
  +        default = "tt-rss";
  +        description = ''
  +          Name of the nginx virtualhost to use and setup. If null, do not setup any virtualhost.
  +        '';
  +      };
   
         database = {
           type = mkOption {
  
positive.code: 
    config = mkIf cfg.enable {
  
      services.phpfpm.poolConfigs = if cfg.pool == "${poolName}" then {
        "${poolName}" = ''
          listen = "${phpfpmSocketName}";
          listen.owner = nginx
  
negative.code: 
    poolName = "tt-rss";
    phpfpmSocketName = "/var/run/phpfpm/${poolName}.sock";
  
    tt-rss-config = pkgs.writeText "config.php" ''
      <?php
  