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
@ -108,7 +108,7 @@ in
|
|||||||
boot.extraModulePackages = mkOption {
|
boot.extraModulePackages = mkOption {
|
||||||
type = types.listOf types.package;
|
type = types.listOf types.package;
|
||||||
default = [];
|
default = [];
|
||||||
example = literalExample "[ pkgs.linuxPackages.nvidia_x11 ]";
|
example = literalExample "[ config.boot.kernelPackages.nvidia_x11 ]";
|
||||||
description = "A list of additional packages supplying kernel modules.";
|
description = "A list of additional packages supplying kernel modules.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user