From 9e848e173ca83adf884815c66edc08652ef9ade8 Mon Sep 17 00:00:00 2001 From: Jan Heidbrink Date: Fri, 7 Jun 2024 18:30:13 +0200 Subject: [PATCH] add Dell Latitude 9430 --- README.md | 1 + dell/latitude/9430/default.nix | 19 +++++++++++++++++++ flake.nix | 1 + 3 files changed, 21 insertions(+) create mode 100644 dell/latitude/9430/default.nix diff --git a/README.md b/README.md index 906ab7e..a71f521 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,7 @@ See code for all available configurations. | [Dell Latitude 7390](dell/latitude/7390) | `` | | [Dell Latitude 7430](dell/latitude/7430) | `` | | [Dell Latitude 7490](dell/latitude/7490) | `` | +| [Dell Latitude 9430](dell/latitude/9430) | `` | | [Dell Poweredge R7515](dell/poweredge/r7515) | `` | | [Dell Precision 3541](dell/precision/3541) | `` | | [Dell Precision 5530](dell/precision/5530) | `` | diff --git a/dell/latitude/9430/default.nix b/dell/latitude/9430/default.nix new file mode 100644 index 0000000..f652e9a --- /dev/null +++ b/dell/latitude/9430/default.nix @@ -0,0 +1,19 @@ +{ lib, ... }: + +{ + imports = [ + ../../../common/cpu/intel + ../../../common/pc/laptop + ../../../common/pc/laptop/ssd + ]; + + boot.kernelParams = [ + # See https://discourse.nixos.org/t/i915-driver-has-bug-for-iris-xe-graphics/25006/12 + # jheidbrink reports that without this setting there is a very high lag in Sway which makes it unusable + "i915.enable_psr=0" + ]; + + # Make the webcam work (needs Linux >= 6.6): + hardware.ipu6.enable = true; + hardware.ipu6.platform = "ipu6ep"; +} diff --git a/flake.nix b/flake.nix index 3f69744..7ff195c 100644 --- a/flake.nix +++ b/flake.nix @@ -47,6 +47,7 @@ dell-latitude-7390 = import ./dell/latitude/7390; dell-latitude-7430 = import ./dell/latitude/7430; dell-latitude-7490 = import ./dell/latitude/7490; + dell-latitude-9430 = import ./dell/latitude/9430; dell-poweredge-r7515 = import ./dell/poweredge/r7515; dell-precision-3541 = import ./dell/precision/3541; dell-precision-5530 = import ./dell/precision/5530;