Define package sets from nixpkgs and install them on one or more machines
This service is meant to be consumed by the UI / API, and exposes a JSON serializable interface to add packages to a machine over the inventory.
The example below demonstrates installing the "cbonsai" application to a machine named "server.
instances.packages = {
roles.default.machines."server".settings = {
packages = [ "cbonsai" ];
};
}; The packages service has the following roles:
default roleThe packages to install on the machine
Type: list of string
Default:
[ ] [
"cowsay"
]Declared in: clanServices/packages/default.nix