hardware.opengl.extraPackages: move to machine-specific files

This commit is contained in:
colin 2022-07-02 23:53:55 -07:00
parent e73829d2e3
commit 5a10805287
3 changed files with 13 additions and 11 deletions

View File

@ -15,6 +15,12 @@
boot.loader.efi.canTouchEfiVariables = false;
colinsane.image.extraBootFiles = [ pkgs.bootpart-uefi-x86_64 ];
hardware.opengl.extraPackages = with pkgs; [
rocm-opencl-icd
rocm-opencl-runtime
amdvlk
];
# needed to use libimobiledevice/ifuse, for iphone sync
services.usbmuxd.enable = true;

View File

@ -10,6 +10,13 @@
boot.loader.efi.canTouchEfiVariables = false;
colinsane.image.extraBootFiles = [ pkgs.bootpart-uefi-x86_64 ];
hardware.opengl.extraPackages = with pkgs; [
intel-compute-runtime
intel-media-driver # new
libvdpau-va-gl # new
vaapiIntel
];
# default config: https://man.archlinux.org/man/snapper-configs.5
# defaults to something like:
# - hourly snapshots

View File

@ -40,17 +40,6 @@ with lib;
# powertop will default to putting USB devices -- including HID -- to sleep after TWO SECONDS
powerManagement.powertop.enable = false;
hardware.opengl.extraPackages = with pkgs; [
# laptop
intel-compute-runtime
intel-media-driver # new
libvdpau-va-gl # new
vaapiIntel
# desktop
rocm-opencl-icd
rocm-opencl-runtime
amdvlk
];
hardware.opengl.driSupport = true;
# For 32 bit applications
hardware.opengl.driSupport32Bit = true;