From 7875885fb25c4a68de2c8f7256737ff81e5ab8ff Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 11 Apr 2016 18:45:09 +0200 Subject: [PATCH] nixos/taskserver: Link to manual within .enable With support in place, we can now reference the Taskserver section within the NixOS manual, so that users reading the manpage of configuration.nix(5) won't miss this information. Signed-off-by: aszlig --- nixos/modules/services/misc/taskserver/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/misc/taskserver/default.nix b/nixos/modules/services/misc/taskserver/default.nix index c81cd20b263..b175bd6d675 100644 --- a/nixos/modules/services/misc/taskserver/default.nix +++ b/nixos/modules/services/misc/taskserver/default.nix @@ -147,11 +147,20 @@ let withMeta = meta: defs: mkMerge [ defs { inherit meta; } ]; in { - options = { services.taskserver = { + enable = mkOption { + type = types.bool; + default = false; + example = true; + description = '' + Whether to enable the Taskwarrior server. - enable = mkEnableOption "the Taskwarrior server"; + More instructions about NixOS in conjuction with Taskserver can be + found in the NixOS manual at + . + ''; + }; user = mkOption { type = types.str;