diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-01-31 10:21:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-31 10:21:15 +0100 |
commit | cc730bd46b13d799e6f669f3aad0bb4547b05332 (patch) | |
tree | d0a468e58b3c0a8154a4d82ee4260d4e20dda623 | |
parent | 08fc3d6552f8b86e335500f2669d92e315b873d0 (diff) | |
parent | c746a429db0e48e60362b6ea45b5d01551ba46d6 (diff) |
Merge pull request #5990 from lincolnauster/flakes-nixconfig-docs
flakes: document nixConfig option
-rw-r--r-- | src/nix/flake.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nix/flake.md b/src/nix/flake.md index a8436bcaa..accddd436 100644 --- a/src/nix/flake.md +++ b/src/nix/flake.md @@ -292,6 +292,12 @@ The following attributes are supported in `flake.nix`: value (e.g. `packages.x86_64-linux` must be an attribute set of derivations built for the `x86_64-linux` platform). +* `nixConfig`: a set of `nix.conf` options to be set when evaluating any + part of a flake. In the interests of security, only a small set of + whitelisted options (currently `bash-prompt`, `bash-prompt-suffix`, + and `flake-registry`) are allowed to be set without confirmation so long as + `accept-flake-config` is not set in the global configuration. + ## Flake inputs The attribute `inputs` specifies the dependencies of a flake, as an |