Auto-commit: 2026-01-05 18:23:06

This commit is contained in:
2026-01-05 18:23:06 +00:00
parent 9378feecd9
commit f3791ad3a2

View File

@@ -1,15 +1,19 @@
{ lib, ... }:
let
b = builtins;
module_files =
b.readDir ./. |>
lib.filterAttrs (name: type:
( (lib.strings.hasSuffix ".nix" name
&& name != "default.nix"
&& type == "regular" )
|| ( type == "directory"
&& b.pathExists ./${name}/default.nix))
) |>
b.attrNames |>
b.map (f: ./${f});
in
{
imports = [
./cli
./packages.nix
./desktop
./gaming
./hardware.nix
./network.nix
./services.nix
./fonts.nix
./ld.nix
./nvidia.nix
./corsairLink.nix
];
}
imports = module_files;
}