Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos: improve the example that shows how to include nvidia_x11 in boot.extraModulePackages #68950

Merged
merged 1 commit into from Sep 22, 2019

Conversation

peti
Copy link
Member

@peti peti commented Sep 17, 2019

Fixes #68931.

@@ -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 ]";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you put something similar to what's in the wiki as the description?
Just a note that you should always use config.boot.kernelPackages to ensure it's the correct module set.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry, but I don't have the time right now to pay attention to this problem. I may revisit this topic a bit later.

@peti peti merged commit a486f01 into NixOS:master Sep 22, 2019
@peti peti deleted the t/nixos-doc-fix branch September 22, 2019 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

boot.extraModulePackages = [ pkgs.linuxPackages.nvidia_x11 ] fails to build
2 participants