2024-05-06 14:32:00 -05:00
|
|
|
{ inputs, ... }:
|
|
|
|
let
|
2024-02-15 12:01:08 -06:00
|
|
|
defaultOverlays =
|
|
|
|
# execute and import all overlay files in the current
|
|
|
|
# directory with the given args
|
|
|
|
builtins.map
|
2024-05-06 14:32:00 -05:00
|
|
|
# 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 ++ [
|
2024-05-22 15:06:32 -05:00
|
|
|
inputs.pixi.overlays.default
|
2024-05-06 14:32:00 -05:00
|
|
|
(final: _prev: {
|
|
|
|
stable = import inputs.stable {
|
|
|
|
system = final.system;
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
|
|
|
})
|
|
|
|
];
|
2024-02-15 12:01:08 -06:00
|
|
|
}
|