mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-29 12:27:30 +00:00
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
1 changed files with 11 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue