pkgsModule
pkgs.pkgsModule
Docs pulled from | This Revision | about 1 hour ago
A NixOS/home-manager/arion/... module that sets the pkgs
module argument.
Noogle detected
Implementation
The following is the current implementation of this function.
pkgsModule =
{ options, ... }:
{
config =
if options ? nixpkgs.pkgs then
{
# legacy / nixpkgs.nix style
nixpkgs.pkgs = pkgs;
}
else
{
# minimal
_module.args.pkgs = pkgs;
};
};