Description
Is your feature request related to a problem? Please describe.
The nix.conf documentation doesn’t do a good job of indicating or describing the security concerns of various settings, or how to mitigate them.
As #9649 points out, accept-flake-config
is described very innocuously, but for various reasons is a massive security hole that has already resulted in compromised systems in the wild.
Describe the solution you'd like
The Nix manual should clearly tag each nix.conf setting with a known severity level, and link that tag to a detailed description of the known issues with that setting, along with any possible mitigations (e.g., “prefer to use --accept-flake-config
on the command line as needed, after manually reviewing the nixConfig
section of the flake, along with the security issues listed here for each of the settings in the nixConfig
.”).
Priorities
Add 👍 to issues you find important.