mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2025-05-12 21:20:37 +01:00
Nix/Hyprland on NixOS: Change hardware.opengl to hardware.graphics (#1056)
hardware.opengl has been deprecated in nixpkgs since 24.11
This commit is contained in:
parent
f7ebd8178d
commit
a38c1e5a5e
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ You can fix this issue by using `mesa` from Hyprland's `nixpkgs` input:
|
|||
{pkgs, inputs, ...}: let
|
||||
pkgs-unstable = inputs.hyprland.inputs.nixpkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system};
|
||||
in {
|
||||
hardware.opengl = {
|
||||
hardware.graphics = {
|
||||
package = pkgs-unstable.mesa.drivers;
|
||||
|
||||
# if you also want 32-bit support (e.g for Steam)
|
||||
|
|
Loading…
Reference in a new issue