Files
nix-config-ryan4yin/overlays/default.nix

15 lines
428 B
Nix

args:
# execute and import all overlay files in the current directory with the given args
builtins.map (f: (import (./. + "/${f}") args)) # execute and import the overlay file
(
builtins.filter # find all overlay files in the current directory
(
f:
f != "default.nix" # ignore default.nix
&& f != "README.md" # ignore README.md
)
(builtins.attrNames (builtins.readDir ./.))
)