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:
parent
c45bf10e9f
commit
be3dae2e3a
1 changed files with 1 additions and 1 deletions
|
@ -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.";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue