arion-compose-0.1.0.0: src/nix/modules/service/extended-info.nix
{ config, lib, ... }:
let
inherit (lib) mkOption;
inherit (lib.types) attrsOf unspecified;
in
{
imports = [
(lib.mkRenamedOptionModule ["build" "extendedInfo"] ["out" "extendedInfo"])
];
options = {
out.extendedInfo = mkOption {
type = attrsOf unspecified;
description = ''
Information about a service to include in the Docker Compose file,
but that will not be used by the <code>docker-compose</code> command
itself.
It will be inserted in <code>x-arion.serviceInfo.<service.name></code>.
'';
default = {};
};
};
}