diff options
author | Peter Simons <simons@cryp.to> | 2019-09-17 08:37:56 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2019-09-17 08:37:56 +0200 |
commit | be3dae2e3ac9a088d23b7770ef42ca6d35510a2d (patch) | |
tree | 3ab33264c7c83a84777943dfaa8ece606d7cd08b /nixos | |
parent | c45bf10e9f314ffd3ddf089761f2ec905b288878 (diff) |
nixos: improve the example that shows how to include nvidia_x11 in boot.extraModulePackages
Fixes https://github.com/NixOS/nixpkgs/issues/68931.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/kernel.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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."; }; |