flake: move 'overlays' to 'flake/'
This commit is contained in:
parent
b9083244ed
commit
819ce1a320
|
@ -199,12 +199,7 @@
|
|||
}) // {
|
||||
inherit lib;
|
||||
|
||||
overlays = import ./overlays // {
|
||||
lib = final: prev: { inherit lib; };
|
||||
pkgs = final: prev: {
|
||||
ambroisie = prev.recurseIntoAttrs (import ./pkgs { pkgs = prev; });
|
||||
};
|
||||
};
|
||||
overlays = import ./flake/overlays.nix inputs;
|
||||
|
||||
nixosConfigurations = lib.mapAttrs buildHost {
|
||||
aramis = "x86_64-linux";
|
||||
|
|
16
flake/overlays.nix
Normal file
16
flake/overlays.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ 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
|
||||
default-overlays // additional-overlays
|
Loading…
Reference in a new issue