Files
util.nix/nixos/module/default.nix
2026-02-27 19:57:44 +00:00

22 lines
406 B
Nix

{
flake,
self,
inputs,
}:
with builtins;
with inputs.nixpkgs.lib;
with self.lib;
let
# Combine hectic modules into one
hectic.imports = attrValues (
readModulesRecursive' ./hectic { inherit flake self inputs; }
);
# Read generic modules separately
generic = readModulesRecursive'
./generic
{ inherit flake self inputs; };
in generic // {
inherit hectic;
default = hectic;
}