Skip to content

Commit

Permalink
add dell xps 9315
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent2916 authored and mergify[bot] committed Oct 4, 2024
1 parent a46a709 commit b7ca02c
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ See code for all available configurations.
| [Dell XPS 13 7390](dell/xps/13-7390) | `<nixos-hardware/dell/xps/13-7390>` |
| [Dell XPS 13 9300](dell/xps/13-9300) | `<nixos-hardware/dell/xps/13-9300>` |
| [Dell XPS 13 9310](dell/xps/13-9310) | `<nixos-hardware/dell/xps/13-9310>` |
| [Dell XPS 13 9315](dell/xps/13-9315) | `<nixos-hardware/dell/xps/13-9315>` |
| [Dell XPS 13 9333](dell/xps/13-9333) | `<nixos-hardware/dell/xps/13-9333>` |
| [Dell XPS 13 9343](dell/xps/13-9343) | `<nixos-hardware/dell/xps/13-9343>` |
| [Dell XPS 13 9350](dell/xps/13-9350) | `<nixos-hardware/dell/xps/13-9350>` |
Expand Down
18 changes: 18 additions & 0 deletions dell/xps/13-9315/README.wiki
Original file line number Diff line number Diff line change
@@ -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]
30 changes: 30 additions & 0 deletions dell/xps/13-9315/default.nix
Original file line number Diff line number Diff line change
@@ -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;
}
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,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-9315 = import ./dell/xps/13-9315;
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;
Expand Down

0 comments on commit b7ca02c

Please sign in to comment.