2023-03-07 11:36:27 +01:00
|
|
|
{ self, ... }:
|
|
|
|
let
|
|
|
|
default-overlays = import "${self}/overlays";
|
|
|
|
|
|
|
|
additional-overlays = {
|
|
|
|
# Expose my expanded library
|
|
|
|
lib = final: prev: { inherit (self) lib; };
|
|
|
|
|
|
|
|
# Expose my custom packages
|
|
|
|
pkgs = final: prev: {
|
|
|
|
ambroisie = prev.recurseIntoAttrs (import "${self}/pkgs" { pkgs = prev; });
|
|
|
|
};
|
|
|
|
};
|
|
|
|
in
|
2023-03-08 18:46:10 +01:00
|
|
|
{
|
|
|
|
flake.overlays = default-overlays // additional-overlays;
|
|
|
|
}
|