docs: move pkgs overlays to their own file

This commit is contained in:
Matt Sturgeon 2024-09-12 12:55:33 +01:00
parent 27a0dd435d
commit 6665521525
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
3 changed files with 58 additions and 42 deletions

View file

@ -1,15 +1,16 @@
{ inputs, ... }:
{
perSystem =
{
pkgsUnfree,
config,
inputs',
system,
...
}:
{
packages = import ../docs {
# Building the docs evaluates each plugin's default package, some of which are unfree
pkgs = pkgsUnfree;
inherit system;
inherit (inputs) nixpkgs;
inherit (inputs') nuschtosSearch;
};