aboutsummaryrefslogtreecommitdiff
path: root/src/nix/flake.md
diff options
context:
space:
mode:
authortomberek <tomberek@users.noreply.github.com>2022-02-03 02:39:18 -0500
committerGitHub <noreply@github.com>2022-02-03 02:39:18 -0500
commit12ff354d016058b25245d7e75d5b0c8ff7323839 (patch)
tree006cd6d3ff1e7781ba4583d5ebbf1245a21837bf /src/nix/flake.md
parent6e5e64fc7485cc12dd98be07e9abcc52d63dfd86 (diff)
parentfcb33440b6d3038e6761e546fc9434fa8e9a1666 (diff)
Merge branch 'master' into bundler_drv
Diffstat (limited to 'src/nix/flake.md')
-rw-r--r--src/nix/flake.md6
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