mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
nixos/nix-required-mounts: Fix outdated option hardware.opengl
This commit is contained in:
parent
ad2781b7a0
commit
37e2a80996
1 changed files with 4 additions and 4 deletions
|
@ -50,10 +50,10 @@ let
|
|||
pkgs.addDriverRunpath.driverLink
|
||||
|
||||
# mesa:
|
||||
config.hardware.opengl.package
|
||||
config.hardware.graphics.package
|
||||
|
||||
# nvidia_x11, etc:
|
||||
] ++ config.hardware.opengl.extraPackages; # nvidia_x11
|
||||
] ++ config.hardware.graphics.extraPackages; # nvidia_x11
|
||||
|
||||
defaults = {
|
||||
nvidia-gpu.onFeatures = package.allowedPatterns.nvidia-gpu.onFeatures;
|
||||
|
@ -82,8 +82,8 @@ in
|
|||
default = { };
|
||||
defaultText = lib.literalExpression ''
|
||||
{
|
||||
opengl.paths = config.hardware.opengl.extraPackages ++ [
|
||||
config.hardware.opengl.package
|
||||
opengl.paths = config.hardware.graphics.extraPackages ++ [
|
||||
config.graphics.opengl.package
|
||||
pkgs.addDriverRunpath.driverLink
|
||||
"/dev/dri"
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue