Files
clan-core/lib/flake-module.nix
2025-05-21 18:41:14 +02:00

23 lines
479 B
Nix

{
lib,
inputs,
self,
...
}:
rec {
# TODO: automatically generate this from the directory conventions
imports = [
./build-clan/flake-module.nix
./introspection/flake-module.nix
./inventory/flake-module.nix
./jsonschema/flake-module.nix
./types/flake-module.nix
];
flake.clanLib = import ./default.nix {
inherit lib inputs self;
inherit (inputs) nixpkgs nix-darwin;
};
# TODO: remove this legacy alias
flake.lib = flake.clanLib;
}