diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-04-11 18:45:09 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-04-11 18:45:09 +0200 |
commit | 7875885fb25c4a68de2c8f7256737ff81e5ab8ff (patch) | |
tree | c6e8fb85d4d33e7488134d8916bba313f86c7cf7 /nixos/modules/services/misc/taskserver/default.nix | |
parent | 1d77dcaed37ab47bfe2d90711c01b475a514ff25 (diff) |
nixos/taskserver: Link to manual within .enable
With <olink/> 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 <aszlig@redmoonstudios.org>
Diffstat (limited to 'nixos/modules/services/misc/taskserver/default.nix')
-rw-r--r-- | nixos/modules/services/misc/taskserver/default.nix | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/nixos/modules/services/misc/taskserver/default.nix b/nixos/modules/services/misc/taskserver/default.nix index c81cd20b263f0..b175bd6d67526 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 + <olink targetdoc="manual" targetptr="module-taskserver"/>. + ''; + }; user = mkOption { type = types.str; |