Read the first post in this thread. The complaint is that GitHub is rate limiting updates. For that to happen you have to be cargo culting this innocuous-looking snippet:
{
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
}
To use the official sources, it should look like this:
{
inputs.nixpkgs.url = "https://channels.nixos.org/nixos-26.05/nixexprs.tar.xz";
}
This is a mistake introduced with flakes; originally, they did not support the channel URLs, so everyone started using GitHub as their source, and the habit stuck around even now that we have support for the channel URLs. nix-channel has always derived trust exclusively from nixos.org; it’s kinda like flakes are still a bit half-baked since nobody has sat down to clean up the whole distribution model (and flakes are not primarily designed to facilitate a distro).
My entire point is that your reply misunderstands most of NixOS’ trust model. You are making broad demands of a process you don’t understand well enough to criticize. You seemingly didn’t even read the first post in the thread.
As for this reply, yes, the trust for channel expressions are ultimately derived from a root CA, but it’s not sectigo, the issuer is let’s encrypt.
All trust eventually derives from the nixpkgs expressions, since all source expressions include hashes, and - if you choose to use the official binary cache - the hydra signing cert is also included in them.
Everything except the nixpkgs expressions is already decentralized. Technically the nixpkgs expressions are already decentralized, too, there are even mirrors of them (such as GitHub, but there’s also a Chinese university which hosts a mirror).
It’d be interesting to sign the channel expressions with hydra’s key as well. That way you could bootstrap trust from CAs, but on an installed system rely on hydra’s key. AIUI it already builds this tarball and signs it, there’s just no way to use the hydra artifact as an input; with an extension of the channels protocol we could probably add an extra signature that doesn’t derive from CAs.
That said, I think the benefit of this would be very marginal. Nixpkgs contributors as a rule do not check sources on version bumps, let alone verify commit signatures or source hashes. Most package bumps are automated besides a cursory glance at a PR. The development process entirely relies on TLS. Heck, forget TLS, most of this is done by Anthropic at this point, people are too lazy to even run fully automated scripts by hand.
If you want a distro that isn’t subject to CA failure (or Anthropic deciding to attain world domination), you’ll have to create a new distro with very different contribution requirements, and guidelines for which packages are even acceptable. It’d look a lot more like debian. Compromising let’s encrypt’s certificate is definitely not the easiest way to break nixpkgs’ supply chain.