Skip to content

Commit

Permalink
fix(hosts): hardware.opengl -> hardware.graphics
Browse files Browse the repository at this point in the history
  • Loading branch information
Lichthagel committed Jun 22, 2024
1 parent 1b94af5 commit 8f280c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion hosts/jdnixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,17 @@
boot.kernelModules = [ "sg" ];

# Enable OpenGL
hardware.opengl = {
hardware.graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
vaapiVdpau
libvdpau-va-gl
];
extraPackages32 = with pkgs.pkgsi686Linux; [
vaapiVdpau
libvdpau-va-gl
];
};

environment.variables = {
Expand Down
2 changes: 1 addition & 1 deletion hosts/jnbnixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
package = pkgs.mullvad-vpn;
};

hardware.opengl = {
hardware.graphics = {
enable = true;
};

Expand Down

0 comments on commit 8f280c0

Please sign in to comment.