feat(services): init feature flags in the module manifest: 'manifest.features.API'

This commit is contained in:
Johannes Kirschbauer
2025-04-27 10:29:38 +02:00
parent f5c61382dd
commit 5253c155c0
4 changed files with 60 additions and 13 deletions

View File

@@ -243,6 +243,28 @@ in
'';
type = types.str;
};
features = mkOption {
description = ''
Enable built-in features for the module
See the documentation for each feature:
- API
'';
type = types.submoduleWith {
modules = [
{
options.API = mkOption {
type = types.bool;
default = false;
description = ''
Enables automatic API schema conversion for the interface of this module.
'';
};
}
];
};
default = { };
};
};
}
];