clan-core/lib
DavHau bf176ad277
All checks were successful
checks-impure / test (pull_request) Successful in 36s
checks / test (pull_request) Successful in 2m6s
api/machines: allow importing extra modules
- add top-level option `clanImports` to clanCore
- clanImports can be set and checked as any other option
- buildClan resolves the clanImports from the settings.json before calling evalModules to prevent infinite recursions
- new endpoint PUT machines/{name}/schema to allow getting the schema for a specific list of imports
- to retrieve the currently imported modules, cimply do a GET or PU on machines/{name}/config which will return `clanImports` as part of the config

Still missing: get list of available modules
2023-10-25 16:36:30 +01:00
..
build-clan api/machines: allow importing extra modules 2023-10-25 16:36:30 +01:00
jsonschema jsonschema: fix eval 2023-09-27 13:08:24 +00:00
default.nix api/machines: allow importing extra modules 2023-10-25 16:36:30 +01:00
flake-module.nix api/machines: allow importing extra modules 2023-10-25 16:36:30 +01:00