anchor.diff:    cfg = config.services.tt-rss;
   
     configVersion = 26;
  -
  -  cacheDir = "cache";
  -  lockDir = "lock";
  -  feedIconsDir = "feed-icons";
   
     dbPort = if cfg.database.port == null
       then (if cfg.database.type == "pgsql" then 5432 else 3306)
  
positive.code:       putenv('TTRSS_DIGEST_SUBJECT=${escape ["'" "\\"] cfg.email.digestSubject}');
  
        ${cfg.extraConfig}
    '';
  
   in {
  
negative.code:       enable = true;
        virtualHosts = {
          ${cfg.virtualHost} = {
            root = "${cfg.root}/www";
  
            locations."/" = {
              index = "index.php";
            };
  
            locations."^~ /feed-icons" = {
              root = "${cfg.root}";
            };
  
            locations."~ \\.php$" = {
  