modules/taskserver: Minor update

* documentation
    - update link
    - minor consistency update
  * make tests pass
This commit is contained in:
Pamplemousse 2022-01-26 21:55:25 +01:00
parent b54751a221
commit 5148813e17
2 changed files with 7 additions and 6 deletions

View File

@ -106,7 +106,7 @@ let
certtool = "${pkgs.gnutls.bin}/bin/certtool";
nixos-taskserver = pkgs.pythonPackages.buildPythonApplication {
nixos-taskserver = with pkgs.python2.pkgs; buildPythonApplication {
name = "nixos-taskserver";
src = pkgs.runCommand "nixos-taskserver-src" { preferLocalBuild = true; } ''
@ -129,7 +129,7 @@ let
EOF
'';
propagatedBuildInputs = [ pkgs.pythonPackages.click ];
propagatedBuildInputs = [ click ];
};
in {
@ -138,12 +138,13 @@ in {
enable = mkOption {
type = types.bool;
default = false;
description = ''
description = let
url = "https://nixos.org/manual/nixos/stable/index.html#module-services-taskserver";
in ''
Whether to enable 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"/>.
found <link xlink:href="${url}">in the NixOS manual</link>.
'';
};

View File

@ -1,7 +1,7 @@
<chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="5.0"
xml:id="module-taskserver">
xml:id="module-services-taskserver">
<title>Taskserver</title>
<para>
Taskserver is the server component of