nix-configs/nixos-modules/common.nix

9 lines
199 B
Nix
Raw Normal View History

2024-09-05 19:08:29 -04:00
{ lib, ... }:
{
2024-09-06 22:01:05 -04:00
imports = builtins.map (n: ./common/${n}) (
2024-09-05 19:08:29 -04:00
builtins.attrNames (
lib.filterAttrs (k: v: v == "regular" && lib.hasSuffix ".nix" k) (builtins.readDir ./common)
)
);
2024-04-26 12:48:13 -04:00
}