about summary refs log tree commit diff
path: root/nix/lib
diff options
context:
space:
mode:
Diffstat (limited to 'nix/lib')
-rw-r--r--nix/lib/overlays.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/nix/lib/overlays.nix b/nix/lib/overlays.nix
new file mode 100644
index 0000000..1ec6f49
--- /dev/null
+++ b/nix/lib/overlays.nix
@@ -0,0 +1,6 @@
+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)))