shells: convert to self-contained flake-parts module
Move devShells.nix to shells/default.nix as a flake-parts module and use import-tree for automatic module discovery. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
124d414359
commit
f8478a75eb
2 changed files with 2 additions and 1 deletions
|
|
@ -61,6 +61,7 @@
|
|||
let
|
||||
aspectsModule = import-tree ./aspects;
|
||||
packagesModule = import-tree ./packages;
|
||||
shellsModule = import-tree ./shells;
|
||||
in
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
systems = [
|
||||
|
|
@ -72,9 +73,9 @@
|
|||
flake-parts.flakeModules.modules
|
||||
] ++ aspectsModule.imports
|
||||
++ packagesModule.imports
|
||||
++ shellsModule.imports
|
||||
++ [
|
||||
./deploy.nix
|
||||
./devShells.nix
|
||||
./terranixConfigurations.nix
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue