about summary refs log tree commit diff
path: root/nixos/doc
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2023-12-10 06:03:50 +0100
committerGitHub <noreply@github.com>2023-12-10 06:03:50 +0100
commit584463c7449a116f095eb456116f728c2b31497b (patch)
treece404cce204858d19763089cbddd98002c677d5f /nixos/doc
parentb9cb1d8d5f87cbd4c9316ca5a513d107fb6ea593 (diff)
parent8d3978c149352de6b7e8b72946b58a16427eda2c (diff)
Merge pull request #272764 from tweag/anyBool
lib.types.anyBool: init
Diffstat (limited to 'nixos/doc')
-rw-r--r--nixos/doc/manual/development/option-types.section.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/doc/manual/development/option-types.section.md b/nixos/doc/manual/development/option-types.section.md
index 2ad3d6c4f9495..f9c7ac80018e4 100644
--- a/nixos/doc/manual/development/option-types.section.md
+++ b/nixos/doc/manual/development/option-types.section.md
@@ -13,6 +13,13 @@ merging is handled.
 `types.bool`
 
 :   A boolean, its values can be `true` or `false`.
+    All definitions must have the same value, after priorities. An error is thrown in case of a conflict.
+
+`types.boolByOr`
+
+:   A boolean, its values can be `true` or `false`.
+    The result is `true` if _any_ of multiple definitions is `true`.
+    In other words, definitions are merged with the logical _OR_ operator.
 
 `types.path`