nix-config/flake/overlays.nix

18 lines
395 B
Nix
Raw Normal View History

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
{
flake.overlays = default-overlays // additional-overlays;
}