mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-18 17:44:06 +05:30
Just use mesa..
This commit is contained in:
parent
392b361944
commit
0c43e51e60
1 changed files with 6 additions and 3 deletions
|
@ -9,6 +9,8 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
services.fstrim.enable = true;
|
services.fstrim.enable = true;
|
||||||
|
services.lact.enable = true;
|
||||||
|
#services.lact.settings = {};
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "radeon" ];
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "radeon" ];
|
||||||
boot.initrd.kernelModules = [ "radeon" ];
|
boot.initrd.kernelModules = [ "radeon" ];
|
||||||
|
@ -45,8 +47,8 @@
|
||||||
enable32Bit = true;
|
enable32Bit = true;
|
||||||
package = (mesa.overrideAttrs fn).drivers;
|
package = (mesa.overrideAttrs fn).drivers;
|
||||||
package32 = (pkgsi686Linux.mesa.overrideAttrs fn).drivers;
|
package32 = (pkgsi686Linux.mesa.overrideAttrs fn).drivers;
|
||||||
extraPackages = with pkgs; [ amdvlk ];
|
#extraPackages = with pkgs; [ amdvlk ];
|
||||||
extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ];
|
#extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
hardware.opengl.extraPackages = [ pkgs.rocmPackages.clr.icd ];
|
hardware.opengl.extraPackages = [ pkgs.rocmPackages.clr.icd ];
|
||||||
|
@ -59,7 +61,8 @@
|
||||||
|
|
||||||
hardware.amdgpu.initrd.enable = true;
|
hardware.amdgpu.initrd.enable = true;
|
||||||
hardware.amdgpu.opencl.enable = true;
|
hardware.amdgpu.opencl.enable = true;
|
||||||
hardware.amdgpu.amdvlk.enable = true;
|
#hardware.amdgpu.amdvlk.enable = true;
|
||||||
|
#hardware.amdgpu.overdrive.enable = true;
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
VK_ICD_FILENAMES = "/run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json"; # fix for godot
|
VK_ICD_FILENAMES = "/run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json"; # fix for godot
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue