nix-configs/modules/common.nix

6 lines
194 B
Nix
Raw Normal View History

2024-05-30 20:39:54 -04:00
{ lib, ... }: {
imports = builtins.map (n: ./common + "/${n}") (builtins.attrNames
(lib.filterAttrs (k: v: v == "regular" && lib.hasSuffix ".nix" k)
(builtins.readDir ./common)));
2024-04-26 12:48:13 -04:00
}