terranix: convert to self-contained flake-parts modules
Each terranix configuration now exports its own flake output as a self-contained module. Flattened directory structure and removed centralized terranixConfigurations.nix in favor of import-tree. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
f8478a75eb
commit
c7757c139f
12 changed files with 488 additions and 423 deletions
|
|
@ -62,6 +62,7 @@
|
|||
aspectsModule = import-tree ./aspects;
|
||||
packagesModule = import-tree ./packages;
|
||||
shellsModule = import-tree ./shells;
|
||||
terranixModule = import-tree ./terranix;
|
||||
in
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
systems = [
|
||||
|
|
@ -74,9 +75,9 @@
|
|||
] ++ aspectsModule.imports
|
||||
++ packagesModule.imports
|
||||
++ shellsModule.imports
|
||||
++ terranixModule.imports
|
||||
++ [
|
||||
./deploy.nix
|
||||
./terranixConfigurations.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue