logoalt Hacker News

weightedreply • today at 10:39 PM • 2 replies • view on HN

I used NixOS for a couple years pre-LLM's. I'm still using Nix (well devenv). I ended up switching to Fedora Kinoite for immutability and SELinux support. But I'm still very interested in NixOS.

I've become anxious using packages from nixpkgs or AUR. I'd prefer user programs running on my system be inside a flatpak/podman/VM. Do NixOS users worry about supply chain attacks from nixpkgs?


Replies

__MatrixMan__ • today at 10:57 PM

I think we (NixOS users) worry only slightly less about supply chain attacks on nixpkgs than we would about installing a package via something like homebrew.

The connection between code and installed binary is more fully specified in nixpkgs. You can of course still hide a malicious payload, but the hiding places are all worse than they'd be otherwise: a little more likely that the bad guys would get caught, because now they have to hide in the open.

NewJazz • today at 10:41 PM

You can build a nix-based container or vm image and run that, but I'm not sure what kind of tooling exists for that.