about summary refs log tree commit diff
path: root/modules/hardware/tuxedo-pulse1502/default.nix
blob: 89ea78c559801cd2ced473c011c5ce0f63c13472 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, lib, ... }:

{
  options.vuizvui.hardware.tuxedo.pulse15.gen2.enable =
    lib.mkEnableOption "hardware support for the TUXEDO Pulse 15 - Gen2";

  config = lib.mkIf config.vuizvui.hardware.tuxedo.pulse15.gen2.enable {
    boot.kernelPatches = lib.singleton {
      name = "nvme-disable-d3cold";
      patch = ./nvme-suspend-quirk.patch;
    };
  };
}