1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
{ lib, ... }: with lib; { options = { packages = mkOption { type = types.attrsOf types.unspecified; default = {}; description = "Available NixGames packages."; }; }; config._module.args.pkgs = import <nixpkgs> {}; }