clan-core/nixosModules
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
..
clanCore api/machines: allow importing extra modules 2023-10-25 16:36:30 +01:00
clanImports api/machines: allow importing extra modules 2023-10-25 16:36:30 +01:00
installer move modules into nixosModules, add autoimport 2023-08-02 10:24:01 +02:00
flake-module.nix move clanCore into nixosModules, add secrets generate command 2023-08-29 16:28:50 +02:00
hidden-ssh-announce.nix move modules into nixosModules, add autoimport 2023-08-02 10:24:01 +02:00