fix(nix): configure for dvr
This commit is contained in:
parent
401c441aba
commit
d48a1cd856
3 changed files with 23 additions and 3 deletions
|
@ -106,7 +106,13 @@
|
||||||
lutris
|
lutris
|
||||||
stremio
|
stremio
|
||||||
qbittorrent
|
qbittorrent
|
||||||
davinci-resolve
|
davinci-resolve-studio
|
||||||
|
|
||||||
|
# Required by DVR
|
||||||
|
kitty
|
||||||
|
mesa-demos
|
||||||
|
vulkan-tools
|
||||||
|
clinfo
|
||||||
|
|
||||||
aspell
|
aspell
|
||||||
aspellDicts.en
|
aspellDicts.en
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
boot.initrd.availableKernelModules =
|
boot.initrd.availableKernelModules =
|
||||||
[ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "usbhid" "sd_mod" ];
|
[ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "usbhid" "sd_mod" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,18 @@
|
||||||
|
|
||||||
# AMD
|
# AMD
|
||||||
hardware.cpu.amd.updateMicrocode = true;
|
hardware.cpu.amd.updateMicrocode = true;
|
||||||
hardware.graphics.enable = true;
|
hardware.graphics = {
|
||||||
|
enable = true;
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
mesa
|
||||||
|
libva
|
||||||
|
libvdpau-va-gl
|
||||||
|
vulkan-loader
|
||||||
|
vulkan-validation-layers
|
||||||
|
amdvlk
|
||||||
|
mesa.opencl
|
||||||
|
];
|
||||||
|
};
|
||||||
hardware.amdgpu.amdvlk.enable = true;
|
hardware.amdgpu.amdvlk.enable = true;
|
||||||
|
|
||||||
# Power
|
# Power
|
||||||
|
@ -111,6 +122,9 @@
|
||||||
CC = "gcc";
|
CC = "gcc";
|
||||||
LSP_USE_PLISTS = "true";
|
LSP_USE_PLISTS = "true";
|
||||||
MOZ_USE_XINPUT2 = "1";
|
MOZ_USE_XINPUT2 = "1";
|
||||||
|
RUSTICL_ENABLE="radeonsi";
|
||||||
|
ROC_ENABLE_PRE_VEGA = "1";
|
||||||
|
QT_QPA_PLATFORM = "xcb";
|
||||||
};
|
};
|
||||||
|
|
||||||
### Services
|
### Services
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue