2024-02-15 12:01:08 -06:00
|
|
|
{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 {
|
2024-03-12 09:12:26 -05:00
|
|
|
nixpkgs.overlays = defaultOverlays ++ [
|
|
|
|
(
|
|
|
|
final: prev: {
|
|
|
|
stable = import inputs.stable { system = final.system;
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
)
|
|
|
|
];
|
2024-02-15 12:01:08 -06:00
|
|
|
}
|