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:
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue