summary refs log tree commit diff
path: root/doc/using
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2022-05-19 20:51:38 +0200
committerGitHub <noreply@github.com>2022-05-19 20:51:38 +0200
commit90344e9f40c9462f382231dc7682ffcec77b6b9d (patch)
treede0abcc78098c103539332c8bf0cd2de0d134456 /doc/using
parent9e543ef176181c1d36c9315ba4856af597b9a142 (diff)
parente40d2099d235f80aa3444b7a76028c0b7725a549 (diff)
downloadnixpkgs-90344e9f40c9462f382231dc7682ffcec77b6b9d.tar
nixpkgs-90344e9f40c9462f382231dc7682ffcec77b6b9d.tar.gz
nixpkgs-90344e9f40c9462f382231dc7682ffcec77b6b9d.tar.bz2
nixpkgs-90344e9f40c9462f382231dc7682ffcec77b6b9d.tar.lz
nixpkgs-90344e9f40c9462f382231dc7682ffcec77b6b9d.tar.xz
nixpkgs-90344e9f40c9462f382231dc7682ffcec77b6b9d.tar.zst
nixpkgs-90344e9f40c9462f382231dc7682ffcec77b6b9d.zip
Merge pull request #171163 from hercules-ci/nixpkgs-config-doc
Add generated `nixpkgs.config` doc to Nixpkgs manual
Diffstat (limited to 'doc/using')
-rw-r--r--doc/using/configuration.chapter.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/using/configuration.chapter.md b/doc/using/configuration.chapter.md
index 932b24237c0..842450ebf47 100644
--- a/doc/using/configuration.chapter.md
+++ b/doc/using/configuration.chapter.md
@@ -164,6 +164,14 @@ There are several ways to tweak how Nix handles a package which has been marked
 
     Note that `permittedInsecurePackages` is only checked if `allowInsecurePredicate` is not specified.
 
+### `config` Options Reference
+
+The following attributes can be passed in [`config`](#chap-packageconfig).
+
+```{=docbook}
+<include xmlns="http://www.w3.org/2001/XInclude" href="../doc-support/result/config-options.docbook.xml"/>
+```
+
 ## Modify packages via `packageOverrides` {#sec-modify-via-packageOverrides}
 
 You can define a function called `packageOverrides` in your local `~/.config/nixpkgs/config.nix` to override Nix packages. It must be a function that takes pkgs as an argument and returns a modified set of packages.