I recently made a nixos desktop setup that meets my needs well, but I noticed a lot of packages installed or configured in the /etc/nixos/configuration.nix (or hardware.nix) files aren’t usually officially supported by the project’s developers. I also noticed that category.example-package-or-feature.enable = true seems to install a package without it being put in the pkgs thing.
Security of my system is very important to me. I’m not sure exactly what the supply chain for my config looks like.
Here is what I’m confused on:
- When you’re doing a
category.something.enableor configuring it otherwise like that, are those packages very widely used ones and marked as “safe” by the community? Or is it just another way of installing a miscellaneous package from the catalog? - When I install a package that I personally trust, but the nix package isn’t maintained by the project developers/admins are they able to on the fly switch the package’s source repository to something malicious?
- Is there a way to do an audit to see which packages are installed on a given system (this one is less important to me but would still be nice to know.)
I would really appreciate clarification on these points.
Thanks for your time reading this.