Enable some gaming stuff

This commit is contained in:
Natsu Kagami 2021-12-09 15:54:26 -05:00
parent b306c15471
commit af3a97533a
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
4 changed files with 155 additions and 10 deletions

View file

@ -253,5 +253,8 @@
# Gaming!
programs.steam.enable = true;
hardware.opengl.driSupport = true;
# For 32 bit applications
hardware.opengl.driSupport32Bit = true;
}

View file

@ -9,7 +9,7 @@
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.initrd.kernelModules = [ "dm-snapshot" "amdgpu" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
@ -29,4 +29,8 @@
# high-resolution display
hardware.video.hidpi.enable = lib.mkDefault true;
# GPU options
services.xserver.videoDrivers = [ "amdgpu" ];
hardware.opengl.enable = true;
}