Skip to content

Commit

Permalink
nixos/nix-required-mounts: Fix outdated option hardware.opengl
Browse files Browse the repository at this point in the history
  • Loading branch information
ck3d committed Jan 11, 2025
1 parent 4200b91 commit 1f27537
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nixos/modules/programs/nix-required-mounts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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"
];
Expand Down

0 comments on commit 1f27537

Please sign in to comment.