0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

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:11:49 +02:00
parent 8b793d1916
commit 64e566a49c
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961
4 changed files with 60 additions and 2 deletions

View file

@ -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;
};
};
};
});
}