Skip to content

Document security concerns for nix.conf settings #11066

Open
@sellout

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.

Metadata

Assignees

No one assigned

    Labels

    documentationfeatureFeature request or proposalsettingsSettings, global flags, nix.conf

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions