nix-configs/modules/common.nix
2024-05-30 22:08:27 -04:00

5 lines
194 B
Nix

{ lib, ... }: {
imports = builtins.map (n: ./common + "/${n}") (builtins.attrNames
(lib.filterAttrs (k: v: v == "regular" && lib.hasSuffix ".nix" k)
(builtins.readDir ./common)));
}