Inventory: add new module class: class='clan'

This commit is contained in:
Johannes Kirschbauer
2025-02-04 15:06:25 +07:00
parent fdb3f89480
commit fdf936c423
8 changed files with 259 additions and 123 deletions

View File

@@ -0,0 +1,24 @@
{ 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;
};
};
});
};
};
}