summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmery Hemingway <ehmry@posteo.net>2020-05-05 01:19:42 +0530
committerEmery Hemingway <ehmry@posteo.net>2020-05-05 01:24:25 +0530
commitd7d897fe2499df6a4ea561d7ed642d1c1f30c98e (patch)
treeb7e66dcbedce19649e49e72852d8568faf41d0a4
parentd928c96e3c86423e829779c84eef70848b835923 (diff)
downloadnixos-hardware-d7d897fe2499df6a4ea561d7ed642d1c1f30c98e.tar.gz
nixos-hardware-d7d897fe2499df6a4ea561d7ed642d1c1f30c98e.tar.xz
New dell/latitude/3480
The touchpad is painful to use unless the "psmouse" kernel module is disabled.
-rw-r--r--README.md1
-rw-r--r--dell/latitude/3480/default.nix14
2 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
index 08eb127..2fbf058 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,7 @@ See code for all available configurations.
| [Apple MacBook Pro 10,1][] | `<nixos-hardware/apple/macbook-pro/10-1>` |
| Apple MacBook Pro 12,1 | `<nixos-hardware/apple/macbook-pro/12-1>` |
| BeagleBoard PocketBeagle | `<nixos-hardware/beagleboard/pocketbeagle>` |
+| Dell Latitude 3480 | `<nixos-hardware/dell/latitude/3480>` |
| [Dell XPS E7240][] | `<nixos-hardware/dell/e7240>` |
| [Dell XPS 13 7390][] | `<nixos-hardware/dell/xps/13-7390>` |
| [Dell XPS 13 9360][] | `<nixos-hardware/dell/xps/13-9360>` |
diff --git a/dell/latitude/3480/default.nix b/dell/latitude/3480/default.nix
new file mode 100644
index 0000000..86be458
--- /dev/null
+++ b/dell/latitude/3480/default.nix
@@ -0,0 +1,14 @@
+{ lib, pkgs, ... }:
+
+{
+ imports = [
+ ../../../common/cpu/intel
+ ../../../common/pc/laptop
+ ../../../common/pc/laptop/ssd
+ ];
+
+ # touchpad goes over i2c
+ boot.blacklistedKernelModules = [ "psmouse" ];
+
+ services.xserver.videoDrivers = lib.mkDefault [ "intel" ];
+}