hardware.opengl.extraPackages: move to machine-specific files
This commit is contained in:
parent
e73829d2e3
commit
5a10805287
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue