1
0
Fork 0
mirror of https://git.sr.ht/~azikx/karbur synced 2024-10-30 05:26:20 +00:00
karbur/modules(WIP)/host/default.nix
2024-10-26 18:23:33 +09:00

9 lines
253 B
Nix

{ systemModules, lib, ... }:
{
# Read all directories from systemModules
imports = builtins.filter (module: lib.pathIsDirectory module)
(map (module: "${systemModules}/${module}")
(builtins.attrNames (builtins.readDir systemModules)));
}