dotfiles/provision/nixos/lib/overlays.nix

8 lines
295 B
Nix
Raw Normal View History

2023-07-10 17:52:34 -07:00
/* This configures nixpkgs.overlays to include our overlays/ directory.
*/
let path = ../overlays; in with builtins;
map (n: import (path + ("/" + n)))
(filter (n: match ".*\\.nix" n != null ||
pathExists (path + ("/" + n + "/default.nix")))
(attrNames (readDir path)))