From 6dcf1381ec3a77901bbd8b014b8a0e29157f9688 Mon Sep 17 00:00:00 2001 From: Matthieu Dubuget Date: Thu, 3 Aug 2023 21:50:38 +0200 Subject: [PATCH] Adding Dell XPS 13 9333 --- README.md | 1 + dell/xps/13-9333/README.wiki | 9 +++++++++ dell/xps/13-9333/default.nix | 15 +++++++++++++++ flake.nix | 1 + 4 files changed, 26 insertions(+) create mode 100644 dell/xps/13-9333/README.wiki create mode 100644 dell/xps/13-9333/default.nix diff --git a/README.md b/README.md index 44b9fa3..093e950 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,7 @@ See code for all available configurations. | [Dell XPS 13 7390](dell/xps/13-7390) | `` | | [Dell XPS 13 9300](dell/xps/13-9300) | `` | | [Dell XPS 13 9310](dell/xps/13-9310) | `` | +| [Dell XPS 13 9333](dell/xps/13-9333) | `` | | [Dell XPS 13 9343](dell/xps/13-9343) | `` | | [Dell XPS 13 9350](dell/xps/13-9350) | `` | | [Dell XPS 13 9360](dell/xps/13-9360) | `` | diff --git a/dell/xps/13-9333/README.wiki b/dell/xps/13-9333/README.wiki new file mode 100644 index 0000000..97092c1 --- /dev/null +++ b/dell/xps/13-9333/README.wiki @@ -0,0 +1,9 @@ += Dell XPS 13 9300 = + +== SSD == + +In the default.nix file, I imported +../../../common/pc/ssd because my laptop has currently an SSD, but +I'm not sure if it was the case when I bought it or if I installed it later. + +The main updates allow the touchpad to work. diff --git a/dell/xps/13-9333/default.nix b/dell/xps/13-9333/default.nix new file mode 100644 index 0000000..d50da80 --- /dev/null +++ b/dell/xps/13-9333/default.nix @@ -0,0 +1,15 @@ +{ lib, pkgs, ... }: { + imports = [ + ../../../common/cpu/intel + ../../../common/pc/laptop + ../../../common/pc/ssd + ]; + + # Required to allow the touchpad to work + boot.kernelParams = [ "i8042.nopnp=1" ]; + boot.blacklistedKernelModules = [ "i2c_hid" "i2c_hid_acpi" ]; + boot.kernelModules = [ "synaptics_i2c"]; + + # Allows for updating firmware via `fwupdmgr`. + services.fwupd.enable = true; +} diff --git a/flake.nix b/flake.nix index 3d5bcfc..7fa6e29 100644 --- a/flake.nix +++ b/flake.nix @@ -39,6 +39,7 @@ dell-xps-13-7390 = import ./dell/xps/13-7390; dell-xps-13-9300 = import ./dell/xps/13-9300; dell-xps-13-9310 = import ./dell/xps/13-9310; + dell-xps-13-9333 = import ./dell/xps/13-9333; dell-xps-13-9343 = import ./dell/xps/13-9343; dell-xps-13-9350 = import ./dell/xps/13-9350; dell-xps-13-9360 = import ./dell/xps/13-9360;