nix-configs/home-modules/default.nix

13 lines
265 B
Nix
Raw Normal View History

2024-09-21 20:07:40 -04:00
{ lib, ... }:
{
imports = builtins.map (n: ./${n}) (
builtins.attrNames (
lib.filterAttrs (k: v: v == "regular" && lib.hasSuffix ".nix" k && k != "default.nix") (
builtins.readDir ./.
)
)
);
programs.home-manager.enable = true;
}