mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +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
|
pkgs.addDriverRunpath.driverLink
|
||||||
|
|
||||||
# mesa:
|
# mesa:
|
||||||
config.hardware.opengl.package
|
config.hardware.graphics.package
|
||||||
|
|
||||||
# nvidia_x11, etc:
|
# nvidia_x11, etc:
|
||||||
] ++ config.hardware.opengl.extraPackages; # nvidia_x11
|
] ++ config.hardware.graphics.extraPackages; # nvidia_x11
|
||||||
|
|
||||||
defaults = {
|
defaults = {
|
||||||
nvidia-gpu.onFeatures = package.allowedPatterns.nvidia-gpu.onFeatures;
|
nvidia-gpu.onFeatures = package.allowedPatterns.nvidia-gpu.onFeatures;
|
||||||
|
@ -82,8 +82,8 @@ in
|
||||||
default = { };
|
default = { };
|
||||||
defaultText = lib.literalExpression ''
|
defaultText = lib.literalExpression ''
|
||||||
{
|
{
|
||||||
opengl.paths = config.hardware.opengl.extraPackages ++ [
|
opengl.paths = config.hardware.graphics.extraPackages ++ [
|
||||||
config.hardware.opengl.package
|
config.graphics.opengl.package
|
||||||
pkgs.addDriverRunpath.driverLink
|
pkgs.addDriverRunpath.driverLink
|
||||||
"/dev/dri"
|
"/dev/dri"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue