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