nix-configs/nixos-modules/common.nix

10 lines
208 B
Nix
Raw Normal View History

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