Add some AMD GPU stuff
This commit is contained in:
parent
7b01c5444a
commit
caa0ae4fe2
|
@ -16,12 +16,15 @@
|
||||||
|
|
||||||
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||||
|
|
||||||
|
# https://nixos.wiki/wiki/AMD_GPU
|
||||||
boot.initrd.kernelModules = ["amdgpu"];
|
boot.initrd.kernelModules = ["amdgpu"];
|
||||||
services.xserver.videoDrivers = ["amdgpu"];
|
services.xserver.videoDrivers = ["amdgpu"];
|
||||||
hardware.graphics.extraPackages = with pkgs; [
|
hardware.graphics.extraPackages = with pkgs; [
|
||||||
rocmPackages.clr.icd
|
rocmPackages.clr.icd
|
||||||
amdvlk
|
amdvlk
|
||||||
|
driversi686Linux.amdvlk
|
||||||
];
|
];
|
||||||
|
hardware.graphics.enable32Bit = true; # For 32 bit applications
|
||||||
|
|
||||||
# It is an open-source implementation of Nvidia’s Moonlight game streaming application
|
# It is an open-source implementation of Nvidia’s Moonlight game streaming application
|
||||||
services.sunshine = {
|
services.sunshine = {
|
||||||
|
|
Loading…
Reference in a new issue