nixos-config/hardware/gpu-bumblebee.nix
Felix Schröter 7a0f98d20e
feat(gnome): activate wayland
This activates wayland support but keep gnome-xorg as the default
session since some applications do not run with this setup yet.
2021-08-04 22:25:56 +02:00

17 lines
325 B
Nix

{ config, pkgs, ... }:
{
# Graphics drivers
hardware.bumblebee.enable = true;
hardware.opengl = {
driSupport32Bit = true;
extraPackages = with pkgs; [ vaapiIntel vaapiVdpau libvdpau-va-gl ];
extraPackages32 = with pkgs.pkgsi686Linux; [
vaapiIntel
libvdpau-va-gl
vaapiVdpau
];
};
}