flake: split flakeModules into builtinModules and extraModules
This commit is contained in:
parent
5d82aa3d6b
commit
6956b5e817
1 changed files with 4 additions and 4 deletions
|
|
@ -45,8 +45,7 @@
|
|||
'';
|
||||
};
|
||||
};
|
||||
flakeModules = {
|
||||
# Built-in modules
|
||||
builtinModules = {
|
||||
apps = ./modules/apps.nix;
|
||||
checks = ./modules/checks.nix;
|
||||
debug = ./modules/debug.nix;
|
||||
|
|
@ -63,8 +62,8 @@
|
|||
perSystem = ./modules/perSystem.nix;
|
||||
transposition = ./modules/transposition.nix;
|
||||
withSystem = ./modules/withSystem.nix;
|
||||
|
||||
# Extras
|
||||
};
|
||||
extraModules = {
|
||||
easyOverlay = ./extras/easyOverlay.nix;
|
||||
flakeModules = ./extras/flakeModules.nix;
|
||||
modules = ./extras/modules.nix;
|
||||
|
|
@ -72,6 +71,7 @@
|
|||
bundlers = ./extras/bundlers.nix;
|
||||
touchup = ./extras/touchup.nix;
|
||||
};
|
||||
flakeModules = builtinModules // extraModules;
|
||||
in
|
||||
lib.mkFlake { inherit inputs; } {
|
||||
systems = [ ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue