fix: game fixes

This commit is contained in:
2024-12-10 23:39:09 +01:00
parent a3841b8c00
commit 04a5d87446
3 changed files with 17 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
{ config, ... }:
{ config, pkgs, ... }:
{
nixpkgs.config.nvidia.acceptLicense = true;
services.xserver.videoDrivers = [ "nvidia" ];
@@ -7,6 +7,17 @@
graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
egl-wayland
];
};
opengl = {
enable = true;
extraPackages = with pkgs; [
vaapiVdpau
libvdpau-va-gl
];
};
nvidia = {