nix-config/flake/overlays.nix

18 lines
398 B
Nix
Raw Permalink 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; };
2023-03-07 11:36:27 +01:00
# Expose my custom packages
pkgs = _final: prev: {
2023-03-07 11:36:27 +01:00
ambroisie = prev.recurseIntoAttrs (import "${self}/pkgs" { pkgs = prev; });
};
};
in
{
flake.overlays = default-overlays // additional-overlays;
}