25 lines
495 B
Nix
25 lines
495 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib) types mkOption;
|
|
submodule = m: types.submoduleWith { modules = [ m ]; };
|
|
in
|
|
{
|
|
options = {
|
|
machines = mkOption {
|
|
type = types.attrsOf (submodule {
|
|
options = {
|
|
compiledMachine = mkOption {
|
|
type = types.raw;
|
|
};
|
|
compiledServices = mkOption {
|
|
type = types.raw;
|
|
};
|
|
machineImports = mkOption {
|
|
type = types.raw;
|
|
};
|
|
};
|
|
});
|
|
};
|
|
};
|
|
}
|