mirror of
https://git.sr.ht/~azikx/karbur
synced 2024-10-30 05:26:20 +00:00
9 lines
253 B
Nix
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)));
|
|
}
|