flake.nix: export overlayPkgs in packages so they can be built individually

This commit is contained in:
Astro 2021-11-10 00:30:25 +01:00
parent a80f9d9d1e
commit 69a90ba470
1 changed files with 3 additions and 0 deletions

View File

@ -70,6 +70,7 @@
packages = forAllSystems (system:
let
pkgs = self.legacyPackages."${system}";
overlayPkgs = self.overlay overlayPkgs pkgs;
in {
inherit (pkgs) bmxd openwebrx;
@ -116,6 +117,8 @@
} //
overlayPkgs //
builtins.foldl' (result: host: result // {
# TODO: check if the ethernet address is reachable and if not,
# execute wol on a machine in HQ.