nixos/taskserver: Add module documentation

It's not by any means exhaustive, but we're still going to change the
implementation, so let's just use this as a starting point.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig
2016-04-07 14:26:12 +02:00
parent 8b793d1916
commit 64e566a49c
4 changed files with 60 additions and 2 deletions
@@ -88,6 +88,8 @@ let
ctlcmd = "${nixos-taskserver}/bin/nixos-taskserver --service-helper";
withMeta = meta: defs: mkMerge [ defs { inherit meta; } ];
in {
options = {
@@ -299,7 +301,9 @@ in {
};
};
config = mkIf cfg.enable {
config = withMeta {
doc = ./taskserver.xml;
} (mkIf cfg.enable {
environment.systemPackages = [ pkgs.taskserver nixos-taskserver ];
@@ -424,5 +428,5 @@ in {
Group = cfg.group;
};
};
};
});
}