From 04d501e90e86c2aac88cfe0e61eba7d4a6445c8c Mon Sep 17 00:00:00 2001 From: JohnMolotov Date: Fri, 20 Sep 2024 16:57:52 +1000 Subject: [PATCH] Add Dell XPS 13 9340 --- README.md | 1 + dell/xps/13-9340/default.nix | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 dell/xps/13-9340/default.nix diff --git a/README.md b/README.md index 1a264e2..a5523ec 100644 --- a/README.md +++ b/README.md @@ -133,6 +133,7 @@ See code for all available configurations. | [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 9340](dell/xps/13-9340) | `` | | [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-9340/default.nix b/dell/xps/13-9340/default.nix new file mode 100644 index 0000000..2fa1ef0 --- /dev/null +++ b/dell/xps/13-9340/default.nix @@ -0,0 +1,16 @@ +{ pkgs, lib, ... }: let inherit(lib) mkDefault; in { + imports = [ + ../../../common/cpu/intel + ../../../common/pc/laptop + ../../../common/pc/ssd + ../../../common/gpu/intel/meteor-lake + ]; + + # Allows for updating firmware via `fwupdmgr`. + services.fwupd.enable = mkDefault true; + + # This will save you money and possibly your life! + services.thermald.enable = mkDefault true; + + hardware.intelgpu.deviceID = "7d55"; +}