add dell xps 9315

This commit is contained in:
Laureηt
2024-09-29 15:43:01 +02:00
committed by mergify[bot]
parent a46a7094ff
commit b7ca02c756
4 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
= Dell XPS 13 9315 =
See also
== Firmware upgrades ==
Note that this device is supported by [https://fwupd.org/ fwupd].
To perform firmware upgrades just activate the service
<code>
services.fwupd.enable = true;
</code>
Then use <code>fwupdmgr</code> to perform updates.
== Additional resources ==
* Arch linux wiki: [https://wiki.archlinux.org/title/Dell_XPS_13_(9315) Dell XPS 13 9315]

View File

@@ -0,0 +1,30 @@
{
lib,
pkgs,
...
}: {
imports = [
../../../common/cpu/intel
../../../common/pc/laptop
../../../common/pc/ssd
];
# enable firmwares with a license allowing redistribution
# this includes the Wi-Fi and Bluetooth firmwares
hardware.enableRedistributableFirmware = true;
# touchpad uses I²C, so PS/2 is unnecessary
boot.blacklistedKernelModules = ["psmouse"];
# enable finger print sensor
# configure with `sudo fprintd-enroll <username>`
services.fprintd.enable = true;
services.fprintd.tod.enable = true;
services.fprintd.tod.driver = pkgs.libfprint-2-tod1-goodix;
# enable updating firmware via `fwupdmgr`
services.fwupd.enable = true;
# enable cooling management, see NixOS/nixos-hardware#127
services.thermald.enable = lib.mkDefault true;
}