25 lines
411 B
Nix
25 lines
411 B
Nix
inputs@{
|
|
lib,
|
|
options,
|
|
machine,
|
|
...
|
|
}:
|
|
with lib;
|
|
{
|
|
options = {
|
|
custom.program = mkOption {
|
|
type = types.attrsOf (
|
|
types.submodule (_: {
|
|
options = {
|
|
name = mkOption {
|
|
type = types.string;
|
|
};
|
|
defered-config = mkOption {
|
|
type = types.deferredModule;
|
|
};
|
|
};
|
|
})
|
|
);
|
|
};
|
|
};
|
|
}
|