mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -06:00
18 lines
501 B
Nix
18 lines
501 B
Nix
{inputs, ...}: let
|
|
defaultOverlays =
|
|
# execute and import all overlay files in the current
|
|
# directory with the given args
|
|
builtins.map
|
|
# execute and import the overlay file
|
|
(f: (import (./. + "/${f}") {inherit inputs;}))
|
|
# find all overlay files in the current directory
|
|
(builtins.filter
|
|
(f: f != "default.nix")
|
|
(builtins.attrNames (builtins.readDir ./.)));
|
|
in {
|
|
nixpkgs.overlays =
|
|
defaultOverlays
|
|
++ [
|
|
inputs.pinix.overlays.default
|
|
];
|
|
}
|