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
|
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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue