about summary refs log tree commit diff
path: root/nixos/modules/services/misc/taskserver
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-04-11 18:45:09 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-04-11 18:45:09 +0200
commit7875885fb25c4a68de2c8f7256737ff81e5ab8ff (patch)
treec6e8fb85d4d33e7488134d8916bba313f86c7cf7 /nixos/modules/services/misc/taskserver
parent1d77dcaed37ab47bfe2d90711c01b475a514ff25 (diff)
downloadnixlib-7875885fb25c4a68de2c8f7256737ff81e5ab8ff.tar
nixlib-7875885fb25c4a68de2c8f7256737ff81e5ab8ff.tar.gz
nixlib-7875885fb25c4a68de2c8f7256737ff81e5ab8ff.tar.bz2
nixlib-7875885fb25c4a68de2c8f7256737ff81e5ab8ff.tar.lz
nixlib-7875885fb25c4a68de2c8f7256737ff81e5ab8ff.tar.xz
nixlib-7875885fb25c4a68de2c8f7256737ff81e5ab8ff.tar.zst
nixlib-7875885fb25c4a68de2c8f7256737ff81e5ab8ff.zip
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')
-rw-r--r--nixos/modules/services/misc/taskserver/default.nix13
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 c81cd20b263f..b175bd6d6752 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;