nixos/global/default.nix

9 lines
202 B
Nix
Raw Normal View History

2025-01-13 11:52:09 +08:00
{ lib, ... }:
{
imports = lib.pipe ./. [
builtins.readDir
(lib.filterAttrs (n: ty: ty == "directory" && builtins.pathExists ./${n}/default.nix))
(lib.mapAttrsToList (n: _: ./${n}))
];
}