git.delta.rocks / jrsonnet / refs/commits / d2cec5d37894

difftreelog

source

modules/nixos/meta.nix751 Bsourcehistory
1{2  lib,3  pkgs,4  ...5}: let6  inherit (lib.options) mkOption;7  inherit (lib.modules) mkRemovedOptionModule;8in {9  options = {10    # TODO: Give a real name.11    # Previously it was nixpkgs.resolvedPkgs, which was erroreously merged with nixpkgs override attribute.12    _resolvedPkgs = mkOption {13      type = lib.types.pkgs // {description = "nixpkgs.pkgs";};14      description = "Value of pkgs";15    };16  };17  imports = [18    (mkRemovedOptionModule ["tags"] "tags are now defined at the host level, not the nixos system level for fast filtering without evaluating unnecessary hosts.")19    (mkRemovedOptionModule ["network"] "network is now defined at the host level, not the nixos system level")20  ];21  config = {22    _resolvedPkgs = pkgs;23  };24}