mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-18 07:24:10 +01:00
8 lines
334 B
Nix
8 lines
334 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")
|
|
(builtins.attrNames (builtins.readDir ./.)))
|