clan-core/pkgs/clan-cli/tests/test_flake
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
..
nixosModules cli: rename clan_flake to test_flake 2023-09-15 12:36:16 +02:00
.clan-flake cli: rename clan_flake to test_flake 2023-09-15 12:36:16 +02:00
fake-module.nix api/machines: allow importing extra modules 2023-10-25 16:36:30 +01:00
flake.nix api/machines: allow importing extra modules 2023-10-25 16:36:30 +01:00