From 087472b1e5230ffc8ba642b1e4f9218adf4634a2 Mon Sep 17 00:00:00 2001 From: pennae Date: Fri, 5 Aug 2022 19:39:00 +0200 Subject: nixos/*: automatically convert option docs --- nixos/modules/services/misc/taskserver/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'nixos/modules/services/misc/taskserver/default.nix') diff --git a/nixos/modules/services/misc/taskserver/default.nix b/nixos/modules/services/misc/taskserver/default.nix index c8a2c21b9ecfd..ad4ab93a872a1 100644 --- a/nixos/modules/services/misc/taskserver/default.nix +++ b/nixos/modules/services/misc/taskserver/default.nix @@ -227,8 +227,8 @@ in { queueSize = mkOption { type = types.int; default = 10; - description = '' - Size of the connection backlog, see listen2. + description = lib.mdDoc '' + Size of the connection backlog, see {manpage}`listen(2)`. ''; }; @@ -321,16 +321,16 @@ in { config = mkOption { type = types.attrs; example.client.cert = "/tmp/debugging.cert"; - description = '' + description = lib.mdDoc '' Configuration options to pass to Taskserver. The options here are the same as described in - taskdrc5, but with one difference: + {manpage}`taskdrc(5)`, but with one difference: - The server option is - server.listen here, because the - server option would collide with other options - like server.cert and we would run in a type error + The `server` option is + `server.listen` here, because the + `server` option would collide with other options + like `server.cert` and we would run in a type error (attribute set versus string). Nix types like integers or booleans are automatically converted to -- cgit 1.4.1