nix-configs/modules/common.nix

4 lines
195 B
Nix
Raw Normal View History

2024-04-26 12:48:13 -04:00
{...}: {
imports = builtins.map (n: toString ./common + "/${n}") (builtins.attrNames (builtins.removeAttrs (builtins.readDir ./common) [(builtins.unsafeGetAttrPos "_" {_ = null;}).file]));
}