Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
{ lib }: let
overlayFiles = lib.traceVal builtins.attrNames (builtins.readDir ./.);
overlayObjs = lib.traceVal (f: import ( ./. + "/${f}" ) ) overlayFiles;
overlays = lib.traceVal builtins.filter (elem: builtins.isFunction elem) overlayObjs;
in overlays
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.