fix(nix): fine tune amd gpu config
This commit is contained in:
parent
4c1565dec2
commit
a96642fc4a
1 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,9 @@
|
||||||
# Network Manager
|
# Network Manager
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
|
# Security
|
||||||
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
# Fonts
|
# Fonts
|
||||||
fonts = {
|
fonts = {
|
||||||
fontDir.enable = true;
|
fontDir.enable = true;
|
||||||
|
@ -61,6 +64,7 @@
|
||||||
hardware.cpu.amd.updateMicrocode = true;
|
hardware.cpu.amd.updateMicrocode = true;
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enable32Bit = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
mesa
|
mesa
|
||||||
libva
|
libva
|
||||||
|
@ -69,6 +73,7 @@
|
||||||
vulkan-validation-layers
|
vulkan-validation-layers
|
||||||
amdvlk
|
amdvlk
|
||||||
mesa.opencl
|
mesa.opencl
|
||||||
|
rocmPackages.clr.icd
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
hardware.amdgpu.amdvlk.enable = true;
|
hardware.amdgpu.amdvlk.enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue