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>
This commit is contained in:
parent
1d77dcaed3
commit
7875885fb2
@ -147,11 +147,20 @@ let
|
|||||||
withMeta = meta: defs: mkMerge [ defs { inherit meta; } ];
|
withMeta = meta: defs: mkMerge [ defs { inherit meta; } ];
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
services.taskserver = {
|
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 {
|
user = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
Loading…
Reference in New Issue
Block a user