diff options
Diffstat (limited to '')
-rw-r--r-- | profiles/hardware/xps9300.nix | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/profiles/hardware/xps9300.nix b/profiles/hardware/xps9300.nix index 3e58c88..72a8b5e 100644 --- a/profiles/hardware/xps9300.nix +++ b/profiles/hardware/xps9300.nix @@ -1,12 +1,36 @@ -{ ... }: +{ config, pkgs, ... }: { imports = [ ./intel.nix ]; - boot.kernelParams = [ "mem_sleep_default=deep" ]; + boot.kernelParams = [ + "mem_sleep_default=deep" + ]; + + # Touchpad goes over i2c, and the psmouse module interferes with it + boot.blacklistedKernelModules = [ "psmouse" ]; + + # Includes the Wi-Fi and Bluetooth firmware for the QCA6390. + hardware.enableRedistributableFirmware = true; networking.wireless.iwd.enable = true; hardware.bluetooth.enable = true; services.blueman.enable = true; + + boot.initrd.kernelModules = [ "i915" "acpi_call" ]; + + environment.variables = { + VDPAU_DRIVER = "va_gl"; + }; + + hardware.opengl.extraPackages = with pkgs; [ + vaapiIntel + libvdpau-va-gl + intel-media-driver + ]; + + boot = { + extraModulePackages = with config.boot.kernelPackages; [ acpi_call ]; + }; } |