From be3dae2e3ac9a088d23b7770ef42ca6d35510a2d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 17 Sep 2019 08:37:56 +0200 Subject: nixos: improve the example that shows how to include nvidia_x11 in boot.extraModulePackages Fixes https://github.com/NixOS/nixpkgs/issues/68931. --- nixos/modules/system/boot/kernel.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos') diff --git a/nixos/modules/system/boot/kernel.nix b/nixos/modules/system/boot/kernel.nix index 50dbf2f8365..8a309f3bc5f 100644 --- a/nixos/modules/system/boot/kernel.nix +++ b/nixos/modules/system/boot/kernel.nix @@ -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."; }; -- cgit v1.2.3