From fa01afcf7f4d98dc7953fb3ac22f68108d4a57d7 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sun, 12 Jun 2022 08:26:50 +0200 Subject: [PATCH] doc: Promote config Options Reference to sub-chapter section It was hidden in the insecure packages section. - Lift it out. - Add an id --- doc/using/configuration.chapter.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/doc/using/configuration.chapter.md b/doc/using/configuration.chapter.md index 842450ebf47f..2445aa32f2a7 100644 --- a/doc/using/configuration.chapter.md +++ b/doc/using/configuration.chapter.md @@ -164,14 +164,6 @@ 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} - -``` - ## 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. @@ -184,6 +176,15 @@ You can define a function called `packageOverrides` in your local `~/.config/nix } ``` +## `config` Options Reference {#sec-config-options-reference} + +The following attributes can be passed in [`config`](#chap-packageconfig). + +```{=docbook} + +``` + + ## Declarative Package Management {#sec-declarative-package-management} ### Build an environment {#sec-building-environment}