From 9c0fa60e49cf29ae423efb1c54014ae5c8601941 Mon Sep 17 00:00:00 2001 From: s1341 Date: Mon, 19 Dec 2022 12:41:50 +0200 Subject: [PATCH] Latitude 7430: init --- README.md | 1 + dell/latitude/7430/default.nix | 21 +++++++++++++++++++++ flake.nix | 1 + 3 files changed, 23 insertions(+) create mode 100644 dell/latitude/7430/default.nix diff --git a/README.md b/README.md index d420276..120b781 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,7 @@ See code for all available configurations. | [Dell Latitude 3340](dell/latitude/3340) | `` | | [Dell Latitude 3480](dell/latitude/3480) | `` | | [Dell Latitude 5520](dell/latitude/5520) | `` | +| [Dell Latitude 7430](dell/latitude/7430) | `` | | [Dell Latitude 7490](dell/latitude/7490) | `` | | [Dell Poweredge R7515](dell/poweredge/r7515) | `` | | [Dell Precision 5530](dell/precision/5530) | `` | diff --git a/dell/latitude/7430/default.nix b/dell/latitude/7430/default.nix new file mode 100644 index 0000000..a7d737b --- /dev/null +++ b/dell/latitude/7430/default.nix @@ -0,0 +1,21 @@ +{ lib, pkgs, ... }: + +{ + imports = [ + ../../../common/cpu/intel + ../../../common/pc/laptop + ../../../common/pc/laptop/ssd + ]; + + boot.kernelParams = [ + # needed for Intel Iris Xe + "i915.force_probe=46a8" + "i915.enable_guc=3" + "i915.fastboot=1" + # needed for keyboard + "i8042.dumbkbd=1" + "i8042.nopnp=1" + ]; + + services.xserver.videoDrivers = lib.mkDefault [ "intel" ]; +} diff --git a/flake.nix b/flake.nix index 5c4f4c9..64d1351 100644 --- a/flake.nix +++ b/flake.nix @@ -28,6 +28,7 @@ dell-latitude-3340 = import ./dell/latitude/3340; dell-latitude-3480 = import ./dell/latitude/3480; dell-latitude-5520 = import ./dell/latitude/5520; + dell-latitude-7430 = import ./dell/latitude/7430; dell-latitude-7490 = import ./dell/latitude/7490; dell-poweredge-r7515 = import ./dell/poweredge/r7515; dell-precision-5530 = import ./dell/precision/5530;