From bf6d84958df325e51eb0d64a4ace1dcbec6fa911 Mon Sep 17 00:00:00 2001 From: Atemu Date: Sat, 8 Oct 2022 14:28:43 +0200 Subject: rl-2211: document nix.checkConfig option changes Co-authored-by: Sandro --- nixos/doc/manual/from_md/release-notes/rl-2211.section.xml | 8 ++++++++ nixos/doc/manual/release-notes/rl-2211.section.md | 2 ++ nixos/modules/services/misc/nix-daemon.nix | 4 ++-- 3 files changed, 12 insertions(+), 2 deletions(-) (limited to 'nixos') diff --git a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml index ec0afe73eb4a2..8e26004cec4a3 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml @@ -593,6 +593,14 @@ module removed, due to lack of maintainers. + + + The nix.checkConfig option now fully + disables the config check. The new + nix.checkAllErrors option behaves like + nix.checkConfig previously did. + + generateOptparseApplicativeCompletions and diff --git a/nixos/doc/manual/release-notes/rl-2211.section.md b/nixos/doc/manual/release-notes/rl-2211.section.md index 1028a975f30f8..8bd31101f2850 100644 --- a/nixos/doc/manual/release-notes/rl-2211.section.md +++ b/nixos/doc/manual/release-notes/rl-2211.section.md @@ -196,6 +196,8 @@ Available as [services.patroni](options.html#opt-services.patroni.enable). - virtlyst package and `services.virtlyst` module removed, due to lack of maintainers. +- The `nix.checkConfig` option now fully disables the config check. The new `nix.checkAllErrors` option behaves like `nix.checkConfig` previously did. + - `generateOptparseApplicativeCompletions` and `generateOptparseApplicativeCompletion` from `haskell.lib.compose` (and `haskell.lib`) have been deprecated in favor of `generateOptparseApplicativeCompletions` (plural!) as provided by the haskell package sets (so `haskellPackages.generateOptparseApplicativeCompletions` etc.). diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix index c90da8ab89f1f..e8a21c352bdd7 100644 --- a/nixos/modules/services/misc/nix-daemon.nix +++ b/nixos/modules/services/misc/nix-daemon.nix @@ -395,7 +395,7 @@ in type = types.bool; default = true; description = lib.mdDoc '' - If enabled (the default), checks that Nix can parse the generated nix.conf. + If enabled, checks that Nix can parse the generated nix.conf. ''; }; @@ -403,7 +403,7 @@ in type = types.bool; default = true; description = lib.mdDoc '' - If enabled (the default), checks the nix.conf parsing for any kind of error. When disabled, checks only for unknown settings. + If enabled, checks the nix.conf parsing for any kind of error. When disabled, checks only for unknown settings. ''; }; -- cgit 1.4.1