anchor.diff:          # Create the files
           cp -r "${pkgs.selfoss}/"* "${dataDir}"
           ln -sf "${selfoss-config}" "${dataDir}/config.ini"
  -        chown -R "${cfg.user}" "${dataDir}"
  +        chown -R "${cfg.user}":"${group}" "${dataDir}"
           chmod -R 755 "${dataDir}"
         '';
         wantedBy = [ "multi-user.target" ];
  
positive.code: 
    config = mkIf cfg.enable {
  
      services.phpfpm.poolConfigs = mkIf (cfg.pool == "${poolName}") {
        "${poolName}" = ''
          listen = "${phpfpmSocketName}";
          listen.owner = nginx
          listen.group = nginx
          listen.mode = 0600
          user = nginx
          pm = dynamic
          pm.max_children = 75
          pm.start_servers = 10
          pm.min_spare_servers = 5
          pm.max_spare_servers = 20
          pm.max_requests = 500
          catch_workers_output = 1
        '';
      };
  
      systemd.services.selfoss-config = {
  
negative.code: 
      };
  
      users.users.nginx = {
        extraGroups = [ "${group}" ];
       };
    };
  }
  