mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 07:35:38 +00:00
fix: headless hardware acceleration
requires kernel module and firmware
This commit is contained in:
parent
472a2b965c
commit
04e8b8834e
@ -21,8 +21,9 @@ nixpkgs.lib.nixosSystem {
|
||||
|
||||
boot.initrd.availableKernelModules =
|
||||
[ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
powerManagement.cpuFreqGovernor = "powersave";
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
|
||||
|
@ -36,6 +36,7 @@
|
||||
# Enable VA-API for hardware transcoding
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
extraPackages = [ pkgs.libva ];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user