nixos/testing: Add pkgs parameter

This parameter is for packages to use in VMs, unlike hostPkgs.
This commit is contained in:
Robert Hensing 2022-06-06 21:19:22 +02:00
parent 124b0c4abc
commit a958a4aa00
4 changed files with 15 additions and 3 deletions

View file

@ -0,0 +1,11 @@
{ config, lib, hostPkgs, ... }:
{
config = {
# default pkgs for use in VMs
_module.args.pkgs = hostPkgs;
defaults = {
# TODO: a module to set a shared pkgs, if options.nixpkgs.* is untouched by user (highestPrio) */
};
};
}