From ba961de6fb0bc63e2bbad5f38f048869911b3493 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Wed, 10 Sep 2025 14:39:27 +0100 Subject: [PATCH] lib.options.mkOption: use one-sentence-per-line for `visible` docs --- lib/options.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/options.nix b/lib/options.nix index 637188d24d4f..b05e53e4cd46 100644 --- a/lib/options.nix +++ b/lib/options.nix @@ -113,7 +113,10 @@ rec { : Optional boolean indicating whether the option is for NixOS developers only. `visible` - : Optional boolean indicating whether the option shows up in the manual. Default: true. Use false to hide the option and any sub-options from submodules. Use "shallow" to hide only sub-options. + : Optional boolean indicating whether the option shows up in the manual. + Use false to hide the option and any sub-options from submodules. + Use "shallow" to hide only sub-options. + Default: true. `readOnly` : Optional boolean indicating whether the option can be set only once.