dotfiles/provision/lib/overlays.nix

9 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.
2023-07-30 08:33:11 -07:00
*/
2023-07-10 17:52:34 -07:00
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)))