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:
William 2026-02-07 08:11:55 -03:00
parent 124d414359
commit f8478a75eb
2 changed files with 2 additions and 1 deletions

View file

@ -61,6 +61,7 @@
let let
aspectsModule = import-tree ./aspects; aspectsModule = import-tree ./aspects;
packagesModule = import-tree ./packages; packagesModule = import-tree ./packages;
shellsModule = import-tree ./shells;
in in
flake-parts.lib.mkFlake { inherit inputs; } { flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ systems = [
@ -72,9 +73,9 @@
flake-parts.flakeModules.modules flake-parts.flakeModules.modules
] ++ aspectsModule.imports ] ++ aspectsModule.imports
++ packagesModule.imports ++ packagesModule.imports
++ shellsModule.imports
++ [ ++ [
./deploy.nix ./deploy.nix
./devShells.nix
./terranixConfigurations.nix ./terranixConfigurations.nix
]; ];
}; };