about summary refs log tree commit diff
path: root/modules/hardware/tuxedo-pulse1502/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hardware/tuxedo-pulse1502/default.nix')
-rw-r--r--modules/hardware/tuxedo-pulse1502/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/hardware/tuxedo-pulse1502/default.nix b/modules/hardware/tuxedo-pulse1502/default.nix
new file mode 100644
index 00000000..89ea78c5
--- /dev/null
+++ b/modules/hardware/tuxedo-pulse1502/default.nix
@@ -0,0 +1,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;
+    };
+  };
+}