feat: modules

This commit is contained in:
2025-07-17 13:37:33 +00:00
parent 79e7c489bf
commit f9d37f0bdd
16 changed files with 593 additions and 377 deletions
+22
View File
@@ -0,0 +1,22 @@
{
flake,
self,
inputs,
nixpkgs,
}:
with builtins;
with nixpkgs.lib;
with self.lib;
let
# Combine hectic modules into one
hectic.imports = attrValues (
readModulesRecursive' ./hectic { inherit flake self inputs; }
);
# Read generic modules seperately
generic = readModulesRecursive'
./generic
{ inherit flake self inputs; };
in generic // {
inherit hectic;
default = hectic;
}