nixos: improve the example that shows how to include nvidia_x11 in boot.extraModulePackages

Fixes https://github.com/NixOS/nixpkgs/issues/68931.
This commit is contained in:
Peter Simons 2019-09-17 08:37:56 +02:00
parent c45bf10e9f
commit be3dae2e3a

View File

@ -108,7 +108,7 @@ in
boot.extraModulePackages = mkOption {
type = types.listOf types.package;
default = [];
example = literalExample "[ pkgs.linuxPackages.nvidia_x11 ]";
example = literalExample "[ config.boot.kernelPackages.nvidia_x11 ]";
description = "A list of additional packages supplying kernel modules.";
};