Merge pull request #68950 from peti/t/nixos-doc-fix

nixos: improve the example that shows how to include nvidia_x11 in boot.extraModulePackages
This commit is contained in:
Peter Simons 2019-09-22 11:53:52 +02:00 committed by GitHub
commit a486f0178d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.";
};