Compare commits

...
611 Commits
Author SHA1 Message Date
Doron Behar ea392e9593 Merge pull request #2137 from JamieMagee/raspberry-pi-kernel-6.18.65
raspberry-pi/common/kernel: 6.18.60-stable_20261103 -> 6.18.65-stable_20261127
2026-11-29 13:17:06 +00:00
Jamie Magee 05f938961e raspberry-pi/common/kernel: 6.18.60-stable_20261103 -> 6.18.65-stable_20261127 2026-11-28 21:16:03 -08:00
Jörg Thalheim ec39df522f Merge pull request #2134 from JamieMagee/spacemit-k3-initrd
spacemit/k3-pico-itx: remove obsolete initrd option
2026-11-26 10:58:14 +00:00
Jamie Magee 9f495b5440 spacemit/k3-pico-itx: remove obsolete initrd option 2026-11-25 20:14:52 -08:00
Jörg Thalheim 97a30ee097 Merge pull request #1934 from soopyc/apple-t2-updates
apple/t2: 7.0 -> 7.2; replace t2-better-audio with ucm config
2026-11-24 19:49:42 +00:00
Doron Behar ff49dbf395 Merge pull request #2118 from JamieMagee/raspberry-pi-split/docs
raspberry-pi: remove generic overlay documentation
2026-11-24 07:26:35 +00:00
Jamie Magee 7e9d8b97c5 raspberry-pi: warn before switching to firmware device trees 2026-11-23 14:14:58 -08:00
Jamie Magee 5c1804b403 raspberry-pi: explain config.txt default overrides 2026-11-23 14:14:58 -08:00
Jamie Magee 428be44435 raspberry-pi: avoid USB setup and serial-console pins in overlay examples 2026-11-22 14:46:16 -08:00
Jamie Magee 54987e6989 raspberry-pi: remove generic PoE HAT documentation 2026-11-20 13:47:33 -08:00
Doron Behar 3347596611 Merge pull request #2119 from doronbehar/1line1sentence
raspberry-pi/README.md: adhere to the 1 line per sentence rule used in Nixpkgs
2026-11-18 16:19:06 +00:00
Doron Behar fb63a8c3c8 raspberry-pi/README.md: adhere to the 1 line per sentence rule used in Nixpkgs 2026-11-18 11:00:34 +02:00
Doron Behar d9da8426d8 Merge pull request #2083 from JamieMagee/raspberry-pi-split/audio
raspberry-pi: migrate audio to firmware configuration
2026-11-17 09:08:41 +00:00
Jamie Magee e2035d2e51 raspberry-pi: migrate audio to firmware configuration 2026-11-16 12:18:18 -08:00
Sandro eb3c90bd71 Merge pull request #2038 from 920anish/acer-nitro-5-an515-55
Add configuration for Acer Nitro 5 (AN515-55)
2026-11-13 19:17:31 +00:00
Jörg Thalheim 75206a855c Merge pull request #1983 from rtucek/gate-yt6801-for-older-kernels
TUXEDO: load Motorcomm YT6801 driver only if kernel is below v7.0
2026-11-13 10:54:27 +00:00
Doron Behar b6ca87f78e Merge pull request #2106 from JamieMagee/raspberry-pi-fix-u128
raspberry-pi: fix kernel build with Linux 7.3 headers
2026-11-11 19:36:45 +00:00
Jamie Magee 73ff92fe11 raspberry-pi: fix kernel build with Linux 7.3 headers 2026-11-11 11:19:26 -08:00
Doron Behar 37ba750aba Merge pull request #2105 from JamieMagee/raspberry-pi-kernel-6.18.60
raspberry-pi: update kernel to 6.18.60
2026-11-11 12:28:01 +00:00
Jamie Magee 4f3084df4c raspberry-pi/common/kernel: 6.18.50-stable_20260911 -> 6.18.60-stable_20261103 2026-11-10 10:46:50 -08:00
Jörg Thalheim 919c16cf46 Merge pull request #2091 from Alexthemediocre/surface-7.3
[microsoft/surface] Add linux-surface 7.3 kernel
2026-11-09 11:12:03 +00:00
Alexthemediocre ecdce73e8e Make surface "longterm" kernel actually LTS
Downgrades surface "longterm" from 6.19.8 (not LTS) to 6.18.60 (LTS)
2026-11-08 11:17:00 -05:00
Alexthemediocre f196c3a339 Add linux-surface 7.3 kernel 2026-11-08 10:47:05 -05:00
Jörg Thalheim 1a8ff4f57f Merge pull request #2086 from BerriJ/master
tuxedo/infinitybook: fix conditional tuxedo-drivers.enable=true;
2026-11-07 11:36:55 +00:00
Jörg Thalheim d645c71a58 Merge pull request #2081 from ScatteredCognition/dell-latitude-3530
dell/latitude/3530: init
2026-11-05 09:42:57 +00:00
Jörg Thalheim f73e0ac5c7 Merge pull request #2005 from toastal/HN7306EA-7.2
asus/proart/px13/hn7306eac: drop patches @ Linux 7.2
2026-11-05 09:42:33 +00:00
Dr. Jonathan Berrisch 11922fe5cc tuxedo/infinitybook: fix conditional tuxedo-drivers.enable=true; 2026-10-30 11:47:26 +01:00
Doron Behar 04c6b94fa1 Merge pull request #2073 from Cryolitia-Forks/rpi1-support
raspberry-pi/1: Add Raspberry Pi 1 support
2026-10-30 10:18:29 +00:00
Sandro b6754c901c Merge pull request #2067 from dmfrpro/fix-typo
asus/zephyrus/shared: fix param typo
2026-10-29 01:07:43 +00:00
920anish d256d94d78 Add configuration for Acer Nitro 5 (AN515-55) 2026-10-27 20:07:25 +05:45
Doron Behar 8ba09466dc Merge pull request #2084 from JamieMagee/raspberry-pi-split/pwm0
raspberry-pi: migrate PWM0 to its firmware overlay
2026-10-26 22:47:27 +00:00
Jamie Magee 6075dd2edd raspberry-pi: clarify PWM0 migration guidance 2026-10-25 15:18:55 -07:00
Jamie Magee 5d01b9f343 raspberry-pi: migrate PWM0 to its firmware overlay 2026-10-24 17:08:22 -07:00
Faeiz Mahrus 0cc5d9231c dell/latitude/3530: added README.md 2026-10-23 02:55:30 +06:00
Faeiz Mahrus 2dd7f53e50 dell/latitude/3530: init 2026-10-23 02:41:23 +06:00
Jörg Thalheim 1b418b8f20 Merge pull request #1926 from liberodark/bpi-sm10
bananapi/bpi-sm10: init
2026-10-22 19:28:46 +00:00
liberodark 4188fc24f4 bananapi/bpi-sm10: init 2026-10-22 19:05:01 +02:00
Rudolf Tucek c63b8f1c8c Merge remote-tracking branch 'upstream/master' into gate-yt6801-for-older-kernels
# By Jamie Magee (9) and others
# Via GitHub (29) and liberodark (1)
* upstream/master: (41 commits)
  spacemit/k3-pico-itx: Bump to kernel 7.3
  lenovo/thinkpad/x1/yoga/8th-gen: add ipu6 camera variant
  mnt/reform: output formatted nix code
  framework/16-inch: Remove libinput quirk
  raspberry-pi/firmware: stage vendor overlays independent of dtbSrc
  feat(gpd): enable ryzenadj PPT control on pocket-4 and win-mini 2024
  fix(gpd): de-dupe hardware.gpd.ppt module between duo and win-max-2
  thinkpad/x1-extreme/gen2: fix trackpad press events
  thinkpad/x1-extreme/gen2: improve CPU configuration
  build(deps): bump nixos-stable from `8eeec93` to `4c78701` in /tests
  build(deps): bump nixos-unstable-small in /tests
  build(deps): bump nixpkgs from `3497aa5` to `b1b8759`
  codeowners: add doronbehar to raspberry-pi
  raspberrypiWirelessFirmware: 0-unstable-2026-03-21 -> 0-unstable-2026-07-10
  raspberry-pi/common/kernel: 6.18.39-stable_20260724 -> 6.18.50-stable_20260911
  pc/laptop: do not enable tlp if tuned is enabled
  raspberry-pi: remove DigiAMP+ module
  raspberry-pi/2: Remove outdated README.org
  mnt/reform: convert update patches to derivation
  raspberry-pi: remove DWC2 module
  ...
2026-10-21 22:43:29 +02:00
Jörg Thalheim efb6d0d5e2 Merge pull request #2046 from liberodark/k73
spacemit/k3-pico-itx: Bump to kernel 7.3
2026-10-20 10:10:56 +00:00
liberodark 2736ebd70c spacemit/k3-pico-itx: Bump to kernel 7.3 2026-10-19 10:43:34 +02:00
Cryolitia PukNgae 11cefffd51 raspberry-pi/1: Add Raspberry Pi 1 support
The Raspberry Pi SD installer remains in nixpkgs, but its
sd-image-raspberrypi.nix configuration still selects
linuxKernel.packages.linux_rpi1. Commit b1c58b82b98f ("linux-rpi*: remove")
removed that kernel from nixpkgs, leaving the installer unable to
evaluate. Move the Pi 1 image configuration to nixos-hardware alongside
the vendor kernel.

The shared vendor kernel builder accepts rpiVersion = 1, but there is no
corresponding board profile. Add an ARMv6 profile with 32-bit U-Boot and
the shared firmware installer. Use the legacy boot and initrd settings
without the graphics defaults for newer boards. Provide SD-image and
installer modules adapted from the nixpkgs image, and exclude the
profile from checks without ARMv6 coverage.

The image has been cross-compiled but has not been tested on a board, as
no Pi 1 hardware was available.

Link: https://github.com/NixOS/nixpkgs/blob/b1c58b82b98ff287751c78ee2b96dc5c4384e3b3/nixos/modules/installer/sd-card/sd-image-raspberrypi.nix#L20
Link: https://github.com/NixOS/nixpkgs/commit/b1c58b82b98ff287751c78ee2b96dc5c4384e3b3
Signed-off-by: Cryolitia PukNgae <cryolitia@mercallure.com>
2026-10-19 16:01:58 +08:00
Cryolitia PukNgae 9d17af9966 raspberry-pi: Disable unused Pi 1 kernel modules
Nixpkgs enables optional kernel modules by default, including the RP1 PWM
and camera drivers and the DesignWare I2C driver. The ARM32 build fails in
modpost when these drivers reference __aeabi_uldivmod and __aeabi_ldivmod,
which are unavailable to kernel modules.

Disable the affected drivers when rpiVersion is 1. The Pi 1 uses BCM2835
peripherals and has no RP1 or DesignWare I2C controller, so these drivers
are not needed. The BCM2835 PWM and camera drivers remain enabled.

OpenWrt excludes the DesignWare I2C core on its older 32-bit Raspberry Pi
targets for the same reason.

Link: https://github.com/openwrt/openwrt/commit/11de7145c95259899d8880f4d53f933c591fbd00
Link: https://github.com/NixOS/nixpkgs/issues/464515
Signed-off-by: Cryolitia PukNgae <cryolitia@mercallure.com>
2026-10-19 16:01:18 +08:00
dmfrpro 2e1a5e1d39 asus/zephyrus/shared: fix param typo
Signed-off-by: dmfrpro <dmfr2021y@gmail.com>
2026-10-12 03:23:44 +03:00
Sandro 60a624466c Merge pull request #2057 from bittner/lenovo-x1-yoga-8th-gen-ipu6
lenovo/thinkpad/x1/yoga/8th-gen: add ipu6 camera variant
2026-10-11 12:32:43 +00:00
Peter Bittner a82e8dfe53 lenovo/thinkpad/x1/yoga/8th-gen: add ipu6 camera variant
The X1 Yoga Gen 8 ships with either a USB camera or a MIPI sensor behind
Intel's IPU6. The MIPI camera only exposes raw Bayer nodes, so
applications that speak plain V4L2, such as Zoom, find no camera. The
new ipu6 profile enables hardware.ipu6 for the Raptor Lake platform, and
a README explains how to tell the two cameras apart. The base profile
stays as it is, because enabling IPU6 there would pull Intel's
proprietary camera stack onto machines with the USB camera.
2026-10-10 01:10:49 +02:00
·𐑑𐑴𐑕𐑑𐑩𐑤 dcb92f1820 asus/proart/px13/hn7306eac: drop patches @ Linux 7.2
tas2783 patches appear to be upstreamed finally. Move assertion to the
top-level for Linux 7.0 at minimum.
2026-10-08 00:14:17 +07:00
Sophie Cheung 7082b48443 apple/t2: replace t2-better-audio with alsa ucm config
Signed-off-by: Sophie Cheung <git@soopy.moe>
2026-10-07 20:05:22 +08:00
Sophie Cheung bd9987b748 apple/t2: sort and add missing kernel configs
Signed-off-by: Sophie Cheung <git@soopy.moe>
2026-10-07 20:05:20 +08:00
Sophie Cheung 701eb9f269 apple/t2: pin kernel releases; upgrade version and patches
disconnect kernel versions from nixpkgs, which should avoid breaking users'
config when nixpkgs has a new version and some patches are incompatible,
and when a PR updating the patches are still waiting to be merged, like
in #2027.

Signed-off-by: Sophie Cheung <git@soopy.moe>
2026-10-07 20:05:18 +08:00
Adam Dinwoodie 4bc63156b1 Merge pull request #2056 from FrameworkComputer/framework-laptop16-removelibinput
framework/16-inch: Remove libinput quirk
2026-10-07 11:49:48 +00:00
Doron Behar 31cc5f4d9b Merge pull request #2044 from hatch01/fix-vendor-overlays
raspberry-pi/firmware: stage vendor overlays independent of dtbSrc
2026-10-04 15:36:41 +00:00
Doron Behar fd402c5c9f Merge pull request #2017 from leifhelm/fix-search
mnt/reform: convert update patches to derivation
2026-10-04 15:28:51 +00:00
Jakob Leifhelm bc8333d8ed mnt/reform: output formatted nix code 2026-10-04 15:53:14 +02:00
Ramses 0953bb1a60 Merge pull request #1992 from r-vdp/amdgpu-dcdebugmask-options
common/gpu/amd: add hardware.amdgpu.dcDebugMask options
2026-10-02 13:35:22 +00:00
Sandro 06f9ecaea5 Merge pull request #2054 from shymega/shymega-fix/de-dupe-gpd-ppt-duo
gpd: de-dupe hardware.gpd.ppt module across AMD devices
2026-09-29 23:00:12 +00:00
Daniel Schaefer 319435ef08 framework/16-inch: Remove libinput quirk
We have been on the libinput version that has this for two years now
858867aea9ad9c4b097948a97a147354185700d5

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-09-27 17:34:58 +02:00
eymeric 34fef44f65 raspberry-pi/firmware: stage vendor overlays independent of dtbSrc
install-rpi-firmware picks a single $dtbSrc for both the base .dtb
files and the overlays/ directory staged onto the firmware partition.
When useGenerationDeviceTree = true, $dtbSrc becomes
/run/current-system/dtbs, the NixOS generation's device-tree output.
That directory never has an overlays/ subdirectory unless the
generation was itself built with hardware.deviceTree.overlays, so the
"stage overlays from $dtbSrc/overlays" step silently does nothing, and
the stale-file prune then deletes any vendor .dtbo already sitting in
the firmware partition's overlays/ from a previous run.

In practice this makes
hardware.raspberry-pi.configtxt.deviceTreeOverlays
non-functional whenever useGenerationDeviceTree = true is also set - a
combination that legitimately occurs, e.g. a Pi 4 profile needing
apply-overlays-dtmerge/tc358743 (which requires the generation's
dtmerge-produced dtb as the base, since
boot.loader.generic-extlinux-compatible.useGenerationDeviceTree is
usually false with U-Boot enabled) together with a stock overlay like
dwc2 applied by the firmware from config.txt.

Stage vendor overlays from $firmwareBoot/overlays unconditionally,
since hardware.raspberry-pi.configtxt.deviceTreeOverlays entries are
matched against that vendor filename set regardless of where the base
dtb comes from. Additionally stage $dtbSrc/overlays when it differs
from $firmwareBoot and exists, so overlays produced by
hardware.deviceTree.overlays on the generation side still take
precedence over same-named vendor ones.

Related: #1946

Assisted-by: Claude sonnet 5 high
2026-09-27 11:00:58 +02:00
Dom Rodriguez d55480c9ac feat(gpd): enable ryzenadj PPT control on pocket-4 and win-mini 2024
Both are AMD-based GPD devices that didn't wire up the shared
hardware.gpd.ppt module.
2026-09-26 20:46:19 +01:00
Dom Rodriguez c21024523e fix(gpd): de-dupe hardware.gpd.ppt module between duo and win-max-2
Both devices defined their own copy of options.hardware.gpd.ppt, which
collides when every module is imported together (breaks
search.nuschtos.de). Move the shared module to gpd/ppt.nix and have
both devices import it.
2026-09-26 20:46:14 +01:00
Jörg Thalheim 30d48a0ec6 Merge pull request #1524 from shymega/add-gpd-duo
gpd/duo: init GPD Duo profile
2026-09-25 07:39:08 +00:00
Robert Helgesson 9ebcb77667 Merge pull request #1905 from kraker/lenovo-thinkpad-p1-nvidia
Add support for ThinkPad P1 Gen 5 with Intel and Nvidia GPUs
2026-09-21 08:09:32 +00:00
Robert Helgesson ee23a4a68a Merge pull request #1933 from mkorje/improve
apple/t2: improve firmware extraction
2026-09-21 06:53:39 +00:00
Robert Helgesson f426ed6c7a Merge pull request #2000 from panchoh/fix/nuc8
intel/nuc/8i7beh: add coffee-lake intel gpu, pc, sdd imports
2026-09-21 06:52:46 +00:00
Robert Helgesson 416ac5449a Merge pull request #1720 from rycee/x1-extreme-gen2-fixes
Minor Lenovo X1 Extreme Gen2 fixes
2026-09-21 06:51:56 +00:00
Robert Helgesson 2326b904ef thinkpad/x1-extreme/gen2: fix trackpad press events 2026-09-20 10:51:46 +02:00
Robert Helgesson 8ff87fffcf thinkpad/x1-extreme/gen2: improve CPU configuration
Specifically, explicitly configure for coffee-lake CPU.
2026-09-20 10:51:45 +02:00
Jörg Thalheim b2d7d02644 Merge pull request #2039 from NixOS/dependabot/nix/nixpkgs-b1b8759
build(deps): bump nixpkgs from `3497aa5` to `b1b8759`
2026-09-18 17:24:10 +00:00
Jörg Thalheim 5470f16efe Merge pull request #2040 from NixOS/dependabot/nix/tests/nixos-unstable-small-bc071da
build(deps): bump nixos-unstable-small from `d4a57f1` to `bc071da` in /tests
2026-09-18 17:24:03 +00:00
Jörg Thalheim 51c23b5c14 Merge pull request #2041 from NixOS/dependabot/nix/tests/nixos-stable-4c78701
build(deps): bump nixos-stable from `8eeec93` to `4c78701` in /tests
2026-09-18 17:23:57 +00:00
dependabot[bot] 0d5773cd29 build(deps): bump nixos-stable from 8eeec93 to 4c78701 in /tests
Bumps [nixos-stable](https://github.com/NixOS/nixpkgs) from `8eeec93` to `4c78701`.
- [Commits](https://github.com/NixOS/nixpkgs/commits)

---
updated-dependencies:
- dependency-name: nixos-stable
  dependency-version: 4c7870105e7f1fdf9c48688c8d7efc21abf0688a
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-17 02:06:43 +00:00
dependabot[bot] a6a3926fb0 build(deps): bump nixos-unstable-small in /tests
Bumps [nixos-unstable-small](https://github.com/NixOS/nixpkgs) from `d4a57f1` to `bc071da`.
- [Commits](https://github.com/NixOS/nixpkgs/commits)

---
updated-dependencies:
- dependency-name: nixos-unstable-small
  dependency-version: bc071daf4c377dd821398672fafe269d5c654ce8
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-17 02:06:28 +00:00
dependabot[bot] 8d1085c662 build(deps): bump nixpkgs from 3497aa5 to b1b8759
Bumps [nixpkgs](https://github.com/NixOS/nixpkgs) from `3497aa5` to `b1b8759`.
- [Commits](https://github.com/NixOS/nixpkgs/commits)

---
updated-dependencies:
- dependency-name: nixpkgs
  dependency-version: b1b875982b17dabde9b4a37f3e229e74913e6db3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-17 02:06:10 +00:00
Robert Helgesson c9b56a2497 Merge pull request #1858 from Stebalien/steb/fix-framework-audio-priorities
framework/13-inch: fix enhanced audio device priority
2026-09-16 18:35:20 +00:00
Doron Behar 9b881d7df9 Merge pull request #2035 from JamieMagee/raspberry-pi/stable-20260911
raspberry-pi: update kernel and wireless firmware
2026-09-16 10:08:36 +00:00
Doron Behar d40fd26f32 Merge pull request #2018 from JamieMagee/codeowners-raspberry-pi
codeowners: add doronbehar to raspberry-pi
2026-09-14 20:30:14 +00:00
Jamie Magee a2da909d03 codeowners: add doronbehar to raspberry-pi 2026-09-14 10:54:48 -07:00
Jamie Magee 9e57f21b40 raspberrypiWirelessFirmware: 0-unstable-2026-03-21 -> 0-unstable-2026-07-10 2026-09-11 15:10:39 -07:00
Jamie Magee d9d31dfb5e raspberry-pi/common/kernel: 6.18.39-stable_20260724 -> 6.18.50-stable_20260911 2026-09-11 15:10:39 -07:00
Sandro 24cfdc1f93 Merge pull request #2030 from thiagokokada/support-tuned
pc/laptop: do not enable tlp if tuned is enabled
2026-09-11 11:47:51 +00:00
Thiago Kenji Okada ed7ca8ec97 pc/laptop: do not enable tlp if tuned is enabled
TuneD is a maintained alternative for power-profile-daemon. If the user
manually enables it we should not try to enable TLP, otherwise they will
conflict with each other.
2026-09-09 20:37:12 +01:00
Doron Behar 83bbc89512 Merge pull request #2028 from doronbehar/no-RPI2-README.org
raspberry-pi/2: Remove outdated README.org
2026-09-09 08:33:16 +00:00
Doron Behar 62173785b9 Merge pull request #2019 from JamieMagee/raspberry-pi-digiamp-configtxt
raspberry-pi: remove DigiAMP+ module
2026-09-08 09:35:36 +00:00
Jamie Magee db65e8d432 raspberry-pi: remove DigiAMP+ module 2026-09-07 20:48:46 -07:00
Doron Behar dd2543c4eb raspberry-pi/2: Remove outdated README.org
Incorrect since #1947
2026-09-06 01:25:46 +03:00
Jakob Leifhelm 5ad14a9e0c mnt/reform: convert update patches to derivation 2026-09-02 18:08:05 +02:00
Doron Behar 44d95795ee Merge pull request #2012 from JamieMagee/raspberry-pi-dwc2-configtxt
raspberry-pi: remove DWC2 module
2026-09-02 07:47:42 +00:00
Jamie Magee 02545c60be raspberry-pi: remove DWC2 module 2026-09-01 16:17:21 -07:00
Doron Behar dc3f0cfde2 Merge pull request #1991 from JamieMagee/raspberry-pi-poe-overlays
raspberry-pi: migrate PoE HATs to config.txt overlays
2026-08-29 23:00:18 +00:00
Jamie Magee 7fcbbc78c2 raspberry-pi: migrate PoE HATs to config.txt overlays 2026-08-30 01:41:17 +03:00
pancho horrillo 7f0552abed intel/nuc/8i7beh: add pc ssd imports 2026-08-20 21:14:23 +02:00
pancho horrillo f5cda04f93 intel/nuc/8i7beh: use coffee-lake cpu config 2026-08-20 21:14:10 +02:00
figsoda 0471accf8d Merge pull request #1995 from lmb/p14s-camera
lenovo p14s amd gen6: add camera suspend quirk
2026-08-19 13:01:06 +00:00
Jörg Thalheim e8a8bfbbfa Merge pull request #1956 from liberodark/k3_mainline
spacemit/k3-pico-itx: move to mainline kernel
2026-08-19 07:56:10 +00:00
Lorenz Bauer 308e4f4c0d lenovo p14s amd gen6: add camera suspend quirk 2026-08-18 14:14:15 +00:00
liberodark 8ad652f9c9 spacemit/k3-pico-itx: move to mainline kernel 2026-08-17 12:51:44 +02:00
r-vdp 9408ef97db common/gpu/amd: add hardware.amdgpu.dcDebugMask options
This allows to combine several such options to get the right
hex value without any repeated kernel params.
Before this, the framework AI 300 got both 0x10 and 0x410 on
the cmdline with the order depending on the module system eval
order.

This also allows users to re-enable PSR on framework machines.
2026-08-17 10:48:17 +02:00
Doron Behar ff17823245 Merge pull request #1947 from JamieMagee/raspberry-pi-configtxt-overlays
raspberry-pi: add ordered config.txt overlays
2026-08-16 08:07:12 +00:00
Sandro 2dda192987 Merge pull request #1964 from colemickens/colemickens/k3-cross
k3-pico-itx: fix sdcard cross-build
2026-08-14 14:21:38 +00:00
Doron Behar 3e7edd9afe Merge pull request #1963 from JamieMagee/raspberry-pi/wireless-firmware
raspberry-pi: add wireless firmware to Pi 3 and 5
2026-08-12 10:02:55 +00:00
Doron Behar 6ed13b1d88 Merge pull request #1986 from JamieMagee/raspberry-pi-kernel
raspberry-pi/common/kernel: 6.18.34-stable_20260609 -> 6.18.39-stable_20260724
2026-08-11 08:30:54 +00:00
Jamie Magee b99aca5913 raspberry-pi/common/kernel: 6.18.34-stable_20260609 -> 6.18.39-stable_20260724 2026-08-10 16:25:50 -07:00
Rudolf Tucek a77eb1da40 Apply conditional kernel loading to other devices too 2026-08-09 01:30:25 +02:00
Rudolf Tucek a8e9cb2bc3 Load Motorcomm YT6801 only if kernel is below v7.0
TUXEDO used to recommend to install the Motorcomm YT6801 driver
manually, unless using one of their WebFAI-supported distributions.[^1]

However, starting with version v7.0[^2], the kernel has first-class
supported for the driver.

It's worth pointing out, that users may still manually apply
`linuxKernel.packages.*.yt6801` in order to apply the external kernel
module, supplied by the vendor directly.[^3]

[^1] https://www.tuxedocomputers.com/en/Motorcomm-YT6801-txtmotorcomm-yt6801-paket.tuxedo
[^2] https://github.com/torvalds/linux/commit/02ff155ea2812ea25a086665522fd4fa196ef0ce
[^3] https://github.com/NixOS/nixpkgs/blob/nixos-26.05/pkgs/os-specific/linux/yt6801/default.nix
2026-08-09 00:35:05 +02:00
Jamie Magee 7aefd9ab01 raspberry-pi/common: add ordered config.txt device tree overlays 2026-08-07 10:28:35 +03:00
Doron Behar 89c9653dcf raspberry-pi/common: remove builtins. redundent prelude to abort 2026-08-07 10:24:16 +03:00
Doron Behar 6ca00f6509 raspberry-pi/common: simplify a bit the recurse function 2026-08-07 10:23:28 +03:00
Doron Behar 5fbc0ff5d2 raspberry-pi/common: avoid with lib.types; in settings definition 2026-08-07 10:20:47 +03:00
Jamie Magee a5d06b9c82 raspberry-pi: add wireless firmware to Pi 3 and 5 2026-08-05 21:38:09 -07:00
Logan RawlinsandDom Rodriguez cf3de37ade gpd/duo: init GPD Duo profile
- Fix boot screen invertion.
- Add audio fixes for the Framework 13, given a shared chipset.
- Add Bluetooth fixes.
- Import AMD 7000-series GPU fix (Raphael).
- Add GPD PPT (TDP) control from GPD Win Max 2
- Set `panel_orientation` kernel parameter.
- Add AC wakeup fix as a config option; disabled by default.
- Enable `power-profiles-daemon` by default, and disable TLP - can be
  configured.
- Disable both PSR and PSR-SU on amdgpu module.
- Fix touchscreen properties - upside down rotation
- Update README.md for GPD Duo.

Co-authored-by: Dom Rodriguez <shymega@shymega.org.uk>
2026-07-28 16:52:47 +01:00
Doron Behar 2e790b0a6b Merge pull request #1821 from Stunkymonkey/dell-precision-5820
dell/precision/5820: init
2026-07-28 09:54:56 +00:00
Felix Buehler a969eee084 dell/precision/5820: init 2026-07-26 13:34:14 +02:00
Cole Mickens e37920a635 k3-pico-itx: fix sdcard cross-build 2026-07-25 15:13:52 -05:00
Jörg Thalheim a017f5b722 Merge pull request #1898 from liberodark/spacemit-k3
spacemit/k3-pico-itx: init
2026-07-22 12:39:14 +00:00
Jörg Thalheim 779c32a001 Merge pull request #1950 from NixOS/dependabot/nix/tests/nixos-stable-8eeec93
build(deps): bump nixos-stable from `a037402` to `8eeec93` in /tests
2026-07-17 17:56:08 +00:00
Jörg Thalheim 79ecfa27f2 Merge pull request #1951 from NixOS/dependabot/nix/tests/nixos-unstable-small-d4a57f1
build(deps): bump nixos-unstable-small from `51effaf` to `d4a57f1` in /tests
2026-07-17 17:19:33 +00:00
dependabot[bot] e8b0dcdc2d build(deps): bump nixos-unstable-small in /tests
Bumps [nixos-unstable-small](https://github.com/NixOS/nixpkgs) from `51effaf` to `d4a57f1`.
- [Commits](https://github.com/NixOS/nixpkgs/commits)

---
updated-dependencies:
- dependency-name: nixos-unstable-small
  dependency-version: d4a57f162b50db6d7e49580a772ccbdb3a1605a4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-16 02:06:31 +00:00
dependabot[bot] 4bff7ce522 build(deps): bump nixos-stable from a037402 to 8eeec93 in /tests
Bumps [nixos-stable](https://github.com/NixOS/nixpkgs) from `a037402` to `8eeec93`.
- [Commits](https://github.com/NixOS/nixpkgs/commits)

---
updated-dependencies:
- dependency-name: nixos-stable
  dependency-version: 8eeec934ae0dbeca3d7868c059568a65c08b2fc3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-16 02:06:11 +00:00
Doron Behar fccfa9031a Merge pull request #1945 from JamieMagee/fix/raspberry-pi-firmware-cross
raspberry-pi: fix cross-compiled SD images
2026-07-15 07:31:06 +00:00
Jamie Magee f185edb4e9 raspberry-pi/common: fix firmware install when cross-compiling 2026-07-14 15:33:54 -07:00
Doron Behar 8efb4337e8 Merge pull request #1932 from JamieMagee/raspberry-pi-4-dtmerge-default
raspberry-pi/4: enable apply-overlays-dtmerge by default
2026-07-11 17:58:54 +00:00
Jamie Magee a886e41b8e raspberry-pi/4: remove hard-coded CPU revision overlay 2026-07-10 23:03:29 -07:00
Tristan Ross 4471c6a218 Merge pull request #1941 from JamieMagee/fix/fydetab-duo-efi-boot-stub
fydetab-duo: declare efiBootStub kernel feature
2026-07-10 14:11:16 +00:00
Doron Behar 0b655af52b Merge pull request #1894 from JamieMagee/raspberry-pi-firmware-install
raspberry-pi: add firmware-partition install module
2026-07-10 08:54:40 +00:00
Jamie Magee f54c3bcb65 raspberry-pi/common: add firmware-partition install module
Adds hardware.raspberry-pi.firmware to stage the Pi's pre-Linux boot files (GPU boot code, DTBs, overlays, config.txt, optionally U-Boot) onto the firmware partition. Boards still boot via generic-extlinux-compatible; this only supplies the files it needs, through populateCmd for image builders or an opt-in activation script.

DTB/overlay copy adapted from nvmd/nixos-raspberrypi.
2026-07-09 23:03:00 -07:00
Jamie Magee f2dfc37f5b fydetab-duo: declare efiBootStub kernel feature 2026-07-09 14:43:25 -07:00
Doron Behar 968980fba2 Merge pull request #1938 from JamieMagee/raspberry-pi-enable-uart
raspberry-pi/common: enable UART by default for U-Boot
2026-07-09 07:29:17 +00:00
Jamie Magee cd78713bfd raspberry-pi/common: enable UART by default for U-Boot 2026-07-09 01:38:01 -05:00
Winter 662bd6e312 Merge pull request #1915 from lmb/p14s-acpi-ec
lenovo/p14s: remove acpi.ec_no_wakeup=1 on gen 6 amd
2026-07-06 20:45:51 +00:00
mkorje 48c8b5e0bd apple/t2: improve firmware extraction 2026-07-03 14:51:40 +10:00
Jörg Thalheim a9cf7546a9 Merge pull request #1787 from glyxambi/gf63
msi/gf63: init
2026-06-27 12:09:17 +00:00
Jörg Thalheim 603d3afd1b Merge pull request #1865 from toastal/asus-px13
asus/proart/px13/hn7306eac: init
2026-06-25 09:25:05 +00:00
·𐑑𐑴𐑕𐑑𐑩𐑤 3de9124f07 asus/proart/px13/hn7306eac: init
• fetching audio firmware
• providing a default pipewire config

Hopefully in the future, both of these can be kernel version gated as
everything is mainlined.
2026-06-24 16:07:50 +07:00
·𐑑𐑴𐑕𐑑𐑩𐑤 4c996be103 asus/proart/px13: init 2026-06-24 00:07:02 +07:00
Doron Behar 875776f025 Merge pull request #1848 from soopyc/apple-t2-updates
apple/t2: LTS 6.12 -> 6.18; latest 6.18 -> 7.0; update kernelParams
2026-06-22 22:08:28 +00:00
Doron Behar dd499a1e8a Merge pull request #1843 from langsjo/pascal-580
nvidia/pascal: use legacy_580 drivers by default
2026-06-22 22:07:26 +00:00
Sophie Cheung f7d7e1c0d5 apple/t2: LTS 6.12 -> 6.18; latest 6.18 -> 7.0; update kernelParams 2026-06-23 00:53:11 +03:00
langsjo f8efd451e7 nvidia/pascal: use legacy_580 drivers by default
590 and higher have dropped support for Pascal
2026-06-23 00:52:09 +03:00
Doron Behar a1b4dc7ff8 Merge pull request #1900 from NixOS/dependabot/nix/tests/treefmt-nix-db94781
build(deps): bump treefmt-nix from `2eddae0` to `db94781` in /tests
2026-06-22 21:49:49 +00:00
dependabot[bot] f6d162eb8f build(deps): bump treefmt-nix from 2eddae0 to db94781 in /tests
Bumps [treefmt-nix](https://github.com/numtide/treefmt-nix) from `2eddae0` to `db94781`.
- [Commits](https://github.com/numtide/treefmt-nix/compare/2eddae033e4e74bf581c2d1dfa101f9033dbd2dc...db947814a175b7ca6ded66e21383d938df01c227)

---
updated-dependencies:
- dependency-name: treefmt-nix
  dependency-version: db947814a175b7ca6ded66e21383d938df01c227
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-22 21:34:05 +00:00
Doron Behar 2564d80414 Merge pull request #1895 from JamieMagee/lenovo-ideapad-14imh9-sleep-settings
lenovo/ideapad/14imh9: fix deprecated systemd.sleep.extraConfig
2026-06-22 21:15:08 +00:00
Doron Behar aa741c485b Merge pull request #1918 from peat-psuwit/for-upstream/linux_rpi-6.18.34
raspberry-pi/common/kernel: 6.18.33-1+rpt1 -> 6.18.34-stable_20260609
2026-06-22 20:57:43 +00:00
Doron Behar b6f52e2b2c Merge pull request #1923 from a-fritsch/raspberry-pi/kernel-preempt-fix
raspberry-pi/common/kernel: fix preempt config on kernel >=6.18
2026-06-22 20:57:05 +00:00
Jamie Magee 85d72767a4 lenovo/ideapad/14imh9: use systemd.sleep.settings instead of deprecated extraConfig 2026-06-22 13:05:04 -05:00
Jamie Magee f1cf00348d tests: bump nixos-stable from 25.11 to 26.05 2026-06-22 13:05:04 -05:00
Alexander Fritsch bbe86a57e5 raspberry-pi/common/kernel: fix preempt config on kernel >=6.18 2026-06-19 14:59:11 +02:00
liberodark 57abfe19b2 spacemit/k3-pico-itx: init 2026-06-18 21:08:28 +02:00
Ratchanan Srirattanamet efaa9faad5 raspberry-pi/common/kernel: 6.18.33-1+rpt1 -> 6.18.34-stable_20260609
raspberrypi/linux GitHub repo starts getting tagged again, so use that.
2026-06-17 01:39:40 +07:00
Steven Allen e7358cddb9 framework/13-inch: fix enhanced audio device priority
On framework laptops, ensure that the "enhanced audio" sink for the
laptop speakers has a lower priority than bluetooth speakers (by giving
it the same priority as the laptop speakers, 1009 [1]). Bluetooth
speakers have a priority of 1010 [2] by default.

NOTE: the existing comment in the code claiming that higher values mean
lower priority is incorrect; lower priorities values mean lower priority.

[1] https://gitlab.freedesktop.org/pipewire/wireplumber/-/blob/7fa44ef8d0b2f603bd826d399718cef8cf6a800a/src/scripts/monitors/alsa.lua#L218
[2] https://gitlab.freedesktop.org/pipewire/wireplumber/-/blob/7fa44ef8d0b2f603bd826d399718cef8cf6a800a/src/scripts/monitors/bluez.lua#L275
2026-06-16 09:37:55 -07:00
Doron Behar 08018c7217 Merge pull request #1911 from JamieMagee/raspberry-pi/update-kernel-and-firmware
raspberry-pi: update kernel and wireless firmware
2026-06-16 15:12:36 +00:00
Lorenz Bauer e2c926a044 lenovo/p14s: remove acpi.ec_no_wakeup=1 on gen 6 amd
The referenced lore.kernel.org thread refers to a T14 Gen 5 and
I am unable to reproduce the problem on my machine as measured
by amd-s2idle:

    BIOS R2XET37W (1.17, 2025-11-07)   EC firmware 1.9

    config              duration   hw sleep   wake interrupt
    ec_no_wakeup=1      0:00:22    77.27%     ACPI SCI
    ec_no_wakeup=0      0:00:23    73.91%     ACPI SCI

The original report shows a difference of 60 percentage points.
2026-06-15 12:13:36 +01:00
Jamie Magee e0019f40a3 raspberry-pi/common: update wireless firmware
- firmware-nonfree: 1:20240709-2~bpo12+1+rpt3 -> 1:20250410-2+rpt1
- bluez-firmware: 1.2-9+rpt3 -> 1.2-13+rpt2
2026-06-13 20:45:30 -07:00
Jamie Magee 4292c91856 raspberry-pi/common/kernel: 6.12.75-1+rpt1 -> 6.18.33-1+rpt1 2026-06-13 20:45:30 -07:00
Jörg Thalheim 6358ff7682 Merge pull request #1803 from liberodark/msi_z370
msi/z370-pc-pro: init
2026-06-11 09:02:37 +00:00
Jörg Thalheim 0d09433eac Merge pull request #1676 from cguentherTUChemnitz/add-TUXEDO-InfinityBook-Pro-14-Gen10
Add tuxedo infinity book pro 14 gen10
2026-06-11 09:01:08 +00:00
liberodark e3230fe3cb Merge branch 'master' into msi_z370 2026-06-11 10:47:13 +02:00
Jörg Thalheim 32c2cd9e46 Merge pull request #1902 from govindsi/fix/imx9x_build
FIX: imx93 ATF compile fix with GCC 14+ and cross build fix for imx9x targets
2026-06-09 16:02:44 +00:00
Alex Kraker d9e50dd040 Add note about Wayland KMS requirement 2026-06-08 20:15:12 -05:00
Alex Kraker d765d66fd5 lenovo/thinkpad/p1: document finegrained power management in gen5
readme
2026-06-08 13:55:50 -05:00
Alex Kraker 0e5b1ce394 Add P1 Gen 5 module README 2026-06-08 12:27:13 -05:00
Alex Kraker d35f12f895 Add ThinkPad P1 Gen 5 base
Add support for P1 Gen 5 intel cpu architecture at `lenovo/thinkpad/p1/gen5`.
The `gen5/nvidia` opt-in GPU imports from there. Add p1-gen5 to flake
and README.
2026-06-08 12:17:25 -05:00
Alex Kraker f9fbbd15c3 Add support for ThinkPad Gen 5 Nvidia
Add support for ThinkPad Gen 5 with optional Nvidia GPU. This gen uses _ampere_
microarchitecture, so we import that module. We set defaults for the
Intel and Nvidia hardware bus ID's based on my own system which is this
hardware configuration.
2026-06-08 11:47:27 -05:00
Govind Singh 307a84fc96 compulab: ucm-imx95: fix cross-build of mkimage host tools
imx-mkimage runs on the build machine, but ucm-imx95-boot used target stdenv
and forced clang. Cross-building the SD image from x86_64 then failed building
mkimage_imx8 with "stdio.h not found", blocking flash.bin.

Build mkimage with buildPackages; keep firmware blobs from target pkgs.
2026-06-05 15:47:58 +04:00
Govind Singh d66213a72e nxp: imx93-evk: fix cross-build of mkimage host tools
When building the imx93 SD image from x86_64, imx93-boot used target pkgs for
the imx-mkimage derivation and its native tools (git, dtc, xxd). mkimage runs on
the build machine, but Nix tried to cross-compile git for aarch64 and failed
with "linker `cc` not found" while building libgitcore, blocking flash.bin and
the SD image.

Build mkimage with buildPackages (host tools) while keeping firmware inputs
(ATF, U-Boot, OP-TEE, etc.) from target pkgs.
2026-06-05 11:45:05 +04:00
Govind Singh e678820fd5 nxp: imx93-atf: fix GCC header-guard build failure
GCC 14+ treats the mismatched TRDC header guard in imx-atf as a hard error
(-Werror=header-guard), so bl31.bin does not build on our pinned revision.

Fetch the upstream fix (e194a14) as a patch without bumping the ATF revision.
2026-06-05 10:43:06 +04:00
Doron Behar 4ed851c979 Merge pull request #1896 from Malix-Labs/docs-flake-input
treewide: enhance flake inputs
2026-06-01 10:47:46 +00:00
Malix - Alix Brunet 43bd35ee23 treewide: make nixpkgs flake inputs target hydra tarballs 2026-06-01 12:34:58 +02:00
Malix - Alix Brunet 571b99c6aa docs: flake input nixpkgs harmonize capitalisation 2026-06-01 12:34:56 +02:00
Malix - Alix Brunet 485fe1c88d docs: flake input follows nixpkgs 2026-06-01 12:34:30 +02:00
Malix - Alix Brunet b28e08a81f docs: flake input fallback to default branch 2026-06-01 11:44:03 +02:00
Doron Behar b76b5639c0 Merge pull request #1723 from Malix-Labs/remove-impure-nixpkgs
enhancement: remove impure `<nixpkgs>`
2026-05-29 14:43:32 +00:00
d84f0810be enhancement: remove impure <nixpkgs>
Co-Authored-By: Jamie Magee <jamie.magee@gmail.com>
Co-Authored-By: Doron Behar <doron.behar@gmail.com>
2026-05-29 14:40:49 +03:00
Jörg Thalheim ef4efb8476 Merge pull request #1820 from mexisme/microsoft-surface/update-kernel-6.19.8
microsoft/surface: Update to Kernel 6.19.8
2026-05-26 20:12:53 +00:00
Doron Behar c97bc4d15b Merge pull request #1863 from JamieMagee/raspberry-pi/readme
raspberry-pi: add README
2026-05-20 06:26:11 +00:00
Jamie Magee 8b100f75f3 raspberry-pi: add README 2026-05-19 20:15:14 -07:00
liberodark 2f39770ca4 Merge branch 'master' into msi_z370 2026-05-18 18:44:15 +02:00
Jörg Thalheim 8792fab9d4 Merge pull request #1855 from nappairam/rock3c
Init Raxda Rock3C
2026-05-18 10:17:37 +00:00
Sandro 8ea1d787af Merge pull request #1875 from NixOS/settings-infinite-recursion
raspberry-pi/common: fix infinite recursion when building options.json
2026-05-17 22:49:04 +00:00
Daniel Schaefer 88e6bd5c2d Merge pull request #1845 from druth0/rex
google/rex: Add support for rex Chromebooks.
2026-05-17 16:12:20 +00:00
David Ruth 6cfa598d53 google/rex: Add support for rex Chromebooks.
These Chromebooks are laptops with ssds based on meteor-lake platforms.
2026-05-17 10:19:10 +08:00
Jörg Thalheim 379c1f274f Merge pull request #1876 from znmz/new-wiki-links
chore: update old wiki links (nixos.wiki -> wiki.nixos.org)
2026-05-16 15:27:52 +00:00
Jörg Thalheim b9130a10f4 Merge pull request #1879 from FrameworkComputer/framework-audio
framework: audio tuning is for classic chassis only
2026-05-16 15:27:39 +00:00
Jörg Thalheim 4b13247f04 Merge pull request #1878 from FrameworkComputer/framework-drop-bluetooth-workaround
framework: 6.11 remove bluetooth workaround
2026-05-16 15:27:14 +00:00
Daniel Schaefer 65a5c8f9c1 Merge pull request #1844 from druth0/redrix
google/brya: Add support for brya Chromebooks.
2026-05-16 09:41:01 +00:00
Daniel Schaefer b16dff6d15 framework: audio tuning is for classic chassis only
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-05-16 17:39:38 +08:00
David Ruth 3ee4d6d8a1 google/brya: Add support for brya Chromebooks.
These Chromebooks are laptops with ssds based on alder-lake platforms.
2026-05-16 17:27:49 +08:00
Daniel Schaefer 8db5dd4f10 framework: 6.11 remove bluetooth workaround
6.11 is EOL, see: https://kernel.org/

The workaround, is no longer needed, see:
https://github.com/FrameworkComputer/linux-docs/commit/ff5c08e826a6067cd1ac41f87a87ddda0c88532c

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-05-16 17:20:40 +08:00
znmz 0a47268607 chore: update old wiki links (nixos.wiki -> wiki.nixos.org) 2026-05-15 12:43:28 +03:00
Sandro Jäckel 50a9758cc0 raspberry-pi/common: fix infinite recursion when building options.json 2026-05-14 23:59:22 +02:00
mexisme 17e61aa283 Merge branch 'master' into microsoft-surface/update-kernel-6.19.8 2026-05-12 21:30:09 +01:00
Doron Behar 9bd7c80d43 Merge pull request #1824 from Gigahawk/rpi4-always-apply-overlay
raspberry/pi/4: disable compat checks when merging overlays
2026-05-12 13:37:22 +00:00
Doron Behar 0a1d15fc50 Merge pull request #1862 from JamieMagee/raspberry-pi/3-import-common
raspberry-pi/3: import common profile
2026-05-12 13:26:04 +00:00
Doron Behar c0573b3113 Merge pull request #1861 from JamieMagee/raspberry-pi/wire-configtxt
raspberry-pi: wire config.txt module into common profile
2026-05-12 13:25:37 +00:00
Christian Günther 5ba419fb7a add tuxedo infinitybook pro14 / pro15 gen10
Co-authored-by: Jost Alemann
<58050402+ddogfoodd@users.noreply.github.com> Co-authored-by: Jost
Alemann <58050402+ddogfoodd@users.noreply.github.com>

Signed-off-by: Christian Günther <christian.guenther@limatica.com>
2026-05-12 10:52:14 +02:00
Jasper Chan e315416e7b raspberry/pi/4: disable compat checks when merging overlays 2026-05-11 12:07:46 -07:00
mexisme 959cd47661 microsoft/surface: Update to Kernel 6.19.8 -- linux-surface patches for dirty-frag vulnerability 2026-05-10 23:51:32 +01:00
mexisme 03fb14a4e4 microsoft/surface: Update to Kernel 6.19.8 -- linux-surface patches 2026-05-10 23:50:55 +01:00
mexisme e0d66b4b92 microsoft/surface: Update to Kernel 6.19.8 -- kernel version 2026-05-10 23:27:19 +01:00
Doron Behar 3bcaa367d4 Merge pull request #1860 from JamieMagee/raspberry-pi/fix-localversion-modDirVersion
raspberry-pi: fix empty LOCALVERSION breaking modDirVersion
2026-05-07 08:49:21 +00:00
Mariappan Ramasamy dfe5922604 radxa/rock-3c: init
Add hardware support module for Radxa Rock 3C SBC (Rockchip RK3566).
- Introduces rockchip/rk3566 platform module exposing
  hardware.rockchip.rk3566.enable.
- New radxa/rock-3c module enables radxa, rk3566, and defaults
  platformFirmware to pkgs.ubootRock3C.
2026-05-07 16:35:55 +08:00
Jamie Magee 7bd5ab3ee5 raspberry-pi/3: import common profile
The Pi 3 profile didn't import ../common/default.nix, so it skipped
the shared boot.initrd.availableKernelModules (usb-storage, usbhid,
vc4). Every other board profile imports common/. Bring Pi 3 in line.
2026-05-05 14:04:57 -07:00
Jamie Magee 105c702c2e raspberry-pi: wire config.txt module into common profile
PR #1788 added hardware.raspberry-pi.configtxt and a defaults file,
but nothing imported them, so the options had no effect. Import both
from common/default.nix. Board profiles that already import common/
(2, 4, 5) now apply the pi-gen-equivalent defaults.
2026-05-05 14:04:51 -07:00
Jamie Magee ae243122dd raspberry-pi: restore postConfigure sed for LOCALVERSION
freeform "" can't emit an empty string through nixpkgs mkValue; it renders as the literal "", so CONFIG_LOCALVERSION ends up two chars and modDirVersion becomes 6.12.75"". Bring back the sed from before #1841.

Fixes #1859.
2026-05-05 13:34:59 -07:00
Doron Behar df7783100b Merge pull request #1841 from JamieMagee/raspberry-pi/structuredExtraConfig-only
raspberry-pi: add structuredExtraConfig for vendor kernel
2026-05-04 17:58:44 +00:00
Doron Behar f1b7ff92cd Merge pull request #1856 from doronbehar/nxp-no-import-nixpkgs
nxp*: remove dead code
2026-05-04 17:12:59 +00:00
Doron Behar ece5a2c7bd nxp*: remove dead code 2026-05-04 19:58:43 +03:00
Doron Behar 9fd075073d Merge pull request #1857 from doronbehar/purism-librem-5r4-uboot
.#purism-librem-5r4-uboot: promote from a private package
2026-05-04 16:55:48 +00:00
Jamie Magee 88cd2fa6e9 raspberry-pi: match RPi vendor defconfigs in kernel config
Override the nixpkgs common-config.nix values that conflict with the RPi
vendor defconfigs. Without these the kernel config silently differs from
the vendor defconfig.

mkForce is used only on options where nixpkgs common-config sets a
conflicting value at normal priority.

Ref: https://github.com/raspberrypi/linux/tree/rpi-6.12.y/arch/arm64/configs
2026-05-04 08:50:24 -07:00
Jamie Magee 554e00a592 raspberry-pi: replace postConfigure sed hack with structuredExtraConfig
Set CONFIG_LOCALVERSION via structuredExtraConfig instead of patching
.config and auto.conf with sed after configure. The vendor defconfigs
set -v7, -v8, -v8-16k which breaks modDirVersion.
2026-05-04 08:49:55 -07:00
Doron BeharandMalix - Alix Brunet a5e3b25c4a .#purism-librem-5r4-uboot: promote from a private package
Co-Authored-By: Malix - Alix Brunet <alixbrunetcontact@gmail.com>
2026-05-04 18:39:23 +03:00
Doron Behar 10c5286181 Merge pull request #1840 from JamieMagee/raspberry-pi/dtb-fixup
raspberry-pi: fix DTB name mapping for U-Boot
2026-05-04 12:09:10 +00:00
Doron Behar 61034489c2 Merge pull request #1822 from peat-psuwit/for-upstream/linux_rpi-6.12.75
raspberry-pi/common/kernel: 6.12.47-stable_20250916 -> 6.12.75-1+rpt1
2026-05-04 11:40:28 +00:00
Ratchanan Srirattanamet e879889fe2 raspberry-pi/common/kernel: 6.12.47-stable_20250916 -> 6.12.75-1+rpt1
As mentioned in Nixpkgs PR [^1], Raspberry Pi folks stop tagging both
raspberrypi/linux and raspberrypi/firmware GitHub repo. So, I switched
my reference point to Raspberry Pi OS, which publishes their packaging
for Linux kernel in RPi-Distro/linux-packaging.

The version is set to Debian packaging's version, and the commit comes
from the changelog entry for that version.

The old code structure is somewhat kept in case Raspberry Pi ever tags
their raspberrypi/linux repo again.

[^1]: https://github.com/NixOS/nixpkgs/pull/493115
2026-05-04 15:50:53 +07:00
Jamie Magee 57fd23db81 raspberry-pi: fix DTB name mapping for U-Boot
- Gate on rpiVersion instead of architecture; skip for Pi 4+ where
  vendor and upstream DTB names already match
- Fix bcm2835-rpi-zero.dtb: was copied from bcm2708-rpi-b-plus (wrong
  board), now uses bcm2708-rpi-zero
- Drop bcm2711-rpi-4-b -> bcm2838-rpi-4-b copy; nothing uses bcm2838-*

Ref: https://github.com/u-boot/u-boot/blob/master/board/raspberrypi/rpi/rpi.c
2026-05-03 12:53:10 -07:00
Doron Behar eeb02f6e29 Merge pull request #1798 from m00wl/nuc7i3bnb
Add support for Intel NUC 7i3BNB
2026-05-03 08:14:06 +00:00
Doron Behar 4296967ed5 Merge pull request #1834 from JamieMagee/dependabot-nix
Add `tests` directory to Dependabot nix configuration
2026-05-03 08:00:11 +00:00
Doron Behar 1a9b2d1633 Merge pull request #1773 from fkokosinski/rpi5
raspberry-pi/5: set generic-extlinux-compatible by default
2026-05-03 07:55:26 +00:00
Doron Behar 367d09140b Merge pull request #1847 from doronbehar/ignore-nixfmt-commit
.git-blame-ignore-revs: ignore nixfmt commit
2026-05-03 07:52:14 +00:00
Doron Behar 7c1204314f Merge pull request #1839 from JamieMagee/raspberry-pi/replace-overrideDerivation
raspberry-pi: replace deprecated lib.overrideDerivation with .overrideAttrs
2026-05-03 07:43:21 +00:00
Doron Behar 55b4b43081 .git-blame-ignore-revs: ignore nixfmt commit 2026-04-29 09:20:23 +03:00
Jamie Magee d7514338e2 raspberry-pi: replace lib.overrideDerivation with .overrideAttrs
lib.overrideDerivation is deprecated and strips passthru attributes
(.configfile, .moduleBuildDependencies, etc.) from the kernel
derivation, which breaks downstream users expecting a standard
buildLinux output.

.overrideAttrs preserves passthru and matches every other custom
kernel in this repo.
2026-04-24 14:43:21 -07:00
Daniel Schaefer 2096f3f411 Merge pull request #1836 from nekronos/framework13-import-ultra-series-3
framework: import ultra series 3 in flake
2026-04-23 22:38:56 +00:00
Vegard Strand Lende dcc512b7fe framework: import ultra series 3 in flake 2026-04-23 11:12:31 +02:00
Jamie MageeandCopilot 56ea606134 Add tests directory to Dependabot nix configuration
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 09:04:45 -07:00
Jörg Thalheim 72674a6b55 Merge pull request #1825 from JamieMagee/dependabot-nix
Add Dependabot for nix flake updates
2026-04-22 04:06:35 +00:00
Jörg Thalheim ba0deeb605 Merge pull request #1831 from FrameworkComputer/framework13-intel-core-ultra-series-3
framework: Add Laptop 13 Intel Core Ultra Series 3
2026-04-22 04:05:45 +00:00
Daniel Schaefer 132bbca15c framework: ultra3: Allow unl0kr in initrd
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-04-22 06:29:32 +08:00
Daniel Schaefer 0e2bafe2b5 framework: ultra 3: 6.17 minimum kernel
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-04-22 06:29:32 +08:00
Daniel Schaefer bacd3ee7a9 framework: Add Laptop 13 Intel Core Ultra Series 3
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-04-22 06:29:32 +08:00
Filip Kokosiński 8adb8e570b raspberry-pi/5: set generic-extlinux-compatible by default
This allows the generic ubootRaspberryPiAarch64 package from nixpkgs to
be used with Raspberry Pi 5.

Signed-off-by: Filip Kokosiński <filip.kokosinski@gmail.com>
2026-04-15 21:13:12 +02:00
Jamie Magee cbf2dc32fa Add Dependabot for nix flake updates
See https://github.blog/changelog/2026-04-07-dependabot-version-updates-now-support-the-nix-ecosystem/
2026-04-10 09:45:56 -07:00
liberodark 427df66072 Merge branch 'master' into msi_z370 2026-04-07 10:14:51 +02:00
Florian c775c2772b Merge pull request #1817 from k0ral/fix/int-tostring
fix(raspberry-pi): Explicitly convert integers to strings
2026-04-06 15:41:53 +00:00
Daniel Schaefer bd363ef3d7 Merge pull request #1796 from gcugnet/fix/framework-12th-gen-blacklist-mkif
framework/12th-gen-intel: fix blacklistedKernelModules using lib.mkIf
2026-04-06 14:48:09 +00:00
Guillaume Cugnet 1b0b84259f framework/12th-gen-intel: fix blacklistedKernelModules using lib.mkIf
lib.mkIf returns an attrset, not a string, so it cannot be used
as a list element. Replace with lib.optional.

Fixes: error: expected a string but found a set: { _type = "if"; ... }
2026-04-04 10:39:26 +02:00
Jörg Thalheim 80afbd13ee Merge pull request #1775 from mexisme/microsoft-surface/update-kernel-6.18.13
microsoft/surface: Update to kernel 6.18.13
2026-04-03 08:07:27 +00:00
mexisme 62550a8541 Merge master into microsoft-surface/update-kernel-6.18.13 2026-04-03 08:52:54 +01:00
koral 4593bb129d fix(raspberry-pi): Explicitly convert integers to strings 2026-04-01 20:47:00 +02:00
liberodark c0debd82c6 msi/z370-pc-pro: init 2026-03-31 18:50:24 +02:00
Jörg Thalheim f4c4c2c0c9 Merge pull request #1768 from concatime/feature/add-missing-modules-of-rpi5
Add netboot support for Raspberry Pi 5
2026-03-31 05:04:29 +00:00
Jörg Thalheim 4bf5422a66 Merge pull request #1772 from philip-maus/latitude-7430-caps-lock-led
dell/latitude/7430: Enable Caps Lock LED
2026-03-31 05:02:48 +00:00
Jörg Thalheim 9001f8d383 Merge pull request #1774 from fkrestan/dell-latitude-e7440
Add Dell Latitude E7440
2026-03-31 05:02:35 +00:00
Jörg Thalheim 4d7e4d9aef Merge pull request #1777 from florianvazelle/hydra
Add hydra jobs & flake packages for Raspberry Pi kernels
2026-03-31 04:52:36 +00:00
Jörg Thalheim 504b7c9083 Merge pull request #1783 from k0ral/koral/raspberry-poe-fan
feat(raspberry-pi): Temperature thresholds for fan speed of PoE HAT can now be configured
2026-03-31 04:52:00 +00:00
Jörg Thalheim 8a2c27614b Merge pull request #1779 from WaffleLapkin/disable-user-service
don't set removed option `asusd.enableUserService`
2026-03-31 04:50:39 +00:00
Jörg Thalheim 47869aa5e0 Merge pull request #1784 from Crazzygamerr/acer-predator-helios
Add configuration for Acer Predator Helios 300 (PH315-51)
2026-03-31 04:50:19 +00:00
Jörg Thalheim a412f3c0fa Merge pull request #1788 from JamieMagee/raspberry-pi-config-txt
raspberry-pi: add config.txt generation module
2026-03-31 04:48:18 +00:00
Jörg Thalheim 0a38829741 Merge pull request #1802 from liberodark/patch-1
‎starfive/visionfive/v2 : Update sdImage.imageName to image.fileName
2026-03-31 04:45:54 +00:00
Jörg Thalheim c54a07ade5 Merge pull request #1804 from liberodark/msi_a10sc
msi/prestige/15-a10sc: init
2026-03-31 04:44:44 +00:00
Jörg Thalheim 91345ae723 Merge pull request #1806 from detroyejr/thinkpad-p15v-gen3
lenovo-thinkpad-p15v-intel-gen3: init
2026-03-31 04:41:45 +00:00
Jörg Thalheim b398e8a4d3 Merge pull request #1809 from leifhelm/reform-kernel
Reform kernel
2026-03-31 04:35:42 +00:00
Jörg Thalheim 1dd39e1070 Merge pull request #1815 from eirc/asus-tuf-fa506nc
feat: add Asus TUF FA506NC
2026-03-31 04:34:56 +00:00
Jörg Thalheim 7cac1418ec Merge pull request #1813 from Luflosi/apple-t2-update-stable
apple/t2: sync stable patches
2026-03-31 04:34:07 +00:00
Jörg Thalheim b8f8163692 Merge pull request #1795 from skorpy2009/lenovo/thinkpad/p14s/amd/gen6
lenovo/thinkpad/p14s/amd/gen6: init
2026-03-29 09:41:15 +00:00
Eric Cohen 9c40116477 feat: add Asus TUF FA506NC 2026-03-28 14:48:27 +02:00
Luflosi 32aaef58b3 apple/t2: sync stable patches
Done with
```sh
cd apple/t2/pkgs/linux-t2
./update-patches.py --branch 6.12 stable.json
cd -
```
2026-03-28 11:06:37 +01:00
Jörg Thalheim 3f6f874dfc Merge pull request #1812 from NixOS/hardware-team
README: fix meeting dates
2026-03-26 23:28:31 +00:00
Jörg Thalheim d7f8bc5814 README: fix meeting dates 2026-03-27 00:13:08 +01:00
Jörg Thalheim 1c9e124b26 Merge pull request #1811 from KeyZox71/readme-fix
README: fixed typo issue
2026-03-26 23:12:06 +00:00
adjoly 9c16fd3021 「🔨」 fix(README): fixed typo issue 2026-03-26 15:18:52 +01:00
Sandro de895be946 Merge pull request #1710 from LukeChannings/master
apple/t2 - update latest kernel to 6.19 (from 6.16)
2026-03-25 19:05:23 +00:00
Jakob Leifhelm 8eb0dc5982 mnt/reform: enable graphics by default 2026-03-25 16:52:58 +01:00
Jakob Leifhelm 008beed698 mnt/reform: uboot remove unnecessary output 2026-03-25 16:52:44 +01:00
Jakob Leifhelm 9f9eeaf9ab mnt/reform: linux 6.18.8 -> 6.19.6 2026-03-25 16:51:08 +01:00
Jörg Thalheim 632e4bfc21 Merge pull request #1764 from mexisme/microsoft-surface/remove-kernels-6.12-6.15
microsoft/surface: remove kernels 6.12 6.15
2026-03-25 07:15:43 +00:00
detroyejr c08d68e7f2 lenovo/thinkpad/p15v/intel/gen3: init 2026-03-24 19:45:40 -04:00
liberodark 36de8ed231 msi/prestige/15-a10sc: init 2026-03-23 23:29:49 +01:00
liberodark 1a2f8e70ee Update sdImage.imageName to image.fileName 2026-03-23 21:02:24 +01:00
Jörg Thalheim 2d4b4717b2 Merge pull request #1750 from samemrecebi/machc-wa-update
machc-wa: updated the config to match up with the current common modules
2026-03-20 14:51:03 +00:00
Moritz Lumme 0792ebc333 Add support for Intel NUC 7i3BNB 2026-03-19 09:42:59 +01:00
Emre Cebi ca71a11256 machc-wa: updated the config to match up with the current common modules 2026-03-19 02:31:21 +00:00
Anna Frühling d104e2a8d2 lenovo/thinkpad/p14s/amd/gen6: init 2026-03-17 10:41:57 +01:00
Jörg Thalheim f8e82243fd Merge pull request #1791 from e-psi-lon/feat/asus-fa706ic
feat: add Asus TUF FA706IC
2026-03-15 00:16:05 +00:00
Jörg Thalheim 1bb9dfb405 asus/fa706ic: drop redundant nvidia settings
modesetting.enable and nvidiaSettings already default to true in
nixpkgs. open was set to false via mkDefault but the imported ampere
module overrides it to true with mkOverride 990, making the setting
ineffective anyway.
2026-03-15 01:00:58 +01:00
Jörg Thalheim df40dce33f Merge pull request #1792 from t184256/onenetbook4-newer-kernels
onenetbook/4: update stylus patch for 6.18 / 7.0
2026-03-14 23:58:25 +00:00
mystic-neutron d593602e66 update: enable powerManagement 2026-03-14 19:33:41 -04:00
Alexander Sosedkin 2661c93c16 onenetbook/4: update stylus patch for 6.17, 6.18.18+, 6.19.8+ 2026-03-14 12:23:25 +01:00
Luke Channings 24a01e1c19 update latest kernel to 6.18 2026-03-12 10:43:01 +00:00
Lilian Maulny (e_ψ_lon) 66288b2e35 feat: add Asus TUF FA706IC 2026-03-11 21:20:19 +01:00
Jamie Magee b4766ffecf config-txt: fix null removal, file option as types.path
null was not in the settings type, so mkForce null to remove a default
was a type error. Added nullOr to atom and filter nulls in recurse.

Changed file from types.str to types.path with pkgs.writeText — this
is how services.mysql.configFile and similar options work. Moved the
generated file into the option default (with defaultText) rather than
setting it in the config block.
2026-03-09 21:22:51 -07:00
Jamie Magee a688dfcbb5 raspberry-pi: add config.txt generation module
Two new files in raspberry-pi/common/:

config-txt.nix lets you declare config.txt contents through
hardware.raspberry-pi.configtxt.settings (RFC 42 style — plain
values, null to remove, no enable/value wrappers).

config-txt-defaults.nix has the same defaults as Raspberry Pi OS:
vc4-kms-v3d, audio on, arm_boost, CM4 otg_mode, CM5 dwc2, etc.
All mkDefault so they are easy to override.

Not wired into board profiles yet — that comes with the RPi 5
sub-module work. Based on nvmd/nixos-raspberrypi.
2026-03-08 23:18:35 -07:00
Rishi Balamurugan f8d60e5106 Merge branch 'master' into acer-predator-helios 2026-03-08 14:38:40 -04:00
glyxambi 6a447e6e87 msi/gf63: init 2026-03-08 23:42:25 +05:30
Jörg Thalheim 3966ce987e Merge pull request #1786 from cmspam/patch-2
Removed deprecated asusd user service in ga402x
2026-03-08 12:23:50 +00:00
Jörg Thalheim 32b46b83df acer/predator/helios/300: remove redundant options
boot.initrd.availableKernelModules and boot.kernelModules are
machine-specific and belong in the user's hardware-configuration.nix
as generated by nixos-generate-config.

nvidia.open is already set by common/gpu/nvidia/pascal (Pascal GPUs
don't support the open driver). nvidiaSettings defaults to true in
the NixOS nvidia module. graphics.enable/enable32Bit should be left
to the user or their desktop environment to decide.
2026-03-08 12:19:55 +01:00
mystic-neutron 31817e8d9d added: Default config for Acer Predator Helios 300 2026-03-08 12:16:03 +01:00
cmspam e819cfedc7 Removed deprecated asusd user service. 2026-03-08 18:16:49 +09:00
koral cbbc29c7f3 feat(raspberry-pi): Temperature thresholds for fan speed of PoE HAT can now be configured 2026-03-07 10:13:36 +01:00
Waffle Lapkin d0e1360453 don't set removed option asusd.enableUserService 2026-03-02 15:01:39 +01:00
Issam E. Maghni 34360c4c63 raspberry-pi/5: add macb module if netboot
This module is required to have Ethernet in initial RAM disk.
2026-02-28 14:01:28 -05:00
Issam E. Maghni 011660e3f7 raspberry-pi/5: add modules for RP1 controller 2026-02-28 14:01:28 -05:00
Issam E. Maghni 722ef6b5be raspberry-pi/5: add pcie-brcmstb module 2026-02-28 14:01:28 -05:00
Issam E. Maghni d736553cca raspberry-pi/5: filter Device Tree blobs 2026-02-28 14:01:28 -05:00
Issam E. Maghni 076b2a5116 raspberry-pi: add vc4 to common modules
Raspberry Pi 2 and 3 will now have it too.
2026-02-28 14:01:28 -05:00
Issam E. Maghni 9ad075ca00 raspberry-pi: add usbhid to common modules
Raspberry Pi 2 will now have it too.
2026-02-28 14:01:28 -05:00
Issam E. Maghni 114dfa1989 raspberry-pi: add usb-storage to common modules
Raspberry Pi 2 will now have it too.
2026-02-28 14:01:28 -05:00
Issam E. Maghni 25b82e0755 chore: format raspberry-pi/ with nixfmt --strict 2026-02-28 14:01:28 -05:00
florianvazelle 696e656125 Add hydra jobs & flake packages for Raspberry Pi kernels 2026-02-25 07:59:11 +01:00
dish 41c6b421bd Merge pull request #1689 from spinda/intel-nuc-12wshi7
Add support for Intel NUC 12WSHi7
2026-02-24 21:39:55 +00:00
Naomi Smith 2142c37d4d Add support for Intel NUC 12WSHi7
This adds another supported Intel NUC variant in `intel/nuc/12wshi7`.
2026-02-24 13:26:28 -08:00
mexisme 416dc12095 Merge master into microsoft-surface/update-kernel-6.18.13 2026-02-24 16:06:09 +00:00
mexisme d11b784d05 Update Microsoft Surface kernel patches to 6.18.13 2026-02-24 16:06:09 +00:00
mexisme 6f3838f141 Update Microsoft Surface kernel patches to 6.18.12 2026-02-21 18:47:29 +00:00
fkrestan 582df22530 Add Dell Latitude E7440 2026-02-21 12:45:06 +01:00
Philip Maus 4baea036b3 Latitude 7430: Enable Caps Lock LED 2026-02-20 18:38:12 +01:00
mexisme 11cf7d6853 Merge master into microsoft-surface/remove-kernels-6.12-6.15 2026-02-18 15:49:54 +00:00
mexisme 7f9d9b7030 Update Microsoft Surface kernel patches to 6.18.10 2026-02-18 15:49:54 +00:00
mexisme 1a21001f56 microsoft/surface: Remove old kernels 6.12 and 6.15 2026-02-18 15:49:54 +00:00
Jörg Thalheim 740a223630 Merge pull request #1767 from DavHau/asus
asus/zephyrus/gu605cw: init
2026-02-18 14:02:39 +00:00
DavHau 7d794bc117 asus/zephyrus/gu605cw: init 2026-02-18 20:45:29 +07:00
Jörg Thalheim 0d58bcd2ce Merge pull request #1753 from johbo/add-imac-12-2
Add configuration for Apple iMac 12,2
2026-02-18 09:12:14 +00:00
Jörg Thalheim 7a5517f634 Merge pull request #1752 from rwaweber/apple-t2-bump-to-6.12.63
apple/t2: sync stable patches (6.12.44 -> 6.12.63)
2026-02-18 08:59:29 +00:00
Jörg Thalheim d4a6f36b93 apple/imac/12-2: strip enableRedistributableFirmware
nixos-generate-config does this.
2026-02-18 09:59:02 +01:00
Jörg Thalheim 4dee6dc8d3 Merge pull request #1766 from FrameworkComputer/laptop12-unl0kr
framework/12-inch: Add support for unl0kr
2026-02-18 08:57:46 +00:00
Daniel Schaefer f69f53ebb6 framework/12-inch: Add support for unl0kr
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-02-16 16:04:18 +00:00
Florian Klink 66e1a090de Merge pull request #1726 from onny/visionfive2-cleanup
starfive visionfive2: cleanup kernel requirements
2026-02-16 15:53:11 +00:00
Jörg Thalheim 531af1dbae Merge pull request #1754 from johbo/add-minisforum
Add Minisforum UM series mini PC configurations
2026-02-15 16:09:57 +00:00
Jörg Thalheim a15dd68d59 Merge pull request #1758 from jdwaymire/lenovo-thinkpad-p16s-intel-gen3
lenovo/thinkpad/p16s: add Intel Gen 3 support
2026-02-15 16:00:16 +00:00
Jörg Thalheim 90848156e1 Merge pull request #1759 from SpectralPixel/hp-laptop-15s-fq1xxx
Implement Intel Ice Lake and HP Laptop 15s-fq1xxx
2026-02-15 15:58:41 +00:00
Jörg Thalheim 2e44aab8b1 minisforum/um-series: drop redundant hostPlatform
Already set by nixos-generate-config.
2026-02-15 16:56:47 +01:00
Jörg Thalheim c0fe6b810e minisforum/um-series: drop redundant enableRedistributableFirmware
Already set by nixos-generate-config via not-detected.nix on
bare metal systems.
2026-02-15 16:56:32 +01:00
Jörg Thalheim ac5ab0304c minisforum/um-series: drop redundant initrd modules
These are already covered by nixpkgs defaults in kernel.nix
(nvme, xhci_pci, usbhid, sd_mod) or detected by
nixos-generate-config via PCI/USB class scanning
(thunderbolt, usb_storage).
2026-02-15 16:55:01 +01:00
Jörg Thalheim f9b0314599 Merge pull request #1747 from joshbuker/hardkernel/odroid-m1
Add ODroid M1
2026-02-15 15:49:46 +00:00
Jörg Thalheim b794c1fc56 Merge pull request #1756 from soumyadeep70/vpl-gpu-rt-fix
common/gpu/intel: avoid enabling OneVPL runtime by default on pre-TGL GPUs
2026-02-15 15:48:51 +00:00
Jörg Thalheim 6deb98e401 List ThinkPad P16s Intel Gen 3 in README.md
The profile was added but the README table was not updated, so
users browsing the supported hardware list would not discover it.
2026-02-15 16:47:05 +01:00
Jörg Thalheim 7d3990afca List HP Laptop 15s-fq1xxx in README.md
The profile was added in a previous commit and forwarded in
flake.nix, but the README table was never updated, so users
browsing the supported hardware list would not discover it.
2026-02-15 16:45:49 +01:00
Jörg Thalheim cd8c113bdd Merge pull request #1761 from MaddyGuthridge/maddy-dell-xps-15-9500-fingerprint
Dell XPS 15 9500: enable fprintd
2026-02-15 15:39:22 +00:00
Jörg Thalheim 1a0762d183 Merge pull request #1762 from leifhelm/reform-kernel
mnt/reform: linux 6.17.8 -> 6.18.8
2026-02-15 15:37:53 +00:00
Jörg Thalheim 1da18c37fa Merge pull request #1763 from mexisme/microsoft-surface/update-kernel-6.18.8
microsoft/surface: update kernel patches to 6.18.8
2026-02-15 15:37:44 +00:00
Jörg Thalheim 001bac7132 odroid-m1: simplify README
Remove opinionated configuration that doesn't belong in a hardware
module README: home-manager setup, user/SSH configuration, example
hardware-configuration.nix, and an overly complex multi-host flake
pattern.

Keep only the ODroid M1-specific information: how to build the SD card
image with the required petitboot populateRootCommands, and how to set
up the flake for ongoing nixos-rebuild switch.
2026-02-15 16:29:47 +01:00
mexisme 3652e05fa7 microsoft/surface: Use cleaner logic for managing list of supported kernels 2026-02-12 13:23:48 +00:00
mexisme d03c256822 Merge branch 'master' into microsoft-surface/update-kernel-6.18.8 2026-02-12 13:20:20 +00:00
mexisme 54f5199efb Update Microsoft Surface kernel patches to 6.18.8 2026-02-12 13:20:15 +00:00
Jonas Heinrich af04cb78aa Merge pull request #1725 from onny/visionfive2-uboot
starfive visionfive2: use ubootVisionFive2
2026-02-12 07:54:31 +00:00
Jakob Leifhelm 0e5bab7df0 mnt/reform/rk3588: disable pcie_aspm for now 2026-02-10 09:43:47 +01:00
Josh Buker 21deaf7ac9 Add README.md to ODroid M1 per feedback 2026-02-09 15:51:54 -08:00
Jakob Leifhelm 5212f915f8 mnt/reform: linux 6.17.8 -> 6.18.8 2026-02-10 00:07:41 +01:00
Maddy Guthridge 7b3e8cd6f8 nixfmt 2026-02-09 22:46:37 +11:00
Maddy Guthridge 4490c7f906 Use lib.mkDefault 2026-02-09 22:32:50 +11:00
Maddy Guthridge 0252ff960b Dell XPS 15 9500: enable fprintd 2026-02-09 22:30:28 +11:00
Jörg Thalheim 2889685785 Merge pull request #1749 from FrameworkComputer/framework-johnazoidberg-codeowner
framework: Add JohnAZoidberg as codeowner
2026-02-09 10:10:10 +00:00
SpectralPixel e3ac8f4972 Forward 15s-fq1xxx to flake.nix 2026-02-08 00:47:52 +01:00
SpectralPixel c397c7f851 Added Device Information section to the README
If the information proves useful at all... Idk, copied it from `lenovo/ideapad/15ach6/README.md`
2026-02-08 00:42:51 +01:00
SpectralPixel 6f5c06e99f Add untested HP Laptop 15s-fq1xxxx config
Based directly on the HP Laptop 14s-dq2024nf. See the README along with `ad0b1c07632f963d0540d59a3600835a03746aae` and `767e9083a0f277409bd5e0d0ed0c454b8c6ca3be` for additional information.
2026-02-07 23:36:25 +01:00
SpectralPixel 767e9083a0 Add Intel Ice Lake CPU config
Based directly on Tiger Lake. In this branch, I am taking the config for the HP Laptor 14s-something and converting it to the HP Laptop 15s-something, which is why I expect the module to work fine despite only minor modifications. Here are the sources of info I'm using.
https://browser.geekbench.com/v6/compute/4861426
https://browser.geekbench.com/v6/cpu/15840711
2026-02-07 23:34:53 +01:00
SpectralPixel ad0b1c0763 Add Intel Ice Lake GPU config
Based directly on Tiger Lake. According to Gentoo Wiki, both processors should have the same driver. (https://wiki.gentoo.org/wiki/Intel#Feature_support)
2026-02-07 23:21:25 +01:00
Justin Waymire 6403af95fb lenovo/thinkpad/p16s: add Intel Gen 3 support
Tested on ThinkPad P16s Gen 3 (21KS0025US):
- Intel Core Ultra 7 155H (Meteor Lake)
- Intel Arc Graphics (iGPU)
- NVIDIA RTX 500 Ada Generation (dGPU)
- Goodix fingerprint reader (27c6:6594)
2026-02-07 13:09:59 -06:00
soumyadeep70 0251f56603 common/gpu/intel: avoid always enabling OneVPL runtime on pre-TGL GPUs 2026-02-05 06:30:43 +05:30
Johannes Bornhold 1742247ff5 Add Minisforum UM series mini PC configurations
Add hardware support for:
- UM690 (AMD Ryzen 9 6900HX, Radeon 680M)
- UM690S (slim variant)
- UM790 Pro (AMD Ryzen 9 7940HS, Radeon 780M)

These share a common um-series.nix module for consistent configuration
across the UM series AMD-based mini PCs.
2026-02-04 11:33:36 +01:00
Johannes Bornhold b654a3d6f1 Add configuration for Apple iMac 12,2 2026-02-01 22:01:26 +01:00
rwaweber 31f46de4ef apple/t2: sync stable patches (6.12.44 -> 6.12.63) 2026-01-31 15:52:35 -05:00
Josh Buker d2907ab446 Remove unnecessary configuration for odroid-m1 2026-01-29 00:06:32 -08:00
Josh Buker 0cb7e0bcab Try removing kernelPackages and supportedFilesystems overrides 2026-01-28 23:25:11 -08:00
Josh Buker 53702e58b4 Appease nixfmt 2026-01-28 23:18:19 -08:00
Josh Buker 719a89028d Apparently aliases are read-only 2026-01-28 23:15:11 -08:00
Josh Buker d6aea43451 Unfortunately, that does break nixos-rebuild switch 2026-01-28 23:09:47 -08:00
Josh Buker c281bd071a Try rawdogging sdImage and see if it breaks nixos-rebuild switch 2026-01-28 22:59:36 -08:00
Josh Buker a92d980a18 Fix missing curly brace 2026-01-28 22:57:11 -08:00
Josh Buker 8c162f25a7 Fix missing parenthesis 2026-01-28 22:56:22 -08:00
Josh Buker 1e1205f6f7 Rename kboot-conf to petitboot and simplify a few things 2026-01-28 22:53:01 -08:00
Daniel Schaefer c8d6dd6535 framework: Add JohnAZoidberg as codeowner
I'd like to review new changes - I am firmware/software engineer at
Framework.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-01-29 01:16:58 +08:00
Josh Buker cb8f383995 Add ODroid M1
Based on @KhashayarDanesh's work in #1269, which is also based on the
work of @sstent and @povik.

Closes #1269
2026-01-26 15:32:14 -08:00
Naïm Camille Favier a351494b0e Merge pull request #1744 from d-goldin/fw13-ai-300-blacklist-amd-acp
Framework 13 AI 300: Disabling AMD ACP sound card
2026-01-25 00:48:57 +00:00
Dima 31c3d206de Framework 13 AI 300: Disabling AMD ACP sound card
This issue became more obvious due to alsa-ucm profiles horribly
misassigning a non-existent device as the default microphone and
juggling profiles for the devices in a very weird way recently.

The first hotfix was this: https://github.com/NixOS/nixos-hardware/pull/1732

But upon more discussion it seems to be a Framework bios bug that
falsely reports an AMD ACP as exitent and wired up via ACPI.

Until this is fixed at the source, the best way foward is to just
blacklist the module.

I have tried this change now on 4 devices and and feel confident enough
about it working well for most users.

See this discussion for all the details: https://github.com/NixOS/nixos-hardware/issues/1603
2026-01-25 01:35:45 +01:00
Jörg Thalheim 9f7ba891ea Merge pull request #1737 from Cryolitia-Forks/rpi
raspberry-pi: move kernel and firmware from nixpkgs
2026-01-22 12:53:13 +00:00
Cryolitia PukNgae c8f766fd11 raspberry-pi: move kernel and firmware from nixpkgs
As part of the gradual phasing out of linux_rpi in nixpkgs

Link: https://github.com/NixOS/nixpkgs/pull/477665

Signed-off-by: Cryolitia PukNgae <Cryolitia@gmail.com>
2026-01-18 23:19:14 +08:00
Jörg Thalheim d447553bcb Merge pull request #1739 from NixOS/contributing-docs
CONTRIBUTING: expand contributor and reviewer guidelines
2026-01-18 11:37:07 +00:00
Jörg Thalheim 0ac0225d16 CONTRIBUTING: expand contributor and reviewer guidelines
Document the full contribution workflow including feature branches,
README/flake.nix entry formats, testing from forks, deprecation
process, and update reviewer section to use GitHub merge queues.

Also clarify that any nixpkgs committer can review PRs.
2026-01-18 09:07:29 +01:00
Jörg Thalheim cce68f4a54 Merge pull request #1736 from NixOS/tleydxdy-master
Add System76 Galago Pro 3 module
2026-01-16 17:34:06 +00:00
Shironeko a57f1648b7 Add System76 Galago Pro 3 module 2026-01-16 18:21:06 +01:00
Jörg Thalheim 45bf76ef95 Merge pull request #1727 from NixOS/drop-24.05-compat
Update to current nixpkgs stable 25.11, drop old compat code
2026-01-16 17:10:13 +00:00
Jörg Thalheim 7297dfc69a Merge pull request #1735 from NixOS/time
move hardware team meeting to new time
2026-01-15 17:54:29 +00:00
Jörg Thalheim daedbd1c37 move hardware team meeting to new time 2026-01-15 18:41:10 +01:00
Florian Klink efe2094529 Merge pull request #1730 from flokli/pocket-iio
gpd/pocket-{3,4}: enable IIO
2026-01-14 13:29:35 +00:00
Florian Klink 316a132d5f gpd/pocket-{3,4}: enable IIO
Enables screen auto rotation.
2026-01-14 12:30:30 +02:00
Sandro Jäckel dc40d35d3e lenovo/thinkpad/x13s: resolve renamed option 2026-01-11 10:03:48 +01:00
Sandro Jäckel d21ec5a241 hardkernel/odroid-hc4: resolve renamed option 2026-01-11 09:59:00 +01:00
Sandro Jäckel 99b28e8e36 dell/precision/5570: resolve renamed option 2026-01-11 09:59:00 +01:00
Sandro Jäckel 639ca38126 treewide: drop 25.05 compat code 2026-01-11 09:59:00 +01:00
Sandro Jäckel 388f38215d treewide: drop 24.11 compat code 2026-01-11 09:59:00 +01:00
Sandro Jäckel 8781e10a1c treewide: drop 24.05 compat 2026-01-11 09:59:00 +01:00
Sandro Jäckel b2101de0f8 treewide: drop 23.11 compat code 2026-01-11 09:56:14 +01:00
Sandro Jäckel d655a68f13 treewide: drop 22.11 compat code 2026-01-11 09:56:14 +01:00
Sandro Jäckel b88c9d742a treewide: remove 21.05 compat code 2026-01-11 09:54:39 +01:00
Sandro Jäckel 6366bcfdab tests: update stable nixpkgs input to 25.11 2026-01-11 09:45:35 +01:00
Jonas Heinrich c9fd1cfdd4 starfive visionfive2: use ubootVisionFive2 2026-01-09 23:30:55 +01:00
Jonas Heinrich aaaaed5692 starfive visionfive2: cleanup kernel requirements 2026-01-09 23:14:56 +01:00
Jörg Thalheim 40b1a28dce Merge pull request #1712 from dniku/patch-1
Revise README for AMD AI 300 Series modules
2025-12-31 12:48:04 +00:00
Dmitry 6388e5a77b Address stylistic suggestions 2025-12-31 09:59:50 +00:00
Dmitry 838481adb5 Update README for nix-shell command usage 2025-12-30 11:34:29 +00:00
Dmitry d31d8077bb Revise README for AMD AI 300 Series modules
Updated README to reflect changes in module recommendations and added instructions for hybrid graphics setup.
2025-12-30 11:34:29 +00:00
Jörg Thalheim 9b3c38bf6c Merge pull request #1714 from NixOS/track-prepped-68-Corolla-master
Adding Asus flow z13 2023 gz301vu support
2025-12-30 04:56:31 +00:00
track-prepped-68-Corolla 736df904de Adding Asus flow z13 2023 gz301vu support 2025-12-30 04:43:30 +00:00
Jörg Thalheim 84185d1de4 Merge pull request #1713 from NixOS/razer-blade-14-RZ09-0530
add razer-blade-14-RZ09-0530
2025-12-30 04:41:49 +00:00
Jörg Thalheim 59a4cb7b82 Merge pull request #1704 from ducnguyen96/feat/add-lenovo-thinkpad-e14-gen2
feat: add Lenovo ThinkPad E14 (Intel - Gen 2)
2025-12-30 04:36:02 +00:00
Adriel Velazquez 64e8049770 Adding the razer blade 14 2025 2025-12-30 04:29:13 +00:00
Jörg Thalheim 7a9a613a3e Merge pull request #1709 from alirezamirsepassi/patch-1
audio(framework-13-amd-ai-300): update default rawDeviceName
2025-12-30 04:25:07 +00:00
Jörg Thalheim 2da033befd Merge pull request #1707 from ryantrinkle/framework-amd-ai-300-graphics-refresh-bug
framework-16-amd-ai-300-series: mitigate various graphics issues
2025-12-30 04:24:24 +00:00
Alireza Mirsepassi 59761f9b5e audio(framework-13-amd-ai-300): update default rawDeviceName
Update the default `rawDeviceName` for the Framework 13 AMD AI 300 series.
Recent UCM profile updates (or kernel driver changes) now cause the device
to expose a HiFi profile sink name (`HiFi__Speaker__sink`) instead of the
generic `analog-stereo` name.

This ensures the audio enhancement effects correctly attach to the speaker
sink out of the box.

Device name changed from:
`alsa_output.pci-0000_c1_00.6.analog-stereo`
to:
`alsa_output.pci-0000_c1_00.6.HiFi__Speaker__sink`
2025-12-27 16:10:22 +01:00
Ryan Trinkle 26043a0950 framework-16-amd-ai-300-series: mitigate various graphics issues 2025-12-25 20:45:22 -04:00
Jörg Thalheim c5db9569ac Merge pull request #1705 from leifhelm/mnt-reform
Mnt reform: Update kernel from 6.17.2 to 6.17.8
2025-12-24 09:34:15 +00:00
Jakob Leifhelm 26e2f6b7d5 mnt/reform: kernel 6.17.2 -> 6.17.8 2025-12-23 23:12:28 +01:00
Jakob Leifhelm cebe2d7105 mnt/reform: use mkDefault for the kernel 2025-12-23 23:11:14 +01:00
ducnguyen96 fdbadf6273 feat: add Lenovo ThinkPad E14 (Intel - Gen 2) 2025-12-22 09:42:22 +07:00
Arian van Putten 9154f4569b Merge pull request #1627 from arianvp/altrad8ud-1l2t
Add ASRock Rack ALTRAD8UD-1L2T
2025-11-29 18:25:30 +00:00
Arian van Putten d7e4ed37ce Add ASRock Rack ALTRAD8UD-1L2T 2025-11-29 13:10:26 +01:00
Jörg Thalheim d62603a997 Merge pull request #1684 from NixOS/framework-16-amd-ai-300-nvidia
framework-16-amd-ai-300-series: add nvidia submodule
2025-11-28 11:10:24 +00:00
Jörg ThalheimandDaniel Schaefer fd83b9479c framework-16-amd-ai-300-series: add nvidia submodule
Add a dedicated submodule for Framework Laptop 16 AMD AI 300 Series with
NVIDIA dGPU (RTX 5070). This provides hybrid graphics configuration with
PRIME offload, allowing the AMD iGPU to run by default for better battery
life while making the NVIDIA dGPU available on demand via nvidia-offload.

Exposed as nixosModules.framework-16-amd-ai-300-series-nvidia

Co-authored-by: Daniel Schaefer <dhs@frame.work>
2025-11-28 11:57:31 +01:00
Jörg Thalheim 00e9525fb6 Merge pull request #1688 from 8bitbuddhist/surface-fix-hash
microsoft/surface: fix invalid hash
2025-11-27 18:48:16 +00:00
Andre 083fd1136b microsoft/surface: fix invalid hash 2025-11-26 13:08:45 -05:00
Jörg Thalheim da17006633 Merge pull request #1681 from 8bitbuddhist/surface-kernel-simplify
microsoft/surface: simplify patch pulling
2025-11-25 14:13:59 +00:00
Jörg Thalheim 63564a6dcc Merge pull request #1682 from NixOS/dependabot/github_actions/actions/checkout-6
build(deps): bump actions/checkout from 5 to 6
2025-11-25 14:13:28 +00:00
Andre ae4fcae923 microsoft/surface: flatten 'repos' object 2025-11-24 17:47:45 -05:00
dependabot[bot] 3e2ce03650 build(deps): bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 02:00:56 +00:00
Andre abb5f782d3 microsoft/surface: change logic to pull the latest linux-surface for all versions, since we really just need the patches. 2025-11-23 13:20:08 -05:00
Jörg Thalheim 899dc449bc Merge pull request #1669 from zatrit/t480-kaby-lake
lenovo/thinkpad/t480: replaced cpu/intel with cpu/intel/kaby-lake
2025-11-11 07:47:33 +00:00
Jörg Thalheim e279a579b1 Merge pull request #1670 from robot-o/lenovo-legion-16iax10h
lenovo/legion/16iax10h: add Lenovo Legion Pro 7i
2025-11-11 07:47:18 +00:00
Jörg Thalheim 27973e0f41 Merge pull request #1671 from leifhelm/mnt-reform
Fix and update kernel. Update uboot
2025-11-11 07:44:54 +00:00
Jakob Leifhelm 238316ce44 mnt-reform: Format 2025-11-09 11:31:44 +01:00
Jakob Leifhelm 6ae02e4ebd mnt-reform: Add name parameter to kernel patches 2025-11-09 11:25:40 +01:00
Jakob Leifhelm a31d53a0b2 mnt-reform: Add uboot flash script 2025-11-09 11:25:35 +01:00
robot-o 81c78cffb9 lenovo/legion/16iax10h: add Lenovo Legion Pro 7i 2025-11-08 21:15:31 +01:00
Jakob Leifhelm 20baaa0d68 mnt-reform: uboot remove x86 dependency 2025-11-08 10:53:01 +01:00
Jakob Leifhelm 9fbdc8cbdb mnt-reform: Update kernel to 6.17.2 2025-11-08 10:51:57 +01:00
zatrit ef813e4370 lenovo/thinkpad/t480: replaced cpu/intel with cpu/intel/kaby-lake 2025-11-08 11:33:26 +03:00
Jörg Thalheim 52113c4f5c Merge pull request #1668 from concatime/fix/rename-modules
Rename some modules to their correct names
2025-11-06 21:07:11 +00:00
Issam E. Maghni fc4c7c6ec7 meta: rename module to pcie-brcmstb
https://github.com/torvalds/linux/blob/v6.17/drivers/pci/controller/Makefile#L37
2025-11-06 15:05:04 -05:00
Issam E. Maghni 744975050f meta: rename module to usb-storage
https://github.com/torvalds/linux/blob/v6.17/drivers/usb/storage/Kconfig#L23-L24
> To compile this driver as a module, choose M here: the
> module will be called usb-storage.
2025-11-06 15:05:04 -05:00
Jörg Thalheim 24084931d8 Merge pull request #1661 from HyprGirl/master
asus/zephyrus/ga401iv: init
2025-11-06 11:05:22 +00:00
Jörg Thalheim 3e24540eb9 Merge pull request #1663 from concatime/feat/add-only-wireless-firmwares
raspberry-pi/4: add only wireless firmwares
2025-11-06 11:04:51 +00:00
Jörg Thalheim bd47664211 Merge pull request #1667 from concatime/feat/add-genet-module-to-initrd-if-netboot
raspberry-pi/4: add genet module to initrd if netboot
2025-11-06 11:04:33 +00:00
Jörg Thalheim be02d168e7 Merge pull request #1657 from NixOS/no-instantiate
speed up ci
2025-11-06 11:03:32 +00:00
Jörg Thalheim f34ca8045a mnt/reform: stop doing ifd 2025-11-06 11:27:57 +01:00
Jörg Thalheim ec18896955 librem/5r4/u-boot: update and use newer compiler 2025-11-06 11:21:16 +01:00
Jörg Thalheim 64269645d4 star64: add missing names to kernel patches 2025-11-06 11:14:48 +01:00
Jörg Thalheim d1ad892e3b helios4: add missing names to kernel patches 2025-11-06 11:14:03 +01:00
Issam E. Maghni ec135126c1 raspberry-pi/4: add genet module to initrd if netboot
This module is required to have Ethernet in initial RAM disk.

It solves the issue encountered in this thread:
https://discourse.nixos.org/t/netboot-into-nfs-root-instead-of-the-fat-netboot-ramdisk/8556/2
2025-11-05 19:31:43 -05:00
Jörg Thalheim e4c6ee69e7 Merge pull request #1666 from brianmcgillion/update-imx8
imx8-evk: fix cross-compiled builds
2025-11-05 19:41:19 +00:00
Brian McGillion ae91411396 imx8-evk: fix cross-compiled builds
update just to fix the cross compilation.

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
2025-11-05 16:35:23 +04:00
Jörg Thalheim d48e8f0e16 Merge pull request #1665 from brianmcgillion/fix-system-property
system: fix the system setting for nixpkgs
2025-11-05 09:50:57 +00:00
Brian McGillion eea20ba3b0 system: fix the system setting for nixpkgs
https://github.com/NixOS/nixpkgs/commit/90cb7876446bf1684ffe40ab7832de0ec1b92991

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
2025-11-05 13:20:53 +04:00
Issam E. Maghni 2a3a409ac5 raspberry-pi/4: add only wireless firmwares 2025-11-04 15:28:35 -05:00
Jörg Thalheim 2e85ae1b70 Merge pull request #1662 from NixOS/nxp-docs
nxp: document flashing better
2025-11-04 14:44:00 +00:00
Jörg Thalheim 8b72f74d80 nxp: add upstream docs 2025-11-04 15:27:28 +01:00
Jörg Thalheim 655a6da8a8 nxp: document flash procedure and expose images in flake 2025-11-04 13:35:34 +01:00
Jörg Thalheim bffe23e699 Merge pull request #1650 from govindsi/feat/ucm-imx95-platform
Add support for UCM-iMX95 Evaluation Kit platform
2025-11-04 12:19:19 +00:00
Jörg Thalheim 01e8e18d9d format flake.nix after nixpkgs bump 2025-11-04 13:04:34 +01:00
Jörg Thalheim 5ad68c5dff tests: add all aarch64 NXP boards to aarch64Systems list 2025-11-04 12:57:21 +01:00
Jörg Thalheim fad92f5f57 ucm-imx95: expand pkgs in callPackage for overrides 2025-11-04 12:57:21 +01:00
Jörg Thalheim f2e49f279c optee-builder: use stdenv as opposed to gccStdenv
should be the same in our use case, but stdenv is more standard.
2025-11-04 12:34:11 +01:00
Jörg Thalheim e598a4ca2f nxp: patch toolchain more consistent between different targets 2025-11-04 12:28:52 +01:00
Romana d60ba4a306 Merge branch 'NixOS:master' into master 2025-11-03 22:54:14 +00:00
Romana 5723dff2cd add ga401iv to readme and flake.nix 2025-11-03 19:59:38 +01:00
Jörg Thalheim 2567706185 Merge pull request #1660 from afreakk/patch-1
'runCommandNoCC' has been renamed to/replaced by 'runCommand'
2025-11-03 14:13:01 +00:00
Romana 5e6ecb961a asus-zephyrus-ga401iv: Add config for 2020 model of ga401 2025-11-03 03:45:34 +01:00
Jörg Thalheim 7467f155fc Merge pull request #1555 from imxade/imxade-patch-1
[Inspiron 3442] Removed enableAllFirmware, BT doesn't rely on it
2025-10-31 17:53:41 +00:00
Rituraj ddb27b7bba Merge branch 'master' into imxade-patch-1 2025-10-31 21:51:27 +05:30
Hans 13cc234e37 'runCommandNoCC' has been renamed to/replaced by 'runCommand' 2025-10-31 09:54:49 +01:00
Jörg Thalheim a2bc09823a ucm-imx95: various changes
- Move openssl to nativeBuildInputs in ATF build for proper cross-compilation
- Add explicit SILICON validation with clear error messages in firmware build
- Fix fragile wildcard patterns in firmware DDR file copying
- Replace mutable branch URLs with pinned commit hashes for patch stability
- Add U-Boot config merge step (make olddefconfig) after extra config
- Fix cross-compilation toolchain coherence (cpp in optee-os)
- Standardize license format (single value instead of single-element list)
- Update maintainer references with inline name/email format
- Fix typos and grammar in documentation and comments
2025-10-30 15:17:56 +01:00
Jörg Thalheim 86d9291cc3 ucm-imx95: use --replace-fail for substituteInPlace 2025-10-30 14:52:25 +01:00
Jörg Thalheim 8650454db6 ucm-imx95: fix firmware parameter collision and update imx-mkimage
Fixed parameter name collision in ucm-imx95-firmware.nix where the
'silicon' parameter conflicted with the nixpkgs silicon package, causing
the wrong AHAB container to be selected. Renamed to 'siliconRev'.

Updated imx-mkimage from lf-6.6.36 to lf-6.6.52-2.2.1 to match the
firmware version expectations (v202409 instead of v202311).
2025-10-30 14:48:44 +01:00
Govind Singh 11ea8b8477 ucm-imx95: firmware: fetch firmware files from NXP release
Fetch AHAB container, M7 firmware, and DDR PHY firmware binaries
from the NXP release packages. The derivation extracts the correct
LPDDR5 PHY images and selects the appropriate AHAB container for
A0 or B0 silicon revisions.

Signed-off-by: Govind Singh <govind.singh@tii.ae>
2025-10-30 14:29:53 +01:00
Govind Singh a3576f0f3c chore: Add README for UCM-iMX95 SOM support
Added README.md for UCM-iMX95 SOM support.
2025-10-30 14:29:53 +01:00
Govind Singh fe21eda733 Add support for UCM-iMX95 Evaluation Kit platform
The CompuLab UCM-iMX95 Evaluation Kit provides a platform for comprehensive
evaluation of the NXP i.MX95 application processor. This change adds support
in NixOS hardware to provide a template for customized i.MX95-based platforms.

UCM-iMX95: https://www.compulab.com/products/som-evaluation-kits/ucm-imx95-evaluation-kit/

Signed-off-by: Govind Singh <govind.singh@tii.ae>
2025-10-30 14:29:53 +01:00
Jörg Thalheim f6299de29d bump nixpkgs 2025-10-30 14:29:33 +01:00
Jörg Thalheim caacab410f speed up ci: run nix-eval-jobs with no-instantiate 2025-10-30 14:07:00 +01:00
Jörg Thalheim 43ffe9ac82 Merge pull request #1580 from NixOS/private-flake
Refactor tests to load flake inputs with flake-compat
2025-10-30 12:26:15 +00:00
Jörg Thalheim 3beac2438b nix-eval-job: disable eval-cache
in ci, there is no cache, so it's just overhead and prints warnings.
2025-10-30 13:12:15 +01:00
Jörg Thalheim b09586b101 Remove insecure broadcom-sta driver from hardware profiles
The broadcom-sta driver package is marked as insecure due to CVE-2019-9501
and CVE-2019-9502 (heap buffer overflow vulnerabilities allowing remote code
execution). The driver is also unmaintained and incompatible with modern
Linux kernel security mitigations.

Removed broadcom_sta from extraModulePackages and the corresponding "wl" kernel module.

This resolves test failures where Nixpkgs refuses to evaluate configurations
containing this insecure package.
2025-10-30 13:04:01 +01:00
Jörg Thalheim e07b1618c3 Merge pull request #1568 from nmouha/patch-1
framework/13-inch/intel-core-ultra-series1: revert #1358 (fix intel_vpu firmware error -2)
2025-10-30 11:46:27 +00:00
Jörg Thalheim e214e292a6 also enable formatter on macOS 2025-10-30 12:39:05 +01:00
Jörg Thalheim 779c16f604 ci: show github errors nicer formatted 2025-10-30 12:39:05 +01:00
Jörg Thalheim 6ec1e82182 format nix code after nixfmt update 2025-10-30 12:39:05 +01:00
Jörg Thalheim 4bafcc2454 Refactor tests to load flake inputs with flake-compat
This makes `nix fmt` just works and we no longer have to override flake
inputs.
2025-10-30 12:36:49 +01:00
Jörg Thalheim 46ab381a8c Merge branch 'master' into patch-1 2025-10-30 12:30:42 +01:00
Jörg Thalheim ec7bf039ca Merge pull request #1656 from r-vdp/rvdp/framework-kmod
framework/kmod: remove compatibility with Linux version < 6.10
2025-10-30 11:26:58 +00:00
r-vdp e11482075d framework/kmod: remove compatibility with Linux version < 6.10
Upstream changes broke the checks that we had.
By now we have 6.12 as the LTS, and 24.05 went out of support, so I
think we don't need to support this anymore.
Anyone still on such old kernel versions, can apply the patch manually
if needed.
2025-10-30 10:54:55 +01:00
Jörg Thalheim 2379bc4099 Merge pull request #1649 from govindsi/feat/imx93-evk-platform
Add support for i.MX93-EVK platform
2025-10-29 17:41:40 +00:00
Jörg Thalheim 688ee555de refactor(nxp): parameterize i.MX platform builders to reduce duplication
This refactoring reduces code duplication across i.MX93, i.MX8MP, and
i.MX8MQ platforms by extracting common build logic into parameterized
shared builders. This makes it easier to maintain and add new i.MX
platforms while ensuring consistency across all platforms.
2025-10-29 18:26:21 +01:00
Govind Singh 8b405e9c6d chore(fmt): apply nix formatting
Signed-off-by: Govind Singh <govind.singh@tii.ae>
2025-10-29 18:19:05 +01:00
Govind Singh 34b7229b95 Add support for i.MX93-EVK platform
The i.MX93 EVK provides a platform for comprehensive evaluation
of the i.MX93 application processors. This change adds support
in NixOS hardware to provide a template for customized i.MX93-based
platforms.

Signed-off-by: Govind Singh <govind.singh@tii.ae>
2025-10-29 18:19:05 +01:00
Jörg Thalheim 46f9982c9b Merge pull request #1652 from MichaelVessia/patch-1
Fix Framework 12th Gen Intel Core link path
2025-10-29 15:19:51 +00:00
Jörg Thalheim 9c0ee5dfa1 Merge pull request #1651 from rti/framework-13-intel-core-enableRedistributableFirmware
fix: enableRedistributableFirmware on Framework 13 Intel Core Ultra Series1
2025-10-28 16:33:09 +00:00
Michael Vessia 7667e19678 Fix Framework 12th Gen Intel Core link path 2025-10-23 20:20:44 -04:00
rti b27995044c fix: enable enableRedistributableFirmware on framework 13 intel core 2025-10-23 15:18:06 +00:00
kirillrdy d6645c340e Merge pull request #1629 from trueNAHO/codeowners-remove-truenaho-from-tuxedo-pulse-14-gen3
CODEOWNERS: remove trueNAHO from tuxedo-pulse-14-gen3
2025-10-20 11:03:08 +00:00
NAHO c4fe135227 CODEOWNERS: remove trueNAHO from tuxedo-pulse-14-gen3
Remove trueNAHO from tuxedo-pulse-14-gen3 because I never owned this
hardware.

Fixes: caabc42556 ("feat: Update CODEOWNERS for Tuxedo Pulse Laptops")
2025-10-20 21:47:11 +11:00
Sandro 9ed85f8afe Merge pull request #1633 from NixOS/pi4-rendering
raspberrypi/4: fix many option rendering
2025-10-10 14:30:35 +00:00
Sandro c816590dca Merge pull request #1631 from NixOS/pi3-keyboard
raspberry-pi/3: load usbhid and usb_storage
2025-10-10 13:51:30 +00:00
Sandro Jäckel eb9e8e10ac raspberrypi/4: fix many option rendering 2025-10-10 15:50:52 +02:00
Sandro 156fbb62a9 Merge pull request #1634 from MrSom3body-contrib/fix/asus-battery-threshold
asus/battery: fix battery threshold not being set after hibernation
2025-10-10 12:47:24 +00:00
Karun Sandhu c52ea60901 asus/battery: fix battery threshold not being set after hibernation 2025-10-10 10:51:07 +02:00
Sandro d232c6f9cc Merge pull request #1549 from MrSom3body-contrib/add-asus-um6702
init: Asus Zenbook 17 Pro
2025-10-09 23:46:13 +00:00
Karun Sandhu a8bbda8911 init: Asus Zenbook 17 Pro 2025-10-09 22:13:19 +02:00
Sandro Jäckel d0955d227d raspberry-pi/3: load usbhid and usb_storage 2025-10-07 22:08:20 +02:00
0x4A6F 3441b5242a Merge pull request #1554 from fidgetingbits/missing-readme-entries
Add missing README entries and re-align columns
2025-10-04 12:58:59 +00:00
fidgetingbits 0257a0aa58 Add missing README entries and re-align columns 2025-10-01 17:10:20 +08:00
Jörg Thalheim e087756cf4 Merge pull request #1615 from borja-rojo-ilvento/lenovo-thinkpad-p14s-intel-gen2
Lenovo thinkpad p14s intel gen2
2025-09-30 19:45:27 +00:00
Jörg Thalheim a74f5ce8c6 Merge pull request #1621 from nukdokplex/msi/b550-tomahawk
msi/b550-tomahawk: init
2025-09-30 19:41:31 +00:00
Jörg Thalheim dd4227bb1b Merge pull request #1508 from florianvazelle/asus-rog-gl552vw
Add Asus ROG-GL552VW hardware
2025-09-30 19:40:23 +00:00
Jörg Thalheim 30bf4efeda Merge pull request #1597 from yvan-sraka/cf-lx3
panasonic: add Let's Note CF-LX3 configuration
2025-09-30 19:33:30 +00:00
Jörg Thalheim 081542ae22 Merge pull request #1608 from trueNAHO/tuxedo-pulse-15-gen-2-load-more-modules-and-defer-warning
tuxedo/pulse/15/gen2: load more modules and defer warning
2025-09-30 19:32:30 +00:00
Borja Rojo Ilvento ba70d20716 Add Lenovo ThinkPad P14s Intel Gen 2 profile
Adds hardware profile for Lenovo ThinkPad P14s Intel Gen 2 with:
- Intel Tiger Lake CPU support
- NVIDIA Turing GPU with PRIME configuration
- Suspend-to-RAM S3 sleep state configuration
2025-09-30 21:28:37 +02:00
nukdokplex 28c41d0a5d msi/b550-tomahawk: init 2025-10-01 00:25:19 +05:00
Jörg Thalheim c8b6a49ebf Merge pull request #1618 from kuwii/linglong-novastudio
linglong/nova-studio: init
2025-09-30 19:22:27 +00:00
Jörg Thalheim 895e314e4b Merge pull request #1620 from makefu/master
lenovo/t14-intel-gen1(-nvidia): init
2025-09-30 19:21:37 +00:00
Jörg Thalheim 0582a93516 Merge pull request #1622 from panchoh/feat/init-apple-macbook-air-5
apple/macbook-air/5: init
2025-09-30 19:20:40 +00:00
Jörg Thalheim 1243f78ca9 Merge pull request #1623 from leifhelm/mnt-reform-classic-rk3588
mnt/reform: init
2025-09-30 19:20:21 +00:00
Jakob Leifhelm 5e57f28e6a mnt/reform: init 2025-09-30 00:08:11 +02:00
pancho horrillo 095a445675 apple/macbook-air/5: init 2025-09-27 07:11:36 +02:00
kuwii 0e9dc7cf61 linglong/nova-studio: remove opencl config and move it to readme 2025-09-25 22:42:51 +08:00
Yvan Sraka 27581273c2 panasonic: add Let's Note CF-LX3 configuration 2025-09-24 10:31:39 +02:00
Sandro 170ff93c86 Merge pull request #1614 from codingCoffee/x1-carbon-12
feat: kernel params for x1 carbon
2025-09-23 21:45:26 +00:00
makefu 76a314765d lenovo/t14-intel-gen1(-nvidia): init
init configuration for t14 intel gen1 with and without nvidia dedicated graphics card

ref: https://thinkwiki.de/T14_Gen_1_(Intel)
2025-09-23 16:07:10 +02:00
kuwii 4ba28b48c8 linglong/nova-studio: init 2025-09-21 11:54:04 +08:00
Ameya Shenoy 3caaf86f9d feat: kernel params for x1 carbon
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2025-09-17 01:19:01 +05:30
Jörg Thalheim 67a709cfe5 Merge pull request #1611 from Enzime/push-wroqwyuruzvr
MacBookAir6,x: fix wireless
2025-09-15 13:35:27 +00:00
Michael Hoang 0632a5e10f MacBookAir6,x: fix wireless 2025-09-15 15:19:23 +02:00
Sandro 4c38a024fa Merge pull request #1610 from NixOS/SuperSandro2000-patch-1
Fix fydetab duo eval
2025-09-14 23:03:45 +00:00
Sandro 82e5fcb58c Fix fydetab duo eval 2025-09-15 00:48:02 +02:00
0x4A6F f89c620d3d Merge pull request #1609 from NixOS/intel-compute-runtime-legacy
common/gpu: add and use option to choose intel-compute-runtime variant
2025-09-13 14:55:51 +00:00
Sandro Jäckel e049c10c3e treewide: set intel cpu variant to legacy where newer versions are not supported
According to https://github.com/intel/compute-runtime#legacy-platforms
2025-09-12 00:45:01 +02:00
Sandro Jäckel 4100cffdbe common/gpu: add option to choose intel-compute-runtime variant 2025-09-12 00:45:00 +02:00
Sandro Jäckel a98f1a2b75 Drop some unused inputs 2025-09-11 23:59:28 +02:00
Sandro Jäckel 536ac3ab4b common/cpu/intel/comet-lake: drop gpu option
It is already set for the gpu
2025-09-11 23:59:14 +02:00
NAHO 40dffd02e3 tuxedo/pulse/15/gen2: defer amdgpu secure display warning to Stage 2
Defer the amdgpu secure display warning from Stage 1 to Stage 2, despite
the initial decision [1] of reverting commit dd18dc7714
("fix(tuxedo/pulse/15/gen2): prevent 'Secure display: Generic Failure'
warning") with commit 80d98a7d55 ("feat(tuxedo/pulse/15/gen2): use
default 'hardware.amdgpu.loadInInitrd'").

Since this noisy warning is an inherit property of this hardware,
deferring it is the desired behavior.

[1]: https://github.com/NixOS/nixos-hardware/pull/755#discussion_r1359669448
2025-09-07 21:43:50 +00:00
NAHO 0c55f0f776 tuxedo/pulse/15/gen2: load more internal modules 2025-09-07 18:18:27 +02:00
0x4A6F 11b2a10c7b Merge pull request #1605 from RossComputerGuy/fix/fyde
fydetab/duo: fix hardware.firmware being applied
2025-09-05 20:15:52 +00:00
Tristan Ross 7e40faf569 fydetab/duo: enable hid sensor hub kernel module 2025-09-05 11:49:13 -07:00
Tristan Ross 295e0f92ff fydetab/duo: clarify graphics support 2025-09-05 11:22:25 -07:00
Tristan Ross 410a17733a fydetab/duo: fix himax firmware source hash 2025-09-05 11:20:47 -07:00
Tristan Ross a6cc50d994 fydetab/duo: fix hardware.firmware being applied 2025-09-05 11:16:21 -07:00
0x4A6F af3dd1cb20 Merge pull request #1604 from RossComputerGuy/fix/fyde
fydetab/duo: fix typo with enable option
2025-09-05 17:54:20 +00:00
Tristan Ross e9db02252a fydetab/duo: fix typo with enable option 2025-09-05 08:31:44 -07:00
0x4A6F 7e56e39db4 Merge pull request #1583 from RossComputerGuy/feat/fydetab-duo
Add Fydetab Duo
2025-09-05 14:17:17 +00:00
Tristan Ross d9b0f10475 Add Fydetab Duo 2025-09-05 06:55:19 -07:00
Jörg Thalheim ba6fab2976 Merge pull request #1530 from Gigahawk/tc358743-4-lane
raspberry-pi/4: support 4lane csi
2025-09-03 18:56:35 +00:00
Jörg Thalheim da1b459c17 Merge pull request #1541 from cassis163/add-hp-probook-460-g11
Add HP ProBook 460 G11
2025-09-03 18:52:03 +00:00
Jörg Thalheim 003318603f Merge branch 'master' into tc358743-4-lane 2025-09-03 20:40:56 +02:00
Jörg Thalheim ad6d270a9a Merge pull request #1535 from fidgetingbits/dell-precision-5570
Added Dell Precision 5570
2025-09-03 18:40:07 +00:00
Jörg Thalheim c362a52136 Merge pull request #1592 from FrameworkComputer/framework16-ai300
Add Framework Laptop 16 AMD AI 300 Series
2025-09-03 18:38:21 +00:00
caangeenbrug-fvt 4091b501aa Add HP ProBook 460 G11 to hardware table in /README.md 2025-09-03 20:36:25 +02:00
cassis163 4a39585546 Add HP ProBook 460 G11 2025-09-03 20:36:25 +02:00
Jörg Thalheim 71841ee366 Merge pull request #1599 from gngram/imx8mp_sw_upgrade
bsp update for imx8mp-evk
2025-09-03 18:34:16 +00:00
Jörg Thalheim 7d524775bf Merge pull request #1601 from RamReso/fix-flake-modules-in-readme
fix missmatch between README.md Flake Module and modules defined in flake.nix
2025-09-03 18:33:51 +00:00
Ganga Ram 2dbfb943a0 bsp update for imx8mp-evk
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2025-09-03 17:17:14 +04:00
Noah Markert 2f7f1dc6ec renamed flake modules in README.md to match them in flake.nix; add missing nixos modules to flake.nix; 2025-09-03 11:05:40 +02:00
Jörg Thalheim 47eb4856cf Merge pull request #1567 from matteobongio/system76/gaze18
System76/gaze18: minor fixes
2025-09-01 18:14:48 +00:00
Jörg Thalheim b403970fdf Merge pull request #1550 from Ace-h121/master
Adding Power Management on Asus fa507nv
2025-09-01 18:03:55 +00:00
Jörg Thalheim 81129e6f19 Merge pull request #1556 from omeyenburg/fix-typo-macbookpro
apple/macbook-pro: Correct typos in 12-1 and 8-1 READMEs
2025-09-01 18:02:18 +00:00
Jörg Thalheim 72d5560fb7 Merge pull request #1557 from suzana2314/lenovo-legion-15ach6h
Lenovo Legion 5 15ach6h add option for hybrid only or nvidia only modules
2025-09-01 18:01:47 +00:00
Jörg Thalheim 321cb2173b Merge pull request #1558 from matthiasdotsh/ms-surface/update-kernel-6.15.9
surface: linux 6.15.6 -> 6.15.9
2025-09-01 18:01:30 +00:00
Jörg Thalheim ea1e368e75 Merge pull request #1559 from moduon/rpi-tmp-crb
fix(raspberry-pi-4): enable building kernel
2025-09-01 18:01:20 +00:00
Jörg Thalheim 6f97793214 Merge pull request #1561 from Flameopathic/14ILL10-fix
lenovo/yoga/7/14ILL10: update kernel version requirement
2025-09-01 18:01:00 +00:00
Jörg Thalheim 6b7941884f Merge pull request #1562 from hatch01/fix-tc358743
fix: tc358743 dt overlay
2025-09-01 18:00:28 +00:00
Matteo Bongiovanni f4a07aa370 system76-gaze18: add laptop and ssd imports 2025-09-01 19:59:56 +02:00
Matteo Bongiovanni 7fe67c44d1 system76-gaze18: use xserver.videoDrivers instead of initrd.kernelModules
system76-gaze18: use xserver.videoDrivers instead of initrd.kernelModules
2025-09-01 19:59:56 +02:00
Matteo Bongiovanni c69cdbed34 system76-gaze18: add CPU module 2025-09-01 19:59:56 +02:00
Jörg Thalheim 31b333f6e7 Merge pull request #1585 from 497a/master
Revert "apple: add hid_apple.iso_layout=0 kernel param"
2025-09-01 17:57:58 +00:00
Jörg Thalheim 7c75c09ab6 Merge pull request #1569 from lynimbus/main
feat: add MECHREVO Yilong15Pro(GM5HG0A)
2025-09-01 17:52:17 +00:00
Jörg Thalheim c5231106d4 Merge pull request #1570 from panchoh/fix/out-of-sync-flake-lock
Update flake.lock, dropping unused `nixpkgs` input
2025-09-01 17:51:52 +00:00
Jörg Thalheim bfce4a25eb Merge pull request #1571 from b-eyselein/master
Add Lenovo Thinkpad P16s AMD Gen 4
2025-09-01 17:51:39 +00:00
Jörg Thalheim 232f44c2d5 Merge pull request #1572 from bashfulrobot/master
Add ThinkPad T14 Intel Gen 6 support
2025-09-01 17:51:17 +00:00
Jörg Thalheim c38b907bd4 Merge pull request #1576 from Gigahawk/tc358743-media-controller
raspberry-pi/4: support enabling/disabling media-controller api on tc358743
2025-09-01 17:50:43 +00:00
Jörg Thalheim 65b725a43e Merge pull request #1578 from rumlenordstroem/macbookpro11,4
Added macbook pro 11,4 config
2025-09-01 17:50:29 +00:00
Jörg Thalheim fe8baa10f9 Merge pull request #1582 from NixOS/dependabot/github_actions/actions/checkout-5
build(deps): bump actions/checkout from 4 to 5
2025-09-01 17:49:55 +00:00
Jörg Thalheim 74dc6125d0 Merge pull request #1584 from ktechmidas/G533Q
Added g533q config
2025-09-01 17:49:32 +00:00
Jörg Thalheim 682c8615f1 Merge pull request #1593 from janTatesa/master
fix: add missing import of ideapad 16iah8
2025-09-01 17:41:03 +00:00
Jörg Thalheim f08ec094d3 Merge pull request #1594 from mkorje/master
apple/t2: kernel 6.15 -> 6.16; sync patches
2025-09-01 17:40:42 +00:00
Jörg Thalheim 21030ae98d Merge pull request #1595 from spacifici/dell_precision_7520_stable_nvidia_driver
dell/precision/7520: use stable nvidia driver (not legacy)
2025-09-01 17:40:31 +00:00
Jörg Thalheim 3e10646c9b Merge pull request #1598 from KaiStarkk/patch-1
microsoft/surface: update wireplumber docs
2025-09-01 17:32:11 +00:00
KaiStarkk a57aded40e Update README.md - wireplumber example issue 2025-09-02 01:19:01 +10:00
mkorje f3444245a7 apple/t2: sync stable patches (6.12.43 -> 6.12.44) 2025-09-01 21:05:51 +10:00
mkorje 9691e6ee8a apple/t2: sync stable patches 2025-08-30 00:52:57 +10:00
Stefano Pacifici bfda6f34d3 dell/precision/7520: use stable nvidia driver (not legacy) 2025-08-29 14:09:23 +02:00
Mads Rumle Nordstrøm 59e2d82cc2 ran formatter for mbp11,4 2025-08-29 11:16:31 +02:00
lantianx 6439a46c7c feat: add MECHREVO Yilong15Pro(GM5HG0A) 2025-08-28 00:44:54 +08:00
Tatesa Uradnik cfb36e4feb fix: add missing import of ideapad 16iah8 2025-08-27 13:05:58 +02:00
Jörg Thalheim a65b650d69 Merge pull request #1590 from FrameworkComputer/fw16-nomicjack
framework 16: Remove headset quirk
2025-08-26 21:50:47 +00:00
Jörg Thalheim 048c7bbca5 Merge pull request #1591 from FrameworkComputer/framework-fwupd
framework: Enable fwupd by default
2025-08-26 21:49:20 +00:00
Daniel Schaefer 3a4da5f8c1 framework: Enable fwupd by default
Users should keep their firmware (not just BIOS) up to date.
Framework 13 Intel 11-13th Gen have some components that can't be
updated with fwupd, so some BIOS versions are better to be installed
through the EFI shell or Windows.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2025-08-27 01:11:13 +08:00
Daniel Schaefer cd3d24b038 Add Framework Laptop 16 AMD AI 300 Series
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2025-08-27 00:50:53 +08:00
Daniel Schaefer c13241f1c0 framework 16: Remove headset quirk
Framework 16 does not have a built-in headphone jack, this is not
needed.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2025-08-27 00:30:49 +08:00
Ace Hathaway cc896f1f7e Merge branch 'NixOS:master' into master 2025-08-22 16:41:52 -04:00
Aaron Adams 8137ca755e Merge branch 'master' into dell-precision-5570 2025-08-21 08:55:32 +08:00
fidgetingbits ebd8f57cd9 Fix probe id and switch from sync to offload 2025-08-21 08:52:27 +08:00
ktechmidas 5e741b56dc added supporting files 2025-08-20 13:50:51 +03:00
ktechmidas 17113fc124 Added g533q 2025-08-20 13:42:37 +03:00
bashfulrobot 0413405b45 feat: ✨ add ThinkPad T14 Intel Gen 6 hardware support
Add complete hardware profile for Lenovo ThinkPad T14 Intel Gen 6 with:
- Lunar Lake CPU architecture support with modern kernel requirements
- Intel Arc graphics integration
- Kernel parameters for backlight and touchpad optimization
- Fingerprint reader support with comprehensive PAM configuration guidance
- Disabled throttled service for modern Intel power management
- Updated flake.nix and README.md with new module entries

Includes detailed documentation for fingerprint authentication setup
with warnings about potential login issues and proper PAM configuration
in host systems. Follows CONTRIBUTING.md guidelines for profile structure.
2025-08-19 10:29:33 -07:00
Cassie Cheung e3e3717d85 apple/t2: kernel 6.15 -> 6.16; sync patches 2025-08-19 20:39:53 +08:00
Mads Rumle Nordstrøm 2d512d0f4e removed s2idle for macbookpro11,4 as default 2025-08-18 13:14:33 +02:00
dependabot[bot] 6287c9e15f build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 03:34:00 +00:00
Mads Rumle Nordstrøm 292aeb6fd6 added macbook pro 11,4 config 2025-08-15 13:16:50 +02:00
Jasper Chan c4af46bb6a raspberry-pi/4: support enabling/disabling media-controller api on tc358743 2025-08-13 21:48:22 -07:00
Jairo Llopis 79649965c5 fix(raspberry-pi-4): enable building kernel
Fixes https://github.com/NixOS/nixos-hardware/issues/858
2025-08-11 08:12:40 +02:00
eymeric 680761f019 fix: tc358743 dt overlay 2025-08-08 22:41:18 +02:00
Björn Eyselein 139a6586ed Add Lenovo Thinkpad P16s AMD Gen 4
Signed-off-by: Björn Eyselein <eyselein@infosim.net>
2025-08-08 09:51:11 +02:00
pancho horrillo aaecdd8d3b Update flake.lock, dropping unused nixpkgs input
On a7600cef40 all the
inputs on `flake.nix` were moved to `tests/flake.nix`, but `flake.lock`
was not updated correctly, and a reference to `nixpkgs` still remains,
producing this error upon evaluation when used as an input in my flake:

    evaluating file '<nix/derivation-internal.nix>'copying "/nix/store/xjzjf1f6nyg6yqxb6v5awf9hs14606yp-source" to the store...evaluating file '/nix/store/xjzjf1f6nyg6yqxb6v5awf9hs14606yp-source/flake.nix'evaluating file '/nix/store/xjzjf1f6nyg6yqxb6v5awf9hs14606yp-source/flake.nix'warning: updating lock file '"/nix/store/xjzjf1f6nyg6yqxb6v5awf9hs14606yp-source/flake.lock"':• Removed input 'nixpkgs'error:… while updating the lock file of flake 'path:/nix/store/xjzjf1f6nyg6yqxb6v5awf9hs14606yp-source?lastModified=0&narHash=sha256-dz303vGuzWjzOPOaYkS9xSW%2BB93PSAJxvBd6CambXVA%3D'error: opening file '/nix/store/xjzjf1f6nyg6yqxb6v5awf9hs14606yp-source/flake.lock': Read-only file system

I’ve thus updated `flake.lock` with the standard procedure:

```console
❯ nix flake lock --verbose
warning: updating lock file '"/home/pancho/sandbox/NixOS/nixos-hardware/flake.lock"':
• Removed input 'nixpkgs'
```
2025-08-08 07:17:15 +02:00
Nicky Mouha 8972e6538b framework/13-inch/intel-core-ultra-series1: revert #1358 (fix intel_vpu firmware error -2) 2025-08-06 13:04:39 -04:00
Flameopathic 26c9d90663 lenovo/yoga/7/14ILL10: update kernel version requirement 2025-08-02 22:53:06 -04:00
matthiasdotsh f30fc54b0e surface: linux 6.15.6 -> 6.15.9 2025-08-01 12:45:10 +02:00
florian c92f8fc536 style: apply formatter 2025-07-31 15:42:08 +02:00
suzana2314 28fc41508c lenovo-legion-15ach6h: added hybrid and nvidia configurations 2025-07-28 18:51:21 +01:00
omeyemburg 85070738e9 macbook-pro/8-1: remove redundant line in readme 2025-07-27 11:50:21 +02:00
omeyemburg 1f7ed6211f macbook-pro/12-1: remove redundant bracket in readme 2025-07-27 11:49:59 +02:00
Rituraj 37d0301b3c Removed enableAllFirmware, BT doesn't rely on it 2025-07-26 18:13:24 +05:30
Ace-h121 c46bd952e9 Forgot to add lib.mkDefault 2025-07-23 23:13:43 -04:00
Ace-h121 25fdfb36a7 Adding Power Management on Asus fa507nv
I personally own this laptop, I am running gnome and on sleep the
graphics always corrupt without fail, this setting has been the only way
to correct it.
2025-07-23 23:07:00 -04:00
Aaron Adams 19b899ead6 Merge branch 'master' into dell-precision-5570 2025-07-24 10:33:29 +08:00
fidgetingbits b90855f92a Added Dell Precision 5570 2025-07-24 10:31:11 +08:00
Jasper Chan 6015af43f3 raspberry-pi/4: support 4lane csi 2025-07-08 12:26:38 -07:00
florianvazelle 66e88bdcaa asus/rog-gl552vw: init 2025-07-01 22:15:31 +02:00
393 changed files with 27384 additions and 2772 deletions

No files matched your search

+2 -1
View File
@@ -9,4 +9,5 @@
# reapplied by the auto-rebase script
# nixfmt-rfc-style formatting
51e51e601448705c0d2f92ef90ec7b680123077c #!autorebase cd tests && nix fmt ..
51e51e601448705c0d2f92ef90ec7b680123077c #!autorebase cd tests && nix fmt ..
166dee4f88a7e3ba1b7a243edb1aca822f00680e
+2
View File
@@ -1,3 +1,5 @@
<!-- Please read the CONTRIBUTING.md guidelines before submitting: https://github.com/NixOS/nixos-hardware/blob/master/CONTRIBUTING.md -->
###### Description of changes
+6
View File
@@ -4,3 +4,9 @@ updates:
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "nix"
directories:
- "/"
- "tests/"
schedule:
interval: "weekly"
+4 -4
View File
@@ -9,13 +9,13 @@ jobs:
nixfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: cachix/install-nix-action@v31
- run: cd tests && nix fmt .. -- --fail-on-change
- run: nix build .#checks.x86_64-linux.formatting
tests:
needs: nixfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: cachix/install-nix-action@v31
- run: nix run ./tests#run .
- run: nix run .#run-tests
+3 -2
View File
@@ -8,7 +8,8 @@ pcengines/apu @yegortimoshenko
pine64/rockpro64 @tomfitzhenry
pine64/star64 @fgaz
purism/librem/13v3 @yegortimoshenko
raspberry-pi @doronbehar
system76/darp6 @khumba
framework @emiller88
framework @emiller88 @johnazoidberg
tuxedo/pulse/15/gen2 @trueNAHO
tuxedo/pulse/14/gen3 @gabyx @britter @trueNAHO
tuxedo/pulse/14/gen3 @gabyx @britter
+138 -6
View File
@@ -1,5 +1,11 @@
# Contributing a Device Profile
Please submit your contributions from a feature branch, not from your master branch:
```bash
git checkout -b my-new-hardware-profile
```
## 1. Writing profiles
Create an appropriate directory and start writing your expression.
@@ -36,18 +42,144 @@ should either be conservative or be guarded behind additional NixOS module
options. If it makes sense to have a performance-focussed config, it can be
declared in a separate profile.
## 2. Adding Entry
## 2. Optional: Add a README
Link the profile in the table in README.md and in flake.nix.
Profiles can include a `README.md` with device-specific documentation such as:
- Firmware update instructions
- BIOS settings
- Known issues and workarounds
- Links to external resources
## 3. Testing
See [framework/13-inch/7040-amd/README.md](framework/13-inch/7040-amd/README.md)
for a good example.
Run `nix run ./tests#run .` to evaluate all hardware profiles.
## 3. Adding Entry
Add your profile to both `README.md` and `flake.nix`.
**README.md**: Add a row to the table in alphabetical order by manufacturer:
```markdown
| [Manufacturer Model](manufacturer/model) | `<nixos-hardware/manufacturer/model>` | `manufacturer-model` |
```
The columns are:
1. Model name linking to the profile directory
2. Channel path (for `imports = [ <nixos-hardware/...> ]`)
3. Flake module name (for `nixos-hardware.nixosModules.<name>`)
**flake.nix**: Add an entry to the `nixosModules` attribute set:
```nix
manufacturer-model = import ./manufacturer/model;
```
The flake module name should use hyphens (e.g., `dell-xps-15-9500`).
## 4. Multiple Variants
For devices with multiple configurations (e.g., different GPU options), create
subdirectories with a shared base module. For example:
```
dell/xps/15-9560/
├── default.nix # Base profile (or one default variant)
├── intel/default.nix # Intel-only variant
├── nvidia/default.nix # Nvidia variant
└── xps-common.nix # Shared configuration
```
Each variant needs its own entry in README.md and flake.nix:
```nix
dell-xps-15-9560 = import ./dell/xps/15-9560;
dell-xps-15-9560-intel = import ./dell/xps/15-9560/intel;
dell-xps-15-9560-nvidia = import ./dell/xps/15-9560/nvidia;
```
## 5. Testing
Before opening a pull request, test your profile by pointing to your fork.
**Using channels:**
```bash
sudo nix-channel --add https://github.com/<github-user>/nixos-hardware/archive/<branch>.tar.gz nixos-hardware
sudo nix-channel --update
sudo nixos-rebuild test
```
**Using flakes:**
Update your `flake.nix` input temporarily:
```nix
inputs.nixos-hardware.url = "github:<github-user>/nixos-hardware/<branch>";
```
Then run:
```bash
sudo nixos-rebuild test --flake .
```
You can also run `nix run .#run-tests` to evaluate all hardware profiles.
Because profiles can only be tested with the appropriate hardware, quality
assurance is up to *you*.
## Compatibility
Profiles should work with both NixOS unstable and the current stable release.
## Deprecating Modules
When renaming or removing a module, add deprecation warnings for both flake and
channel users.
**For flake users**, use the `deprecated` helper in `flake.nix`:
```nix
old-module-name = deprecated "issue-number" "old-module-name" (import ./new/path);
```
**For channel users**, add an assertion in the old module's `default.nix`:
```nix
{ ... }:
{
assertions = [
{
assertion = false;
message = "Importing path/to/old/module (default.nix) directly is deprecated! See https://github.com/NixOS/nixos-hardware/blob/master/path/to/DEPRECATION.md for more details";
}
];
}
```
Include a markdown file explaining the migration path. See
[asus/zephyrus/ga402x/ATTR-SET-DEPRECATION.md](asus/zephyrus/ga402x/ATTR-SET-DEPRECATION.md)
for an example.
## Getting Help
For questions and discussions, join us in the
[#nixos-hardware:nixos.org](https://matrix.to/#/#nixos-hardware:nixos.org)
Matrix channel.
# For reviewers:
This repository has [mergify](https://mergify.com/) enabled for easier merging after a successfull build:
Any nixpkgs committer can review and approve pull requests in this repository.
* `@mergify queue` will add the current pull request to the merge queue and merge when all tests succeed
This repository uses GitHub merge queues for merging pull requests.
## Review checklist
1. **README.md entry**: Verify the contribution adds the device to the table in README.md
2. **flake.nix entry**: Verify the profile is exposed in flake.nix
3. **Common profiles**: Since testing on real hardware isn't always possible,
check that the profile re-uses appropriate common profiles (e.g., cpu, gpu,
laptop/pc, ssd/hdd modules)
4. **Previous contributors**: For changes to existing profiles, consider
requesting feedback from previous contributors who may have access to the
hardware
+412 -336
View File
@@ -32,7 +32,14 @@ the following:
```nix
{
description = "NixOS configuration with flakes";
inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master";
inputs = {
nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz";
nixos-hardware = {
url = "github:NixOS/nixos-hardware";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, nixos-hardware }: {
# replace <your-hostname> with your actual hostname
@@ -67,14 +74,14 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md).
## Get in touch
For questions and discussions, come join us in the [nixos-anywhere matrix](https://matrix.to/#/#nixos-hardware:nixos.org) room.
For questions and discussions, come join us in the [nixos-hardware matrix](https://matrix.to/#/#nixos-hardware:nixos.org) room.
# Community Meetings
The [NixOS hardware](https://github.com/orgs/NixOS/teams/nixos-hardware) team meets regularly to discuss hardware profiles and maintenance:
- **When**: Every 3rd Friday of the month
- **Time**: 04:00 pm (UTC) / 16:00 (UTC)
- **Time**: 06:00 pm (UTC) / 18:00 (UTC)
- **Where**: https://jitsi.lassul.us/Hardware-team
- **Contact**: hardware@nixos.org
@@ -84,337 +91,406 @@ All contributors and users are welcome to join!
See code for all available configurations.
| Model | Path | Flake Module |
| --------------------------------------------------------------------------------- | ------------------------------------------------------- | ---------------------------------- |
| [Acer Aspire 4810T](acer/aspire/4810t) | `<nixos-hardware/acer/aspire/4810t>` | `acer-aspire-4810t` |
| [Airis N990](airis/n990) | `<nixos-hardware/airis/n990>` | `airis-n990` |
| [Apple iMac 14.2](apple/imac/14-2) | `<nixos-hardware/apple/imac/14-2>` | `apple-imac-14-2` |
| [Apple iMac 18.2](apple/imac/18-2) | `<nixos-hardware/apple/imac/18-2>` | `apple-imac-18-2` |
| [Apple MacBook Air 3,X](apple/macbook-air/3) | `<nixos-hardware/apple/macbook-air/3>` | `apple-macbook-air-3` |
| [Apple MacBook Air 4,X](apple/macbook-air/4) | `<nixos-hardware/apple/macbook-air/4>` | `apple-macbook-air-4` |
| [Apple MacBook Air 6,X](apple/macbook-air/6) | `<nixos-hardware/apple/macbook-air/6>` | `apple-macbook-air-6` |
| [Apple MacBook Air 7,X](apple/macbook-air/7) | `<nixos-hardware/apple/macbook-air/7>` | `apple-macbook-air-7` |
| [Apple MacBook Pro 8,1](apple/macbook-pro/8-1) | `<nixos-hardware/apple/macbook-pro/8-1>` | `apple-macbook-pro-8-1` |
| [Apple MacBook Pro 10,1](apple/macbook-pro/10-1) | `<nixos-hardware/apple/macbook-pro/10-1>` | `apple-macbook-pro-10-1` |
| [Apple MacBook Pro 11,1](apple/macbook-pro/11-1) | `<nixos-hardware/apple/macbook-pro/11-1>` | `apple-macbook-pro-11-1` |
| [Apple MacBook Pro 11,5](apple/macbook-pro/11-5) | `<nixos-hardware/apple/macbook-pro/11-5>` | `apple-macbook-pro-11-5` |
| [Apple MacBook Pro 12,1](apple/macbook-pro/12-1) | `<nixos-hardware/apple/macbook-pro/12-1>` | `apple-macbook-pro-12-1` |
| [Apple MacBook Pro 14,1](apple/macbook-pro/14-1) | `<nixos-hardware/apple/macbook-pro/14-1>` | `apple-macbook-pro-14-1` |
| [Apple MacMini (2010, Intel, Nvidia)](apple/macmini/4) | `<nixos-hardware/apple/macmini/4>` | `apple-macmini-4-1` |
| [Apple Macs with a T2 Chip](apple/t2) | `<nixos-hardware/apple/t2>` | `apple-t2` |
| [Aoostar R1 N100](aoostar/r1/n100) | `<nixos-hardware/aoostar/r1/n100>` | `aoostar-r1-n100` |
| [Asus Pro WS X570-ACE](asus/pro-ws-x570-ace) | `<nixos-hardware/asus/pro-ws-x570-ace>` | `asus-pro-ws-x570-ace` |
| [Asus ROG Ally RC71L (2023)](asus/ally/rc71l) | `<nixos-hardware/asus/ally/rc71l>` | `asus-ally-rc71l` |
| [Asus ROG Flow X13 GV302X\* (2023)](asus/flow/gv302x/amdgpu) | `<nixos-hardware/asus/flow/gv302x/amdgpu>` | `asus-flow-gv302x-amdgpu` |
| [Asus ROG Flow X13 GV302X\* (2023)](asus/flow/gv302x/nvidia) | `<nixos-hardware/asus/flow/gv302x/nvidia>` | `asus-flow-gv302x-nvidia` |
| [Asus ROG Strix G513IM](asus/rog-strix/g513im) | `<nixos-hardware/asus/rog-strix/g513im>` | `asus-rog-strix-g513im` |
| [Asus ROG Strix G533ZW](asus/rog-strix/g533zw) | `<nixos-hardware/asus/rog-strix/g533zw>` | `asus-rog-strix-g533zw` |
| [Asus ROG Strix G713IE](asus/rog-strix/g713ie) | `<nixos-hardware/asus/rog-strix/g713ie>` | `asus-rog-strix-g713ie` |
| [Asus ROG Strix G733QS](asus/rog-strix/g733qs) | `<nixos-hardware/asus/rog-strix/g733qs>` | `asus-rog-strix-g733qs` |
| [Asus ROG Strix X570-E GAMING](asus/rog-strix/x570e) | `<nixos-hardware/asus/rog-strix/x570e>` | `asus-rog-strix-x570e` |
| [Asus ROG Zephyrus G14 GA401](asus/zephyrus/ga401) | `<nixos-hardware/asus/zephyrus/ga401>` | `asus-zephyrus-ga401` |
| [Asus ROG Zephyrus G14 GA402](asus/zephyrus/ga402) | `<nixos-hardware/asus/zephyrus/ga402>` | `asus-zephyrus-ga402` |
| [Asus ROG Zephyrus G14 GA402X\* (2023)](asus/zephyrus/ga402x/amdgpu) | `<nixos-hardware/asus/zephyrus/ga402x/amdgpu>` | `asus-zephyrus-ga402x-amdgpu` |
| [Asus ROG Zephyrus G14 GA402X\* (2023)](asus/zephyrus/ga402x/nvidia) | `<nixos-hardware/asus/zephyrus/ga402x/nvidia>` | `asus-zephyrus-ga402x-nvidia` |
| [Asus ROG Zephyrus G15 GA502](asus/zephyrus/ga502) | `<nixos-hardware/asus/zephyrus/ga502>` | `asus-zephyrus-ga502` |
| [Asus ROG Zephyrus G15 GA503](asus/zephyrus/ga503) | `<nixos-hardware/asus/zephyrus/ga503>` | `asus-zephyrus-ga503` |
| [Asus ROG Zephyrus G16 GU605MY](asus/zephyrus/gu605my) | `<nixos-hardware/asus/zephyrus/gu605my>` | `asus-zephyrus-gu605my` |
| [Asus ROG Zephyrus M16 GU603H](asus/zephyrus/gu603h) | `<nixos-hardware/asus/zephyrus/gu603h>` | `asus-zephyrus-gu603h` |
| [Asus TUF FX504GD](asus/fx504gd) | `<nixos-hardware/asus/fx504gd>` | `asus-fx504gd` |
| [Asus TUF FX506HM](asus/fx506hm) | `<nixos-hardware/asus/fx506hm>` | `asus-fx506hm` |
| [Asus TUF FA506IC](asus/fa506ic) | `<nixos-hardware/asus/fa506ic>` | `asus-fa506ic` |
| [Asus TUF FA507RM](asus/fa507rm) | `<nixos-hardware/asus/fa507rm>` | `asus-fa507rm` |
| [Asus TUF FA507NV](asus/fa507nv) | `<nixos-hardware/asus/fa507nv>` | `asus-fa507nv` |
| [Asus Zenbook Duo 14 UX481](asus/zenbook/ux481/intelgpu/) | `<nixos-hardware/asus/zenbook/ux481/intelgpu>` | `asus-zenbook-ux481-intelgpu` |
| [Asus Zenbook Duo 14 UX481](asus/zenbook/ux481/nvidia/) | `<nixos-hardware/asus/zenbook/ux481/nvidia>` | `asus-zenbook-ux481-nvidia` |
| [Asus Zenbook Flip S13 UX371](asus/zenbook/ux371/) | `<nixos-hardware/asus/zenbook/ux371>` | `asus-zenbook-ux371` |
| [Asus Zenbook Pro 15 UX535](asus/zenbook/ux535/) | `<nixos-hardware/asus/zenbook/ux535>` | `asus-zenbook-ux535` |
| [BeagleBoard PocketBeagle](beagleboard/pocketbeagle) | `<nixos-hardware/beagleboard/pocketbeagle>` | `beagleboard-pocketbeagle` |
| [Chuwi MiniBook X](chuwi/minibook-x) | `<nixos-hardware/chuwi/minibook-x>` | `chuwi-minibook-x` |
| [Deciso DEC series](deciso/dec) | `<nixos-hardware/deciso/dec>` | `deciso-dec` |
| [Dell G3 3779](dell/g3/3779) | `<nixos-hardware/dell/g3/3779>` | `dell-g3-3779` |
| [Dell G3 3579](dell/g3/3579) | `<nixos-hardware/dell/g3/3579>` | `dell-g3-3579` |
| [Dell Inspiron 3442](dell/inspiron/3442) | `<nixos-hardware/dell/inspiron/3442>` | `dell-inspiron-3442` |
| [Dell Inspiron 14 5420](dell/inspiron/14-5420) | `<nixos-hardware/dell/inspiron/14-5420>` | `dell-inspiron-14-5420` |
| [Dell Inspiron 5509](dell/inspiron/5509) | `<nixos-hardware/dell/inspiron/5509>` | `dell-inspiron-5509` |
| [Dell Inspiron 5515](dell/inspiron/5515) | `<nixos-hardware/dell/inspiron/5515>` | `dell-inspiron-5515` |
| [Dell Inspiron 7405](dell/inspiron/7405) | `<nixos-hardware/dell/inspiron/7405>` | `dell-inspiron-7405` |
| [Dell Inspiron 7460](dell/inspiron/7460) | `<nixos-hardware/dell/inspiron/7460>` | `dell-inspiron-7460` |
| [Dell Inspiron 7559](dell/inspiron/7559) | `<nixos-hardware/dell/inspiron/7559>` | `dell-inspiron-7559` |
| [Dell Latitude 3340](dell/latitude/3340) | `<nixos-hardware/dell/latitude/3340>` | `dell-latitude-3340` |
| [Dell Latitude 3480](dell/latitude/3480) | `<nixos-hardware/dell/latitude/3480>` | `dell-latitude-3480` |
| [Dell Latitude 5490](dell/latitude/5490) | `<nixos-hardware/dell/latitude/5490>` | `dell-latitude-5490` |
| [Dell Latitude 5520](dell/latitude/5520) | `<nixos-hardware/dell/latitude/5520>` | `dell-latitude-5520` |
| [Dell Latitude 7280](dell/latitude/7280) | `<nixos-hardware/dell/latitude/7280>` | `dell-latitude-7280` |
| [Dell Latitude 7390](dell/latitude/7390) | `<nixos-hardware/dell/latitude/7390>` | `dell-latitude-7390` |
| [Dell Latitude 7420](dell/latitude/7420) | `<nixos-hardware/dell/latitude/7420>` | `dell-latitude-7420` |
| [Dell Latitude 7430](dell/latitude/7430) | `<nixos-hardware/dell/latitude/7430>` | `dell-latitude-7430` |
| [Dell Latitude 7490](dell/latitude/7490) | `<nixos-hardware/dell/latitude/7490>` | `dell-latitude-7490` |
| [Dell Latitude 9430](dell/latitude/9430) | `<nixos-hardware/dell/latitude/9430>` | `dell-latitude-9430` |
| [Dell Latitude E7240](dell/latitude/e7240) | `<nixos-hardware/dell/latitude/e7240>` | `dell-latitude-e7240` |
| [Dell Optiplex 3050](dell/optiplex/3050) | `<nixos-hardware/dell/optiplex/3050>` | `dell-optiplex-3050` |
| [Dell Poweredge R7515](dell/poweredge/r7515) | `<nixos-hardware/dell/poweredge/r7515>` | `dell-poweredge-r7515` |
| [Dell Precision 3490, nvidia](dell/precision/3490/nvidia) | `<nixos-hardware/dell/precision/3490/nvidia>` | `dell-precision-3490-nvidia` |
| [Dell Precision 3490, intel](dell/precision/3490/intel) | `<nixos-hardware/dell/precision/3490/intel>` | `dell-precision-3490-intel` |
| [Dell Precision 3541](dell/precision/3541) | `<nixos-hardware/dell/precision/3541>` | `dell-precision-3541` |
| [Dell Precision 5490](dell/precision/5490) | `<nixos-hardware/dell/precision/5490>` | `dell-precision-5490` |
| [Dell Precision 5530](dell/precision/5530) | `<nixos-hardware/dell/precision/5530>` | `dell-precision-5530` |
| [Dell Precision 7520](dell/precision/7520) | `<nixos-hardware/dell/precision/7520>` | `dell-precision-7520` |
| [Dell XPS 13 7390](dell/xps/13-7390) | `<nixos-hardware/dell/xps/13-7390>` | `dell-xps-13-7390` |
| [Dell XPS 13 9300](dell/xps/13-9300) | `<nixos-hardware/dell/xps/13-9300>` | `dell-xps-13-9300` |
| [Dell XPS 13 9310](dell/xps/13-9310) | `<nixos-hardware/dell/xps/13-9310>` | `dell-xps-13-9310` |
| [Dell XPS 13 9315](dell/xps/13-9315) | `<nixos-hardware/dell/xps/13-9315>` | `dell-xps-13-9315` |
| [Dell XPS 13 9333](dell/xps/13-9333) | `<nixos-hardware/dell/xps/13-9333>` | `dell-xps-13-9333` |
| [Dell XPS 13 9343](dell/xps/13-9343) | `<nixos-hardware/dell/xps/13-9343>` | `dell-xps-13-9343` |
| [Dell XPS 13 9350](dell/xps/13-9350) | `<nixos-hardware/dell/xps/13-9350>` | `dell-xps-13-9350` |
| [Dell XPS 13 9360](dell/xps/13-9360) | `<nixos-hardware/dell/xps/13-9360>` | `dell-xps-13-9360` |
| [Dell XPS 13 9370](dell/xps/13-9370) | `<nixos-hardware/dell/xps/13-9370>` | `dell-xps-13-9370` |
| [Dell XPS 13 9380](dell/xps/13-9380) | `<nixos-hardware/dell/xps/13-9380>` | `dell-xps-13-9380` |
| [Dell XPS 15 7590, nvidia](dell/xps/15-7590/nvidia) | `<nixos-hardware/dell/xps/15-7590/nvidia>` | `dell-xps-15-7590-nvidia` |
| [Dell XPS 15 7590](dell/xps/15-7590) | `<nixos-hardware/dell/xps/15-7590>` | `dell-xps-15-7590` |
| [Dell XPS 15 9500, nvidia](dell/xps/15-9500/nvidia) | `<nixos-hardware/dell/xps/15-9500/nvidia>` | `dell-xps-15-9500-nvidia` |
| [Dell XPS 15 9500](dell/xps/15-9500) | `<nixos-hardware/dell/xps/15-9500>` | `dell-xps-15-9500` |
| [Dell XPS 15 9510, nvidia](dell/xps/15-9510/nvidia) | `<nixos-hardware/dell/xps/15-9510/nvidia>` | `dell-xps-15-9510-nvidia` |
| [Dell XPS 15 9510](dell/xps/15-9510) | `<nixos-hardware/dell/xps/15-9510>` | `dell-xps-15-9510` |
| [Dell XPS 15 9520, nvidia](dell/xps/15-9520/nvidia) | `<nixos-hardware/dell/xps/15-9520/nvidia>` | `dell-xps-15-9520-nvidia` |
| [Dell XPS 15 9520](dell/xps/15-9520) | `<nixos-hardware/dell/xps/15-9520>` | `dell-xps-15-9520` |
| [Dell XPS 15 9530, nvidia](dell/xps/15-9530/nvidia) | `<nixos-hardware/dell/xps/15-9530/nvidia>` | `dell-xps-15-9530-nvidia` |
| [Dell XPS 15 9530](dell/xps/15-9530) | `<nixos-hardware/dell/xps/15-9530>` | `dell-xps-15-9530` |
| [Dell XPS 15 9550, nvidia](dell/xps/15-9550/nvidia) | `<nixos-hardware/dell/xps/15-9550/nvidia>` | `dell-xps-15-9550-nvidia` |
| [Dell XPS 15 9550](dell/xps/15-9550) | `<nixos-hardware/dell/xps/15-9550>` | `dell-xps-15-9550` |
| [Dell XPS 15 9560, intel only](dell/xps/15-9560/intel) | `<nixos-hardware/dell/xps/15-9560/intel>` | `dell-xps-15-9560-intel` |
| [Dell XPS 15 9560, nvidia only](dell/xps/15-9560/nvidia) | `<nixos-hardware/dell/xps/15-9560/nvidia>` | `dell-xps-15-9560-nvidia` |
| [Dell XPS 15 9560](dell/xps/15-9560) | `<nixos-hardware/dell/xps/15-9560>` | `dell-xps-15-9560` |
| [Dell XPS 15 9570, intel only](dell/xps/15-9570/intel) | `<nixos-hardware/dell/xps/15-9570/intel>` | `dell-xps-15-9570-intel` |
| [Dell XPS 15 9570, nvidia](dell/xps/15-9570/nvidia) | `<nixos-hardware/dell/xps/15-9570/nvidia>` | `dell-xps-15-9570-nvidia` |
| [Dell XPS 15 9570](dell/xps/15-9570) | `<nixos-hardware/dell/xps/15-9570>` | `dell-xps-15-9570` |
| [Dell XPS 17 9700, intel](dell/xps/17-9700/intel) | `<nixos-hardware/dell/xps/17-9700/intel` | `dell-xps-17-9700-intel` |
| [Dell XPS 17 9700, nvidia](dell/xps/17-9700/nvidia) | `<nixos-hardware/dell/xps/17-9700/nvidia>` | `dell-xps-17-9700-nvidia` |
| [Dell XPS 17 9710, intel only](dell/xps/17-9710/intel) | `<nixos-hardware/dell/xps/17-9710/intel>` | `dell-xps-17-9710-intel` |
| [Framework 11th Gen Intel Core](framework/13-inch/11th-gen-intel) | `<nixos-hardware/framework/13-inch/11th-gen-intel>` | `framework-11th-gen-intel` |
| [Framework 12th Gen Intel Core](framework/12-inch/13th-gen-intel) | `<nixos-hardware/framework/12-inch/13th-gen-intel>` | `framework-12th-gen-intel` |
| [Framework 13th Gen Intel Core](framework/13-inch/13th-gen-intel) | `<nixos-hardware/framework/13-inch/13th-gen-intel>` | `framework-13th-gen-intel` |
| Model | Path | Flake Module |
| --------------------------------------------------------------------------------- | ------------------------------------------------------- | -------------------------------------- |
| [Acer Aspire 4810T](acer/aspire/4810t) | `<nixos-hardware/acer/aspire/4810t>` | `acer-aspire-4810t` |
| [Acer Nitro 5 (AN515-55)](acer/nitro/5/an515-55) | `<nixos-hardware/acer/nitro/5/an515-55>` | `acer-nitro-5-an515-55` |
| [Acer Predator Helios 300 (PH315-51)](acer/predator/helios/300/ph315-51/) | `<nixos-hardware/acer/predator/helios/300/ph315-51/>` | `acer-predator-helios-300-ph315-51` |
| [Airis N990](airis/n990) | `<nixos-hardware/airis/n990>` | `airis-n990` |
| [Apple iMac 12,2](apple/imac/12-2) | `<nixos-hardware/apple/imac/12-2>` | `apple-imac-12-2` |
| [Apple iMac 14.2](apple/imac/14-2) | `<nixos-hardware/apple/imac/14-2>` | `apple-imac-14-2` |
| [Apple iMac 18.2](apple/imac/18-2) | `<nixos-hardware/apple/imac/18-2>` | `apple-imac-18-2` |
| [Apple MacBook Air 3,X](apple/macbook-air/3) | `<nixos-hardware/apple/macbook-air/3>` | `apple-macbook-air-3` |
| [Apple MacBook Air 4,X](apple/macbook-air/4) | `<nixos-hardware/apple/macbook-air/4>` | `apple-macbook-air-4` |
| [Apple MacBook Air 5,X](apple/macbook-air/5) | `<nixos-hardware/apple/macbook-air/5>` | `apple-macbook-air-5` |
| [Apple MacBook Air 6,X](apple/macbook-air/6) | `<nixos-hardware/apple/macbook-air/6>` | `apple-macbook-air-6` |
| [Apple MacBook Air 7,X](apple/macbook-air/7) | `<nixos-hardware/apple/macbook-air/7>` | `apple-macbook-air-7` |
| [Apple MacBook Pro 8,1](apple/macbook-pro/8-1) | `<nixos-hardware/apple/macbook-pro/8-1>` | `apple-macbook-pro-8-1` |
| [Apple MacBook Pro 10,1](apple/macbook-pro/10-1) | `<nixos-hardware/apple/macbook-pro/10-1>` | `apple-macbook-pro-10-1` |
| [Apple MacBook Pro 11,1](apple/macbook-pro/11-1) | `<nixos-hardware/apple/macbook-pro/11-1>` | `apple-macbook-pro-11-1` |
| [Apple MacBook Pro 11,4](apple/macbook-pro/11-4) | `<nixos-hardware/apple/macbook-pro/11-4>` | `apple-macbook-pro-11-4` |
| [Apple MacBook Pro 11,5](apple/macbook-pro/11-5) | `<nixos-hardware/apple/macbook-pro/11-5>` | `apple-macbook-pro-11-5` |
| [Apple MacBook Pro 12,1](apple/macbook-pro/12-1) | `<nixos-hardware/apple/macbook-pro/12-1>` | `apple-macbook-pro-12-1` |
| [Apple MacBook Pro 14,1](apple/macbook-pro/14-1) | `<nixos-hardware/apple/macbook-pro/14-1>` | `apple-macbook-pro-14-1` |
| [Apple MacMini (2010, Intel, Nvidia)](apple/macmini/4) | `<nixos-hardware/apple/macmini/4>` | `apple-macmini-4-1` |
| [Apple Macs with a T2 Chip](apple/t2) | `<nixos-hardware/apple/t2>` | `apple-t2` |
| [Aoostar R1 N100](aoostar/r1/n100) | `<nixos-hardware/aoostar/r1/n100>` | `aoostar-r1-n100` |
| [Asus Pro WS X570-ACE](asus/pro-ws-x570-ace) | `<nixos-hardware/asus/pro-ws-x570-ace>` | `asus-pro-ws-x570-ace` |
| [Asus ROG Ally RC71L (2023)](asus/ally/rc71l) | `<nixos-hardware/asus/ally/rc71l>` | `asus-ally-rc71l` |
| [Asus ROG Flow X13 GV302X\* (2023)](asus/flow/gv302x/amdgpu) | `<nixos-hardware/asus/flow/gv302x/amdgpu>` | `asus-flow-gv302x-amdgpu` |
| [Asus ROG Flow X13 GV302X\* (2023)](asus/flow/gv302x/nvidia) | `<nixos-hardware/asus/flow/gv302x/nvidia>` | `asus-flow-gv302x-nvidia` |
| [Asus ROG Flow Z13 gz301vu\* (2023)](asus/flow/gz301vu) | `<nixos-hardware/asus/flow/gz301vu>` | `asus-flow-gz301vu` |
| [Asus ROG GL552VW](asus/rog-gl552vw) | `<nixos-hardware/asus/rog-gl552vw>` | `asus-rog-gl552vw` |
| [Asus ROG Strix G513IM](asus/rog-strix/g513im) | `<nixos-hardware/asus/rog-strix/g513im>` | `asus-rog-strix-g513im` |
| [Asus ROG Strix G533ZW](asus/rog-strix/g533zw) | `<nixos-hardware/asus/rog-strix/g533zw>` | `asus-rog-strix-g533zw` |
| [Asus ROG Strix G533Q](asus/rog-strix/g533q) | `<nixos-hardware/asus/rog-strix/g533q>` | `asus-rog-strix-g533zw` |
| [Asus ROG Strix G713IE](asus/rog-strix/g713ie) | `<nixos-hardware/asus/rog-strix/g713ie>` | `asus-rog-strix-g713ie` |
| [Asus ROG Strix G733QS](asus/rog-strix/g733qs) | `<nixos-hardware/asus/rog-strix/g733qs>` | `asus-rog-strix-g733qs` |
| [Asus ROG Strix X570-E GAMING](asus/rog-strix/x570e) | `<nixos-hardware/asus/rog-strix/x570e>` | `asus-rog-strix-x570e` |
| [Asus ROG Zephyrus G14 GA401IV (2020)](asus/zephyrus/ga401iv) | `<nixos-hardware/asus/zephyrus/ga401iv>` | `asus-zephyrus-ga401iv` |
| [Asus ROG Zephyrus G14 GA401 (2021)](asus/zephyrus/ga401) | `<nixos-hardware/asus/zephyrus/ga401>` | `asus-zephyrus-ga401` |
| [Asus ROG Zephyrus G14 GA402](asus/zephyrus/ga402) | `<nixos-hardware/asus/zephyrus/ga402>` | `asus-zephyrus-ga402` |
| [Asus ROG Zephyrus G14 GA402X\* (2023)](asus/zephyrus/ga402x/amdgpu) | `<nixos-hardware/asus/zephyrus/ga402x/amdgpu>` | `asus-zephyrus-ga402x-amdgpu` |
| [Asus ROG Zephyrus G14 GA402X\* (2023)](asus/zephyrus/ga402x/nvidia) | `<nixos-hardware/asus/zephyrus/ga402x/nvidia>` | `asus-zephyrus-ga402x-nvidia` |
| [Asus ROG Zephyrus G15 GA502](asus/zephyrus/ga502) | `<nixos-hardware/asus/zephyrus/ga502>` | `asus-zephyrus-ga502` |
| [Asus ROG Zephyrus G15 GA503](asus/zephyrus/ga503) | `<nixos-hardware/asus/zephyrus/ga503>` | `asus-zephyrus-ga503` |
| [Asus ROG Zephyrus G16 GU605CW](asus/zephyrus/gu605cw) | `<nixos-hardware/asus/zephyrus/gu605cw>` | `asus-zephyrus-gu605cw` |
| [Asus ROG Zephyrus G16 GU605MY](asus/zephyrus/gu605my) | `<nixos-hardware/asus/zephyrus/gu605my>` | `asus-zephyrus-gu605my` |
| [Asus ROG Zephyrus M16 GU603H](asus/zephyrus/gu603h) | `<nixos-hardware/asus/zephyrus/gu603h>` | `asus-zephyrus-gu603h` |
| [Asus TUF FX504GD](asus/fx504gd) | `<nixos-hardware/asus/fx504gd>` | `asus-fx504gd` |
| [Asus TUF FX506HM](asus/fx506hm) | `<nixos-hardware/asus/fx506hm>` | `asus-fx506hm` |
| [Asus TUF FA506IC](asus/fa506ic) | `<nixos-hardware/asus/fa506ic>` | `asus-fa506ic` |
| [Asus TUF FA506IC](asus/fa506nc) | `<nixos-hardware/asus/fa506nc>` | `asus-fa506nc` |
| [Asus TUF FA507RM](asus/fa507rm) | `<nixos-hardware/asus/fa507rm>` | `asus-fa507rm` |
| [Asus TUF FA507NV](asus/fa507nv) | `<nixos-hardware/asus/fa507nv>` | `asus-fa507nv` |
| [Asus TUF FA706IC](asus/fa706ic) | `<nixos-hardware/asus/fa706ic>` | `asus-fa706ic` |
| [Asus Zenbook Duo 14 UX481](asus/zenbook/ux481/intelgpu/) | `<nixos-hardware/asus/zenbook/ux481/intelgpu>` | `asus-zenbook-ux481-intelgpu` |
| [Asus Zenbook Duo 14 UX481](asus/zenbook/ux481/nvidia/) | `<nixos-hardware/asus/zenbook/ux481/nvidia>` | `asus-zenbook-ux481-nvidia` |
| [Asus Zenbook Flip S13 UX371](asus/zenbook/ux371/) | `<nixos-hardware/asus/zenbook/ux371>` | `asus-zenbook-ux371` |
| [Asus Zenbook Pro 15 UX535](asus/zenbook/ux535/) | `<nixos-hardware/asus/zenbook/ux535>` | `asus-zenbook-ux535` |
| [Asus Zenbook Pro 17 UM6702](asus/zenbook/um6702/) | `<nixos-hardware/asus/zenbook/um6702>` | `asus-zenbook-um6702` |
| [Asrock Rack ALTRAD8UD-1L2T](asrock-rack/altrad8ud-1l2t) | `<nixos-hardware/asrock-rack/altrad8ud-1l2t>` | `asrock-rack-altrad8ud-1l2t` |
| [BeagleBoard PocketBeagle](beagleboard/pocketbeagle) | `<nixos-hardware/beagleboard/pocketbeagle>` | `beagleboard-pocketbeagle` |
| [Chuwi MiniBook X](chuwi/minibook-x) | `<nixos-hardware/chuwi/minibook-x>` | `chuwi-minibook-x` |
| [Deciso DEC series](deciso/dec) | `<nixos-hardware/deciso/dec>` | `deciso-dec` |
| [Dell G3 3779](dell/g3/3779) | `<nixos-hardware/dell/g3/3779>` | `dell-g3-3779` |
| [Dell G3 3579](dell/g3/3579) | `<nixos-hardware/dell/g3/3579>` | `dell-g3-3579` |
| [Dell Inspiron 3442](dell/inspiron/3442) | `<nixos-hardware/dell/inspiron/3442>` | `dell-inspiron-3442` |
| [Dell Inspiron 14 5420](dell/inspiron/14-5420) | `<nixos-hardware/dell/inspiron/14-5420>` | `dell-inspiron-14-5420` |
| [Dell Inspiron 5509](dell/inspiron/5509) | `<nixos-hardware/dell/inspiron/5509>` | `dell-inspiron-5509` |
| [Dell Inspiron 5515](dell/inspiron/5515) | `<nixos-hardware/dell/inspiron/5515>` | `dell-inspiron-5515` |
| [Dell Inspiron 7405](dell/inspiron/7405) | `<nixos-hardware/dell/inspiron/7405>` | `dell-inspiron-7405` |
| [Dell Inspiron 7460](dell/inspiron/7460) | `<nixos-hardware/dell/inspiron/7460>` | `dell-inspiron-7460` |
| [Dell Inspiron 7559](dell/inspiron/7559) | `<nixos-hardware/dell/inspiron/7559>` | `dell-inspiron-7559` |
| [Dell Latitude 3340](dell/latitude/3340) | `<nixos-hardware/dell/latitude/3340>` | `dell-latitude-3340` |
| [Dell Latitude 3480](dell/latitude/3480) | `<nixos-hardware/dell/latitude/3480>` | `dell-latitude-3480` |
| [Dell Latitude 3530](dell/latitude/3530) | `<nixos-hardware/dell/latitude/3530>` | `dell-latitude-3530` |
| [Dell Latitude 5490](dell/latitude/5490) | `<nixos-hardware/dell/latitude/5490>` | `dell-latitude-5490` |
| [Dell Latitude 5520](dell/latitude/5520) | `<nixos-hardware/dell/latitude/5520>` | `dell-latitude-5520` |
| [Dell Latitude 7280](dell/latitude/7280) | `<nixos-hardware/dell/latitude/7280>` | `dell-latitude-7280` |
| [Dell Latitude 7390](dell/latitude/7390) | `<nixos-hardware/dell/latitude/7390>` | `dell-latitude-7390` |
| [Dell Latitude 7420](dell/latitude/7420) | `<nixos-hardware/dell/latitude/7420>` | `dell-latitude-7420` |
| [Dell Latitude 7430](dell/latitude/7430) | `<nixos-hardware/dell/latitude/7430>` | `dell-latitude-7430` |
| [Dell Latitude 7490](dell/latitude/7490) | `<nixos-hardware/dell/latitude/7490>` | `dell-latitude-7490` |
| [Dell Latitude 9430](dell/latitude/9430) | `<nixos-hardware/dell/latitude/9430>` | `dell-latitude-9430` |
| [Dell Latitude E7240](dell/latitude/e7240) | `<nixos-hardware/dell/latitude/e7240>` | `dell-latitude-e7240` |
| [Dell Latitude E7440](dell/latitude/e7440) | `<nixos-hardware/dell/latitude/e7440>` | `dell-latitude-e7440` |
| [Dell Optiplex 3050](dell/optiplex/3050) | `<nixos-hardware/dell/optiplex/3050>` | `dell-optiplex-3050` |
| [Dell Poweredge R7515](dell/poweredge/r7515) | `<nixos-hardware/dell/poweredge/r7515>` | `dell-poweredge-r7515` |
| [Dell Precision 3490, nvidia](dell/precision/3490/nvidia) | `<nixos-hardware/dell/precision/3490/nvidia>` | `dell-precision-3490-nvidia` |
| [Dell Precision 3490, intel](dell/precision/3490/intel) | `<nixos-hardware/dell/precision/3490/intel>` | `dell-precision-3490-intel` |
| [Dell Precision 3541](dell/precision/3541) | `<nixos-hardware/dell/precision/3541>` | `dell-precision-3541` |
| [Dell Precision 5490](dell/precision/5490) | `<nixos-hardware/dell/precision/5490>` | `dell-precision-5490` |
| [Dell Precision 5530](dell/precision/5530) | `<nixos-hardware/dell/precision/5530>` | `dell-precision-5530` |
| [Dell Precision 5560](dell/precision/5560) | `<nixos-hardware/dell/precision/5560>` | `dell-precision-5560` |
| [Dell Precision 5570](dell/precision/5570) | `<nixos-hardware/dell/precision/5570>` | `dell-precision-5570` |
| [Dell Precision 5820](dell/precision/5820) | `<nixos-hardware/dell/precision/5820>` | `dell-precision-5820` |
| [Dell Precision 7520](dell/precision/7520) | `<nixos-hardware/dell/precision/7520>` | `dell-precision-7520` |
| [Dell XPS 13 7390](dell/xps/13-7390) | `<nixos-hardware/dell/xps/13-7390>` | `dell-xps-13-7390` |
| [Dell XPS 13 9300](dell/xps/13-9300) | `<nixos-hardware/dell/xps/13-9300>` | `dell-xps-13-9300` |
| [Dell XPS 13 9310](dell/xps/13-9310) | `<nixos-hardware/dell/xps/13-9310>` | `dell-xps-13-9310` |
| [Dell XPS 13 9315](dell/xps/13-9315) | `<nixos-hardware/dell/xps/13-9315>` | `dell-xps-13-9315` |
| [Dell XPS 13 9333](dell/xps/13-9333) | `<nixos-hardware/dell/xps/13-9333>` | `dell-xps-13-9333` |
| [Dell XPS 13 9343](dell/xps/13-9343) | `<nixos-hardware/dell/xps/13-9343>` | `dell-xps-13-9343` |
| [Dell XPS 13 9350](dell/xps/13-9350) | `<nixos-hardware/dell/xps/13-9350>` | `dell-xps-13-9350` |
| [Dell XPS 13 9360](dell/xps/13-9360) | `<nixos-hardware/dell/xps/13-9360>` | `dell-xps-13-9360` |
| [Dell XPS 13 9370](dell/xps/13-9370) | `<nixos-hardware/dell/xps/13-9370>` | `dell-xps-13-9370` |
| [Dell XPS 13 9380](dell/xps/13-9380) | `<nixos-hardware/dell/xps/13-9380>` | `dell-xps-13-9380` |
| [Dell XPS 15 7590, nvidia](dell/xps/15-7590/nvidia) | `<nixos-hardware/dell/xps/15-7590/nvidia>` | `dell-xps-15-7590-nvidia` |
| [Dell XPS 15 7590](dell/xps/15-7590) | `<nixos-hardware/dell/xps/15-7590>` | `dell-xps-15-7590` |
| [Dell XPS 15 9500, nvidia](dell/xps/15-9500/nvidia) | `<nixos-hardware/dell/xps/15-9500/nvidia>` | `dell-xps-15-9500-nvidia` |
| [Dell XPS 15 9500](dell/xps/15-9500) | `<nixos-hardware/dell/xps/15-9500>` | `dell-xps-15-9500` |
| [Dell XPS 15 9510, nvidia](dell/xps/15-9510/nvidia) | `<nixos-hardware/dell/xps/15-9510/nvidia>` | `dell-xps-15-9510-nvidia` |
| [Dell XPS 15 9510](dell/xps/15-9510) | `<nixos-hardware/dell/xps/15-9510>` | `dell-xps-15-9510` |
| [Dell XPS 15 9520, nvidia](dell/xps/15-9520/nvidia) | `<nixos-hardware/dell/xps/15-9520/nvidia>` | `dell-xps-15-9520-nvidia` |
| [Dell XPS 15 9520](dell/xps/15-9520) | `<nixos-hardware/dell/xps/15-9520>` | `dell-xps-15-9520` |
| [Dell XPS 15 9530, nvidia](dell/xps/15-9530/nvidia) | `<nixos-hardware/dell/xps/15-9530/nvidia>` | `dell-xps-15-9530-nvidia` |
| [Dell XPS 15 9530](dell/xps/15-9530) | `<nixos-hardware/dell/xps/15-9530>` | `dell-xps-15-9530` |
| [Dell XPS 15 9550, nvidia](dell/xps/15-9550/nvidia) | `<nixos-hardware/dell/xps/15-9550/nvidia>` | `dell-xps-15-9550-nvidia` |
| [Dell XPS 15 9550](dell/xps/15-9550) | `<nixos-hardware/dell/xps/15-9550>` | `dell-xps-15-9550` |
| [Dell XPS 15 9560, intel only](dell/xps/15-9560/intel) | `<nixos-hardware/dell/xps/15-9560/intel>` | `dell-xps-15-9560-intel` |
| [Dell XPS 15 9560, nvidia only](dell/xps/15-9560/nvidia) | `<nixos-hardware/dell/xps/15-9560/nvidia>` | `dell-xps-15-9560-nvidia` |
| [Dell XPS 15 9560](dell/xps/15-9560) | `<nixos-hardware/dell/xps/15-9560>` | `dell-xps-15-9560` |
| [Dell XPS 15 9570, intel only](dell/xps/15-9570/intel) | `<nixos-hardware/dell/xps/15-9570/intel>` | `dell-xps-15-9570-intel` |
| [Dell XPS 15 9570, nvidia](dell/xps/15-9570/nvidia) | `<nixos-hardware/dell/xps/15-9570/nvidia>` | `dell-xps-15-9570-nvidia` |
| [Dell XPS 15 9570](dell/xps/15-9570) | `<nixos-hardware/dell/xps/15-9570>` | `dell-xps-15-9570` |
| [Dell XPS 17 9700, intel](dell/xps/17-9700/intel) | `<nixos-hardware/dell/xps/17-9700/intel` | `dell-xps-17-9700-intel` |
| [Dell XPS 17 9700, nvidia](dell/xps/17-9700/nvidia) | `<nixos-hardware/dell/xps/17-9700/nvidia>` | `dell-xps-17-9700-nvidia` |
| [Dell XPS 17 9710, intel only](dell/xps/17-9710/intel) | `<nixos-hardware/dell/xps/17-9710/intel>` | `dell-xps-17-9710-intel` |
| [Framework 11th Gen Intel Core](framework/13-inch/11th-gen-intel) | `<nixos-hardware/framework/13-inch/11th-gen-intel>` | `framework-11th-gen-intel` |
| [Framework 12th Gen Intel Core](framework/13-inch/12th-gen-intel) | `<nixos-hardware/framework/13-inch/12th-gen-intel>` | `framework-12th-gen-intel` |
| [Framework 13th Gen Intel Core](framework/13-inch/13th-gen-intel) | `<nixos-hardware/framework/13-inch/13th-gen-intel>` | `framework-13th-gen-intel` |
| [Framework Intel Core Ultra Series 1](framework/13-inch/intel-core-ultra-series1) | `<nixos-hardware/framework/13-inch/intel-core-ultra-series1>` | `framework-intel-core-ultra-series1` |
| [Framework 13 AMD Ryzen 7040 Series](framework/13-inch/7040-amd) | `<nixos-hardware/framework/13-inch/7040-amd>` | `framework-13-7040-amd` |
| [Framework 13 AMD AI 300 Series](framework/13-inch/amd-ai-300-series) | `<nixos-hardware/framework/13-inch/amd-ai-300-series>` | `framework-amd-ai-300-series` |
| [Framework 12 13th Gen Intel Core](framework/12-inch/13th-gen-intel) | `<nixos-hardware/framework/12-inch/13th-gen-intel>` | `framework-12-13th-gen-intel` |
| [Framework 16 AMD Ryzen 7040 Series](framework/16-inch/7040-amd) | `<nixos-hardware/framework/16-inch/7040-amd>` | `framework-16-7040-amd` |
| [FriendlyARM NanoPC-T4](friendlyarm/nanopc-t4) | `<nixos-hardware/friendlyarm/nanopc-t4>` | `friendlyarm-nanopc-t4` |
| [FriendlyARM NanoPi R5s](friendlyarm/nanopi-r5s) | `<nixos-hardware/friendlyarm/nanopi-r5s>` | `friendlyarm-nanopi-r5s` |
| [Focus M2 Gen 1](focus/m2/gen1) | `<nixos-hardware/focus/m2/gen1>` | `focus-m2-gen1` |
| [Gigabyte B550](gigabyte/b550) | `<nixos-hardware/gigabyte/b550>` | `gigabyte-b550` |
| [Gigabyte B650](gigabyte/b650) | `<nixos-hardware/gigabyte/b650>` | `gigabyte-b650` |
| [GMKtec NucBox G3 Plus](gmktec/nucbox/g3-plus) | `<nixos-hardware/gmktec/nucbox/g3-plus>` | `gmktec-nucbox-g3-plus` |
| [GPD MicroPC](gpd/micropc) | `<nixos-hardware/gpd/micropc>` | `gpd-micropc` |
| [GPD P2 Max](gpd/p2-max) | `<nixos-hardware/gpd/p2-max>` | `gpd-p2-max` |
| [GPD Pocket 3](gpd/pocket-3) | `<nixos-hardware/gpd/pocket-3>` | `gpd-pocket-3` |
| [GPD Pocket 4](gpd/pocket-4) | `<nixos-hardware/gpd/pocket-4>` | `gpd-pocket-4` |
| [GPD WIN 2](gpd/win-2) | `<nixos-hardware/gpd/win-2>` | `gpd-win-2` |
| [GPD WIN Max 2 2023](gpd/win-max-2/2023) | `<nixos-hardware/gpd/win-max-2/2023>` | `gpd-win-max-2-2023` |
| [GPD WIN Mini 2024](gpd/win-mini/2024) | `<nixos-hardware/gpd/win-mini/2024>` | `gpd-win-mini-2024` |
| [Google Pixelbook](google/pixelbook) | `<nixos-hardware/google/pixelbook>` | `google-pixelbook` |
| [HP Elitebook 2560p](hp/elitebook/2560p) | `<nixos-hardware/hp/elitebook/2560p>` | `hp-elitebook-2560p` |
| [HP Elitebook 830g6](hp/elitebook/830/g6) | `<nixos-hardware/hp/elitebook/830/g6>` | `hp-elitebook-830g6` |
| [HP Elitebook 845g7](hp/elitebook/845/g7) | `<nixos-hardware/hp/elitebook/845/g7>` | `hp-elitebook-845g7` |
| [HP Elitebook 845g8](hp/elitebook/845/g8) | `<nixos-hardware/hp/elitebook/845/g8>` | `hp-elitebook-845g8` |
| [HP Elitebook 845g9](hp/elitebook/845/g9) | `<nixos-hardware/hp/elitebook/845/g9>` | `hp-elitebook-845g9` |
| [HP Laptop 14s-dq2024nf](hp/laptop/14s-dq2024nf) | `<nixos-hardware/hp/laptop/14s-dq2024nf>` | `hp-laptop-14s-dq2024nf` |
| [HP Notebook 14-df0023](hp/notebook/14-df0023) | `<nixos-hardware/hp/notebook/14-df0023>` | `hp-notebook-14-df0023` |
| [HP Probook 440G5](hp/probook/440g5) | `<nixos-hardware/hp/probook/440g5>` | `hp-probook-440G5` |
| [Huawei Matebook X Pro (2020)](huawei/machc-wa) | `<nixos-hardware/huawei/machc-wa>` | `huawei-machc-wa` |
| [i.MX8QuadMax Multisensory Enablement Kit](nxp/imx8qm-mek/) | `<nixos-hardware/nxp/imx8qm-mek>` | `nxp-imx8qm-mek` |
| [Intel NUC 5i5RYB](intel/nuc/5i5ryb/) | `<nixos-hardware/intel/nuc/5i5ryb>` | `intel-nuc-5i5ryb` |
| [Intel NUC 8i7BEH](intel/nuc/8i7beh/) | `<nixos-hardware/intel/nuc/8i7beh>` | `intel-nuc-8i7beh` |
| [Lenovo IdeaCentre K330](lenovo/ideacentre/k330) | `<nixos-hardware/lenovo/ideacentre/k330>` | `lenovo-ideacentre-k330` |
| [Lenovo IdeaPad 3 15alc6](lenovo/ideapad/15alc6) | `<nixos-hardware/lenovo/ideapad/15alc6>` | `lenovo-ideapad-15alc6` |
| [Lenovo IdeaPad Gaming 3 15arh05](lenovo/ideapad/15arh05) | `<nixos-hardware/lenovo/ideapad/15arh05>` | `lenovo-ideapad-15arh05` |
| [Lenovo IdeaPad Gaming 3 15ach6](lenovo/ideapad/15ach6) | `<nixos-hardware/lenovo/ideapad/15ach6>` | `lenovo-ideapad-15ach6` |
| [Lenovo IdeaPad 5 Pro 14imh9](lenovo/ideapad/14imh9) | `<nixos-hardware/lenovo/ideapad/14imh9>` | `lenovo-ideapad-14imh9` |
| [Lenovo IdeaPad 5 Pro 16ach6](lenovo/ideapad/16ach6) | `<nixos-hardware/lenovo/ideapad/16ach6>` | `lenovo-ideapad-16ach6` |
| [Lenovo IdeaPad Z510](lenovo/ideapad/z510) | `<nixos-hardware/lenovo/ideapad/z510>` | `lenovo-ideapad-z510` |
| [Lenovo IdeaPad Slim 5](lenovo/ideapad/slim-5) | `<nixos-hardware/lenovo/ideapad/slim-5>` | `lenovo-ideapad-slim-5` |
| [Lenovo IdeaPad Slim 5 16iah8](lenovo/ideapad/16iah8) | `<nixos-hardware/lenovo/ideapad/16iah8` | `lenovo-ideapad-s5-16iah8` |
| [Lenovo IdeaPad 2-in-1 16ahp9](lenovo/ideapad/16ahp9) | `<nixos-hardware/lenovo/ideapad/16ahp9>` | `lenovo-ideapad-16ahp9` |
| [Lenovo IdeaPad S145 15api](lenovo/ideapad/s145-15api) | `<nixos-hardware/lenovo/ideapad/s145-15api>` | `lenovo-ideapad-s145-15api` |
| [Lenovo Legion 5 15ach6h](lenovo/legion/15ach6h) | `<nixos-hardware/lenovo/legion/15ach6h>` | `lenovo-legion-15ach6h` |
| [Lenovo Legion 5 15arh05h](lenovo/legion/15arh05h) | `<nixos-hardware/lenovo/legion/15arh05h>` | `lenovo-legion-15arh05h` |
| [Lenovo Legion 7 Slim 15ach6](lenovo/legion/15ach6) | `<nixos-hardware/lenovo/legion/15ach6>` | `lenovo-legion-15ach6` |
| [Lenovo Legion 5 Pro 16ach6h](lenovo/legion/16ach6h) | `<nixos-hardware/lenovo/legion/16ach6h>` | `lenovo-legion-16ach6h` |
| [Lenovo Legion 5 Pro 16ach6h (Hybrid)](lenovo/legion/16ach6h/hybrid) | `<nixos-hardware/lenovo/legion/16ach6h/hybrid>` | `lenovo-legion-16ach6h-hybrid` |
| [Lenovo Legion 5 Pro 16ach6h (Nvidia)](lenovo/legion/16ach6h/nvidia) | `<nixos-hardware/lenovo/legion/16ach6h/nvidia>` | `lenovo-legion-16ach6h-nvidia` |
| [Lenovo Legion 5 Pro 16arh7h (IGPU Only)](lenovo/legion/16arh7h/igpu-only) | `<nixos-hardware/lenovo/legion/16arh7h/igpu-only>` | `lenovo-legion-16arh7h-igpu-only` |
| [Lenovo Legion 5 Pro 16arh7h (Hybrid)](lenovo/legion/16arh7h/hybrid) | `<nixos-hardware/lenovo/legion/16arh7h/hybrid>` | `lenovo-legion-16arh7h-hybrid` |
| [Lenovo Legion 5 Pro 16IAH7H (Intel)](lenovo/legion/16iah7h/) | `<nixos-hardware/lenovo/legion/16iah7h>` | `lenovo-legion-16iah7h` |
| [Lenovo Legion 7 16achg6 (Hybrid)](lenovo/legion/16achg6/hybrid) | `<nixos-hardware/lenovo/legion/16achg6/hybrid>` | `lenovo-legion-16achg6-hybrid` |
| [Lenovo Legion 7 16achg6 (Nvidia)](lenovo/legion/16achg6/nvidia) | `<nixos-hardware/lenovo/legion/16achg6/nvidia>` | `lenovo-legion-16achg6-nvidia` |
| [Lenovo Legion 7i Pro 16irx8h (Intel)](lenovo/legion/16irx8h) | `<nixos-hardware/lenovo/legion/16irx8h>` | `lenovo-legion-16irx8h` |
| [Lenovo Legion 7 Pro 16irx9h (Intel)](lenovo/legion/16irx9h) | `<nixos-hardware/lenovo/legion/16irx9h>` | `lenovo-legion-16irx9h` |
| [Lenovo Legion Slim 7 Gen 7 (AMD)](lenovo/legion/16arha7/) | `<nixos-hardware/lenovo/legion/16arha7>` | `lenovo-legion-16arha7` |
| [Lenovo Legion T5 AMR5](lenovo/legion/t526amr5) | `<nixos-hardware/lenovo/legion/t526amr5>` | `lenovo-legion-t526amr5` |
| [Lenovo Legion Y530 15ICH](lenovo/legion/15ich) | `<nixos-hardware/lenovo/legion/15ich>` | `lenovo-legion-15ich` |
| [Lenovo ThinkPad A475](lenovo/thinkpad/a475) | `<nixos-hardware/lenovo/thinkpad/a475>` | `lenovo-thinkpad-a475` |
| [Lenovo ThinkPad E14 (AMD)](lenovo/thinkpad/e14/amd) | `<nixos-hardware/lenovo/thinkpad/e14/amd>` | `lenovo-thinkpad-e14-amd` |
| [Lenovo ThinkPad E14 (Intel - Gen 1)](lenovo/thinkpad/e14/intel) | `<nixos-hardware/lenovo/thinkpad/e14/intel>` | `lenovo-thinkpad-e14-intel` |
| [Lenovo ThinkPad E14 (Intel - Gen 4)](lenovo/thinkpad/e14/intel/gen4) | `<nixos-hardware/lenovo/thinkpad/e14/intel/gen4>` | `lenovo-thinkpad-e14-intel-gen4` |
| [Lenovo ThinkPad E14 (Intel - Gen 6)](lenovo/thinkpad/e14/intel/gen6) | `<nixos-hardware/lenovo/thinkpad/e14/intel/gen6>` | `lenovo-thinkpad-e14-intel-gen6` |
| [Lenovo ThinkPad E15 (Intel)](lenovo/thinkpad/e15/intel) | `<nixos-hardware/lenovo/thinkpad/e15/intel>` | `lenovo-thinkpad-e15-intel` |
| [Lenovo ThinkPad E470](lenovo/thinkpad/e470) | `<nixos-hardware/lenovo/thinkpad/e470>` | `lenovo-thinkpad-e470` |
| [Lenovo ThinkPad E495](lenovo/thinkpad/e495) | `<nixos-hardware/lenovo/thinkpad/e495>` | `lenovo-thinkpad-e495` |
| [Lenovo ThinkPad L13 Yoga](lenovo/thinkpad/l13/yoga) | `<nixos-hardware/lenovo/thinkpad/l13/yoga>` | `lenovo-thinkpad-l13-yoga` |
| [Lenovo ThinkPad L13](lenovo/thinkpad/l13) | `<nixos-hardware/lenovo/thinkpad/l13>` | `lenovo-thinkpad-l13` |
| [Lenovo ThinkPad L14 (AMD)](lenovo/thinkpad/l14/amd) | `<nixos-hardware/lenovo/thinkpad/l14/amd>` | `lenovo-thinkpad-l14-amd` |
| [Lenovo ThinkPad L14 (Intel)](lenovo/thinkpad/l14/intel) | `<nixos-hardware/lenovo/thinkpad/l14/intel>` | `lenovo-thinkpad-l14-intel` |
| [Lenovo ThinkPad L480](lenovo/thinkpad/l480) | `<nixos-hardware/lenovo/thinkpad/l480>` | `lenovo-thinkpad-l480` |
| [Lenovo ThinkPad P1 Gen 3](lenovo/thinkpad/p1/3th-gen) | `<nixos-hardware/lenovo/thinkpad/p1/3th-gen>` | `lenovo-thinkpad-p1-gen3` |
| [Lenovo ThinkPad P14s AMD Gen 1](lenovo/thinkpad/p14s/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen1>` | `lenovo-thinkpad-p14s-amd-gen1` |
| [Lenovo ThinkPad P14s AMD Gen 2](lenovo/thinkpad/p14s/amd/gen2) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen2>` | `lenovo-thinkpad-p14s-amd-gen2` |
| [Lenovo ThinkPad P14s AMD Gen 3](lenovo/thinkpad/p14s/amd/gen3) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen3>` | `lenovo-thinkpad-p14s-amd-gen3` |
| [Lenovo ThinkPad P14s AMD Gen 4](lenovo/thinkpad/p14s/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen4>` | `lenovo-thinkpad-p14s-amd-gen4` |
| [Lenovo ThinkPad P14s AMD Gen 5](lenovo/thinkpad/p14s/amd/gen5) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen5>` | `lenovo-thinkpad-p14s-amd-gen5` |
| [Lenovo ThinkPad P14s Intel Gen 3](lenovo/thinkpad/p14s/intel/gen3) | `<nixos-hardware/lenovo/thinkpad/p14s/intel/gen3>` | `lenovo-thinkpad-p14s-intel-gen3`|
| [Lenovo ThinkPad P14s Intel Gen 5](lenovo/thinkpad/p14s/intel/gen5) | `<nixos-hardware/lenovo/thinkpad/p14s/intel/gen5>` | `lenovo-thinkpad-p14s-intel-gen5`|
| [Lenovo ThinkPad P16s AMD Gen 1](lenovo/thinkpad/p16s/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/p16s/amd/gen1>` | `lenovo-thinkpad-p16s-amd-gen1` |
| [Lenovo ThinkPad P16s AMD Gen 2](lenovo/thinkpad/p16s/amd/gen2) | `<nixos-hardware/lenovo/thinkpad/p16s/amd/gen2>` | `lenovo-thinkpad-p16s-amd-gen2` |
| [Lenovo ThinkPad P16s Intel Gen 2](lenovo/thinkpad/p16s/intel/gen2) | `<nixos-hardware/lenovo/thinkpad/p16s/intel/gen2>` | `lenovo-thinkpad-p16s-intel-gen2`|
| [Lenovo ThinkPad P1](lenovo/thinkpad/p1) | `<nixos-hardware/lenovo/thinkpad/p1>` | `lenovo-thinkpad-p1` |
| [Lenovo ThinkPad P43s](lenovo/thinkpad/p43s) | `<nixos-hardware/lenovo/thinkpad/p43s>` | `lenovo-thinkpad-p43s` |
| [Lenovo ThinkPad P50](lenovo/thinkpad/p50) | `<nixos-hardware/lenovo/thinkpad/p50>` | `lenovo-thinkpad-p50` |
| [Lenovo ThinkPad P51](lenovo/thinkpad/p51) | `<nixos-hardware/lenovo/thinkpad/p51>` | `lenovo-thinkpad-p51` |
| [Lenovo ThinkPad P52](lenovo/thinkpad/p52) | `<nixos-hardware/lenovo/thinkpad/p52>` | `lenovo-thinkpad-p52` |
| [Lenovo ThinkPad P53](lenovo/thinkpad/p53) | `<nixos-hardware/lenovo/thinkpad/p53>` | `lenovo-thinkpad-p53` |
| [Lenovo ThinkPad T14 AMD Gen 1](lenovo/thinkpad/t14/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen1>` | `lenovo-thinkpad-t14-amd-gen1` |
| [Lenovo ThinkPad T14 AMD Gen 2](lenovo/thinkpad/t14/amd/gen2) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen2>` | `lenovo-thinkpad-t14-amd-gen2` |
| [Lenovo ThinkPad T14 AMD Gen 3](lenovo/thinkpad/t14/amd/gen3) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen3>` | `lenovo-thinkpad-t14-amd-gen3` |
| [Lenovo ThinkPad T14 AMD Gen 4](lenovo/thinkpad/t14/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen4>` | `lenovo-thinkpad-t14-amd-gen4` |
| [Lenovo ThinkPad T14 AMD Gen 5](lenovo/thinkpad/t14/amd/gen5) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen5>` | `lenovo-thinkpad-t14-amd-gen5` |
| [Lenovo ThinkPad T14](lenovo/thinkpad/t14) | `<nixos-hardware/lenovo/thinkpad/t14>` | `lenovo-thinkpad-t14` |
| [Lenovo ThinkPad T14s AMD Gen 1](lenovo/thinkpad/t14s/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/t14s/amd/gen1>` | `lenovo-thinkpad-t14s-amd-gen1` |
| [Lenovo ThinkPad T14s AMD Gen 4](lenovo/thinkpad/t14s/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/t14s/amd/gen4>` | `lenovo-thinkpad-t14s-amd-gen4` |
| [Lenovo ThinkPad T14s](lenovo/thinkpad/t14s) | `<nixos-hardware/lenovo/thinkpad/t14s>` | `lenovo-thinkpad-t14s` |
| [Lenovo ThinkPad T410](lenovo/thinkpad/t410) | `<nixos-hardware/lenovo/thinkpad/t410>` | `lenovo-thinkpad-t410` |
| [Lenovo ThinkPad T420](lenovo/thinkpad/t420) | `<nixos-hardware/lenovo/thinkpad/t420>` | `lenovo-thinkpad-t420` |
| [Lenovo ThinkPad T430](lenovo/thinkpad/t430) | `<nixos-hardware/lenovo/thinkpad/t430>` | `lenovo-thinkpad-t430` |
| [Lenovo ThinkPad T440p](lenovo/thinkpad/t440p) | `<nixos-hardware/lenovo/thinkpad/t440p>` | `lenovo-thinkpad-t440p` |
| [Lenovo ThinkPad T440s](lenovo/thinkpad/t440s) | `<nixos-hardware/lenovo/thinkpad/t440s>` | `lenovo-thinkpad-t440s` |
| [Lenovo ThinkPad T450s](lenovo/thinkpad/t450s) | `<nixos-hardware/lenovo/thinkpad/t450s>` | `lenovo-thinkpad-t450s` |
| [Lenovo ThinkPad T460](lenovo/thinkpad/t460) | `<nixos-hardware/lenovo/thinkpad/t460>` | `lenovo-thinkpad-t460` |
| [Lenovo ThinkPad T460p](lenovo/thinkpad/t460p) | `<nixos-hardware/lenovo/thinkpad/t460p>` | `lenovo-thinkpad-t460p` |
| [Lenovo ThinkPad T460s](lenovo/thinkpad/t460s) | `<nixos-hardware/lenovo/thinkpad/t460s>` | `lenovo-thinkpad-t460s` |
| [Lenovo ThinkPad T470s](lenovo/thinkpad/t470s) | `<nixos-hardware/lenovo/thinkpad/t470s>` | `lenovo-thinkpad-t470s` |
| [Lenovo ThinkPad T480](lenovo/thinkpad/t480) | `<nixos-hardware/lenovo/thinkpad/t480>` | `lenovo-thinkpad-t480` |
| [Lenovo ThinkPad T480s](lenovo/thinkpad/t480s) | `<nixos-hardware/lenovo/thinkpad/t480s>` | `lenovo-thinkpad-t480s` |
| [Lenovo ThinkPad T490](lenovo/thinkpad/t490) | `<nixos-hardware/lenovo/thinkpad/t490>` | `lenovo-thinkpad-t490` |
| [Lenovo ThinkPad T490s](lenovo/thinkpad/t490s) | `<nixos-hardware/lenovo/thinkpad/t490s>` | `lenovo-thinkpad-t490s` |
| [Lenovo ThinkPad T495](lenovo/thinkpad/t495) | `<nixos-hardware/lenovo/thinkpad/t495>` | `lenovo-thinkpad-t495` |
| [Lenovo ThinkPad T520](lenovo/thinkpad/t520) | `<nixos-hardware/lenovo/thinkpad/t520>` | `lenovo-thinkpad-t520` |
| [Lenovo ThinkPad T550](lenovo/thinkpad/t550) | `<nixos-hardware/lenovo/thinkpad/t550>` | `lenovo-thinkpad-t550` |
| [Lenovo ThinkPad T590](lenovo/thinkpad/t590) | `<nixos-hardware/lenovo/thinkpad/t590>` | `lenovo-thinkpad-t590` |
| [Lenovo ThinkPad W520](lenovo/thinkpad/w520) | `<nixos-hardware/lenovo/thinkpad/w520>` | `lenovo-thinkpad-w520` |
| [Lenovo ThinkPad X1 Yoga](lenovo/thinkpad/x1/yoga) | `<nixos-hardware/lenovo/thinkpad/x1/yoga>` | `lenovo-thinkpad-x1-yoga` |
| [Lenovo ThinkPad X1 Yoga Gen 7](lenovo/thinkpad/x1/yoga/7th-gen/) | `<nixos-hardware/lenovo/thinkpad/x1/yoga/7th-gen>` | `lenovo-thinkpad-x1-yoga-7th-gen` |
| [Lenovo ThinkPad X1 Yoga Gen 8](lenovo/thinkpad/x1/yoga/8th-gen/) | `<nixos-hardware/lenovo/thinkpad/x1/yoga/8th-gen>` | `lenovo-thinkpad-x1-yoga-8th-gen` |
| [Lenovo ThinkPad X1 (2nd Gen)](lenovo/thinkpad/x1/2nd-gen) | `<nixos-hardware/lenovo/thinkpad/x1/2nd-gen>` | `lenovo-thinkpad-x1-2nd-gen` |
| [Lenovo ThinkPad X1 (6th Gen)](lenovo/thinkpad/x1/6th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/6th-gen>` | `lenovo-thinkpad-x1-6th-gen` |
| [Lenovo ThinkPad X1 (7th Gen)](lenovo/thinkpad/x1/7th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/7th-gen>` | `lenovo-thinkpad-x1-7th-gen` |
| [Lenovo ThinkPad X1 (9th Gen)](lenovo/thinkpad/x1/9th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/9th-gen>` | `lenovo-thinkpad-x1-9th-gen` |
| [Lenovo ThinkPad X1 (10th Gen)](lenovo/thinkpad/x1/10th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/10th-gen>` | `lenovo-thinkpad-x1-10th-gen` |
| [Lenovo ThinkPad X1 (11th Gen)](lenovo/thinkpad/x1/11th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/11th-gen>` | `lenovo-thinkpad-x1-11th-gen` |
| [Lenovo ThinkPad X1 (12th Gen)](lenovo/thinkpad/x1/12th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/12th-gen>` | `lenovo-thinkpad-x1-12th-gen` |
| [Lenovo ThinkPad X1 (13th Gen)](lenovo/thinkpad/x1/13th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/13th-gen>` | `lenovo-thinkpad-x1-13th-gen` |
| [Lenovo ThinkPad X1 Extreme Gen 2](lenovo/thinkpad/x1-extreme/gen2) | `<nixos-hardware/lenovo/thinkpad/x1-extreme/gen2>` | `lenovo-thinkpad-x1-extreme-gen2` |
| [Lenovo ThinkPad X1 Extreme Gen 3](lenovo/thinkpad/x1-extreme/gen3) | `<nixos-hardware/lenovo/thinkpad/x1-extreme/gen3>` | `lenovo-thinkpad-x1-extreme-gen3` |
| [Lenovo ThinkPad X1 Extreme Gen 4](lenovo/thinkpad/x1-extreme/gen4) | `<nixos-hardware/lenovo/thinkpad/x1-extreme/gen4>` | `lenovo-thinkpad-x1-extreme-gen4` |
| [Lenovo ThinkPad X1 Nano Gen 1](lenovo/thinkpad/x1-nano/gen1) | `<nixos-hardware/lenovo/thinkpad/x1-nano/gen1>` | `lenovo-thinkpad-x1-nano-gen1` |
| [Lenovo ThinkPad X13s](lenovo/thinkpad/x13s) | `<nixos-hardware/lenovo/thinkpad/x13s>` | `lenovo-thinkpad-x13s` |
| [Lenovo ThinkPad X13 Yoga](lenovo/thinkpad/x13/yoga) | `<nixos-hardware/lenovo/thinkpad/x13/yoga>` | `lenovo-thinkpad-x13-yoga` |
| [Lenovo ThinkPad X13 Yoga (3th Gen)](lenovo/thinkpad/x13/yoga/3th-gen) | `<nixos-hardware/lenovo/thinkpad/x13/yoga/3th-gen>` | `lenovo-thinkpad-x13-yoga-3th-gen` |
| [Lenovo ThinkPad X13 (Intel)](lenovo/thinkpad/x13/intel) | `<nixos-hardware/lenovo/thinkpad/x13/intel>` | `lenovo-thinkpad-x13-intel` |
| [Lenovo ThinkPad X13 (AMD)](lenovo/thinkpad/x13/amd) | `<nixos-hardware/lenovo/thinkpad/x13/amd>` | `lenovo-thinkpad-x13-amd` |
| [Lenovo ThinkPad X140e](lenovo/thinkpad/x140e) | `<nixos-hardware/lenovo/thinkpad/x140e>` | `lenovo-thinkpad-x140e` |
| [Lenovo ThinkPad X200s](lenovo/thinkpad/x200s) | `<nixos-hardware/lenovo/thinkpad/x200s>` | `lenovo-thinkpad-x200s` |
| [Lenovo ThinkPad X220](lenovo/thinkpad/x220) | `<nixos-hardware/lenovo/thinkpad/x220>` | `lenovo-thinkpad-x220` |
| [Lenovo ThinkPad X230](lenovo/thinkpad/x230) | `<nixos-hardware/lenovo/thinkpad/x230>` | `lenovo-thinkpad-x230` |
| [Lenovo ThinkPad X250](lenovo/thinkpad/x250) | `<nixos-hardware/lenovo/thinkpad/x250>` | `lenovo-thinkpad-x250` |
| [Lenovo ThinkPad X260](lenovo/thinkpad/x260) | `<nixos-hardware/lenovo/thinkpad/x260>` | `lenovo-thinkpad-x260` |
| [Lenovo ThinkPad X270](lenovo/thinkpad/x270) | `<nixos-hardware/lenovo/thinkpad/x270>` | `lenovo-thinkpad-x270` |
| [Lenovo ThinkPad X280](lenovo/thinkpad/x280) | `<nixos-hardware/lenovo/thinkpad/x280>` | `lenovo-thinkpad-x280` |
| [Lenovo ThinkPad X390](lenovo/thinkpad/x390) | `<nixos-hardware/lenovo/thinkpad/x390>` | `lenovo-thinkpad-x390` |
| [Lenovo ThinkPad Z Series](lenovo/thinkpad/z) | `<nixos-hardware/lenovo/thinkpad/z>` | `lenovo-thinkpad-z` |
| [Lenovo ThinkPad Z13 Gen 1](lenovo/thinkpad/z/gen1/z13) | `<nixos-hardware/lenovo/thinkpad/z/gen1/z13>` | `lenovo-thinkpad-z-gen1-z13` |
| [Lenovo ThinkPad Z13 Gen 2](lenovo/thinkpad/z/gen2/z13) | `<nixos-hardware/lenovo/thinkpad/z/gen2/z13>` | `lenovo-thinkpad-z-gen2-z13` |
| [Lenovo XiaoXin Pro 14imh9 2024](lenovo/ideapad/14imh9) | `<nixos-hardware/lenovo/ideapad/14imh9>` | `lenovo-ideapad-14imh9` |
| [LENOVO Yoga 6 13ALC6 82ND](lenovo/yoga/6/13ALC6) | `<nixos-hardware/lenovo/yoga/6/13ALC6>` | `lenovo-yoga-6-13ALC6` |
| [LENOVO Yoga Slim 7 Pro-X 14ARH7 82ND](lenovo/yoga/7/14ARH7/amdgpu) | `<nixos-hardware/lenovo/yoga/7/14ARH7/amdgpu>` | `lenovo-yoga-7-14ARH7-amdgpu` |
| [LENOVO Yoga Slim 7 Pro-X 14ARH7 82ND](lenovo/yoga/7/14ARH7/nvidia) | `<nixos-hardware/lenovo/yoga/7/14ARH7/nvidia>` | `lenovo-yoga-7-14ARH7-nvidia` |
| [Lenovo Yoga Slim 7i Pro X 14IAH7 (Integrated)](lenovo/yoga/7/14IAH7/integrated) | `<nixos-hardware/lenovo/yoga/7/14IAH7/integrated>` | `lenovo-yoga-7-14IAH7-integrated` |
| [Lenovo Yoga Slim 7i Pro X 14IAH7 (Hybrid)](lenovo/yoga/7/14IAH7/hybrid) | `<nixos-hardware/lenovo/yoga/7/14IAH7/hybrid>` | `lenovo-yoga-7-14IAH7-hybrid` |
| [Lenovo Yoga Slim 7 14ILL10](lenovo/yoga/7/14ILL10) | `<nixos-hardware/lenovo/yoga/7/14ILL10>` | `lenovo-yoga-7-14ILL10` |
| [LENOVO Yoga 7 Slim Gen8](lenovo/yoga/7/slim/gen8) | `<nixos-hardware/lenovo/yoga/7/slim/gen8>` | `lenovo-yoga-7-slim-gen8` |
| [MSI B550-A PRO](msi/b550-a-pro) | `<nixos-hardware/msi/b550-a-pro>` | `msi-b550-a-pro` |
| [MSI B350 TOMAHAWK](msi/b350-tomahawk) | `<nixos-hardware/msi/b350-tomahawk>` | `msi-b350-tomahawk` |
| [MSI GS60 2QE](msi/gs60) | `<nixos-hardware/msi/gs60>` | `msi-gs60` |
| [MSI GL62/CX62](msi/gl62) | `<nixos-hardware/msi/gl62>` | `msi-gl62` |
| [MSI GL65 10SDR-492](msi/gl65/10SDR-492) | `<nixos-hardware/msi/gl65/10SDR-492>` | `msi-gl65-10SDR-492` |
| [Microchip Icicle Kit](microchip/icicle-kit) | `<nixos-hardware/microchip/icicle-kit>` | `microchip-icicle-kit` |
| [Microsoft Surface Go](microsoft/surface/surface-go) | `<nixos-hardware/microsoft/surface/surface-go>` | `microsoft-surface-surface-go` |
| [Microsoft Surface Pro (Intel)](microsoft/surface/surface-pro-intel) | `<nixos-hardware/microsoft/surface/surface-pro-intel>` | `microsoft-surface-surface-pro-intel` |
| [Microsoft Surface Laptop (AMD)](microsoft/surface/surface-laptop-amd) | `<nixos-hardware/microsoft/surface/surface-laptop-amd>` | `microsoft-surface-surface-laptop-amd` |
| [Microsoft Surface Range (Common Modules)](microsoft/surface/common) | `<nixos-hardware/microsoft/surface/common>` | `microsoft-surface-common` |
| [Microsoft Surface Pro 3](microsoft/surface-pro/3) | `<nixos-hardware/microsoft/surface-pro/3>` | `microsoft-surface-pro-3` |
| [Microsoft Surface Pro 9](microsoft/surface-pro/9) | `<nixos-hardware/microsoft/surface-pro/9>` | `microsoft-surface-pro-9` |
| [Morefine M600](morefine/m600) | `<nixos-hardware/morefine/m600>` | `morefine-m600` |
| [Minisforum V3](minisforum/v3) | `<nixos-hardware/minisforum/v3>` | `minisforum-v3` |
| [NXP iMX8 MPlus Evaluation Kit](nxp/imx8mp-evk) | `<nixos-hardware/nxp/imx8mp-evk>` | `nxp-imx8mp-evk` |
| [NXP iMX8 MQuad Evaluation Kit](nxp/imx8mq-evk) | `<nixos-hardware/nxp/imx8mq-evk>` | `nxp-imx8mq-evk` |
| [Hardkernel Odroid HC4](hardkernel/odroid-hc4/default.nix) | `<nixos-hardware/hardkernel/odroid-hc4>` | `hardkernel-odroid-hc4` |
| [Hardkernel Odroid H3](hardkernel/odroid-h3/default.nix) | `<nixos-hardware/hardkernel/odroid-h3>` | `hardkernel-odroid-h3` |
| [Hardkernel Odroid H4](hardkernel/odroid-h4/default.nix) | `<nixos-hardware/hardkernel/odroid-h4>` | `hardkernel-odroid-h4` |
| [Omen 14-fb0798ng](omen/14-fb0798ng) | `<nixos-hardware/omen/14-fb0798ng>` | `omen-14-fb0798ng` |
| [Omen 15-ce002ns](omen/15-ce002ns) | `<nixos-hardware/omen/15-ce002ns>` | `omen-15-ce002ns` |
| [Omen 15-en0010ca](omen/15-en0010ca) | `<nixos-hardware/omen/15-en0010ca>` | `omen-15-en0010ca` |
| [Omen 16-n0005ne](omen/16-n0005ne) | `<nixos-hardware/omen/16-n0005ne>` | `omen-16-n0005ne` |
| [Omen 16-n0280nd](/omen/16-n0280nd) | `<nixos-hardware/omen/16-n0280nd>` | `omen-16-n0280nd` |
| [Omen 15-en1007sa](omen/15-en1007sa) | `<nixos-hardware/omen/15-en1007sa>` | `omen-15-en1007sa` |
| [Omen 15-en0002np](omen/15-en0002np) | `<nixos-hardware/omen/15-en0002np>` | `omen-15-en0002np` |
| [One-Netbook OneNetbook 4](onenetbook/4) | `<nixos-hardware/onenetbook/4>` | `onenetbook-4` |
| [Panasonic Let's Note CF-LX4](panasonic/letsnote/cf-lx4) | `<nixos-hardware/panasonic/letsnote/cf-lx4>` | `panasonic-letsnote-cf-lx4` |
| [PC Engines APU](pcengines/apu) | `<nixos-hardware/pcengines/apu>` | `pcengines-apu` |
| [PINE64 Pinebook Pro](pine64/pinebook-pro/) | `<nixos-hardware/pine64/pinebook-pro>` | `pine64-pinebook-pro` |
| [PINE64 RockPro64](pine64/rockpro64/) | `<nixos-hardware/pine64/rockpro64>` | `pine64-rockpro64` |
| [PINE64 STAR64](pine64/star64/) | `<nixos-hardware/pine64/star64>` | `pine64-star64` |
| [Protectli VP4670](protectli/vp4670/) | `<nixos-hardware/protectli/vp4670>` | `protectli-vp4670` |
| [Purism Librem 13v3](purism/librem/13v3) | `<nixos-hardware/purism/librem/13v3>` | `purism-librem-13v3` |
| [Purism Librem 15v3](purism/librem/15v3) | `<nixos-hardware/purism/librem/15v3>` | `purism-librem-15v3` |
| [Purism Librem 5r4](purism/librem/5r4) | `<nixos-hardware/purism/librem/5r4>` | `purism-librem-5r4` |
| [Radxa ROCK 4C+](radxa/rock-4c-plus) | `<nixos-hardware/radxa/rock-4c-plus>` | `rock-4c-plus` |
| [Radxa ROCK 5 Model B](radxa/rock-5b) | `<nixos-hardware/radxa/rock-5b>` | `rock-5b` |
| [Radxa ROCK Pi 4](radxa/rock-pi-4) | `<nixos-hardware/radxa/rock-pi-4>` | `rock-pi-4` |
| [Radxa ROCK Pi E](radxa/rock-pi-e) | `<nixos-hardware/radxa/rock-pi-e>` | `rock-pi-e`|
| [Raspberry Pi 2](raspberry-pi/2) | `<nixos-hardware/raspberry-pi/2>` | `raspberry-pi-2`|
| [Raspberry Pi 3](raspberry-pi/3) | `<nixos-hardware/raspberry-pi/3>` | `raspberry-pi-3`|
| [Raspberry Pi 4](raspberry-pi/4) | `<nixos-hardware/raspberry-pi/4>` | `raspberry-pi-4`|
| [Raspberry Pi 5](raspberry-pi/5) | `<nixos-hardware/raspberry-pi/5>` | `raspberry-pi-5`|
| [Samsung Series 9 NP900X3C](samsung/np900x3c) | `<nixos-hardware/samsung/np900x3c>` | `samsung-np900x3c`|
| [Slimbook Hero RPL-RTX](slimbook/hero/rpl-rtx) | `<nixos-hardware/slimbook/hero/rpl-rtx>` | `slimbook-hero-rpl-rtx`|
| [StarFive VisionFive v1](starfive/visionfive/v1) | `<nixos-hardware/starfive/visionfive/v1>` | `starfive-visionfive-v1`|
| [StarFive VisionFive 2](starfive/visionfive/v2) | `<nixos-hardware/starfive/visionfive/v2>` | `starfive-visionfive-2`|
| [StarLabs StarLite 5 (I5)](starlabs/starlite/i5) | `<nixos-hardware/starlabs/starlite/i5>` | `starlabs-starlite-i5`|
| [Supermicro A1SRi-2758F](supermicro/a1sri-2758f) | `<nixos-hardware/supermicro/a1sri-2758f>` | `supermicro-a1sri-2758f`|
| [Supermicro M11SDV-8C-LN4F](supermicro/m11sdv-8c-ln4f) | `<nixos-hardware/supermicro/m11sdv-8c-ln4f>` | `supermicro-m11sdv-8c-ln4f`|
| [Supermicro X10SLL-F](supermicro/x10sll-f) | `<nixos-hardware/supermicro/x10sll-f>` | `supermicro-x10sll-f`|
| [Supermicro X12SCZ-TLN4F](supermicro/x12scz-tln4f) | `<nixos-hardware/supermicro/x12scz-tln4f>` | `supermicro-x12scz-tln4f`|
| [System76 (generic)](system76) | `<nixos-hardware/system76>` | `system76`|
| [System76 Darter Pro 6](system76/darp6) | `<nixos-hardware/system76/darp6>` | `system76-darp6`|
| [System76 Gazelle 18](system76/gaze18) | `<nixos-hardware/system76/gaze18>` | `system76-gaze18`|
| [System76 Galago Pro 5](system76/galp5-1650) | `<nixos-hardware/system76/galp5-1650>` | `system76-galp5-1650`|
| [System76 Thelio Mega](system76/thelio-mega) | `<nixos-hardware/system76/thelio-mega>` | `system76-thelio-mega`|
| [Toshiba Chromebook 2 `swanky`](toshiba/swanky) | `<nixos-hardware/toshiba/swanky>` | `toshiba-swanky`|
| [Tuxedo InfinityBook v4](tuxedo/infinitybook/v4) | `<nixos-hardware/tuxedo/infinitybook/v4>` | `tuxedo-infinitybook-v4`|
| [TUXEDO Aura 15 - Gen1](tuxedo/aura/15/gen1) | `<nixos-hardware/tuxedo/aura/15/gen1>` | `tuxedo-aura-15-gen1`|
| [TUXEDO InfinityBook Pro 14 - Gen7](tuxedo/infinitybook/pro14/gen7) | `<nixos-hardware/tuxedo/infinitybook/pro14/gen7>` | `tuxedo-infinitybook-pro14-gen7`|
| [TUXEDO InfinityBook Pro 14 - Gen9 - AMD](tuxedo/infinitybook/pro14/gen9/amd) | `<nixos-hardware/tuxedo/infinitybook/pro14/gen9/amd>` | `tuxedo-infinitybook-pro14-gen9-amd`|
| [TUXEDO InfinityBook Pro 14 - Gen9 - INTEL](tuxedo/infinitybook/pro14/gen9/intel) | `<nixos-hardware/tuxedo/infinitybook/pro14/gen9/intel>` | `tuxedo-infinitybook-pro14-gen9-intel`|
| [TUXEDO Pulse 14 - Gen3](tuxedo/pulse/14/gen3) | `<nixos-hardware/tuxedo/pulse/14/gen3>` | `tuxedo-pulse-14-gen3`|
| [TUXEDO Pulse 15 - Gen2](tuxedo/pulse/15/gen2) | `<nixos-hardware/tuxedo/pulse/15/gen2>` | `tuxedo-pulse-15-gen2`|
| [Xiaomi Redmibook 15 Pro 2021](xiaomi/redmibook/15-pro-2021) | `<nixos-hardware/xiaomi/redmibook/15-pro-2021>` | `xiaomi-redmibook-15-pro-2021`|
| [Xiaomi Redmibook 16 Pro 2024](xiaomi/redmibook/16-pro-2024) | `<nixos-hardware/xiaomi/redmibook/16-pro-2024>` | `xiaomi-redmibook-16-pro-2024`|
| [Framework Intel Core Ultra Series 3](framework/13-inch/intel-core-ultra-series3) | `<nixos-hardware/framework/13-inch/intel-core-ultra-series3>` | `framework-intel-core-ultra-series3` |
| [Framework 13 AMD Ryzen 7040 Series](framework/13-inch/7040-amd) | `<nixos-hardware/framework/13-inch/7040-amd>` | `framework-13-7040-amd` |
| [Framework 13 AMD AI 300 Series](framework/13-inch/amd-ai-300-series) | `<nixos-hardware/framework/13-inch/amd-ai-300-series>` | `framework-amd-ai-300-series` |
| [Framework 12 13th Gen Intel Core](framework/12-inch/13th-gen-intel) | `<nixos-hardware/framework/12-inch/13th-gen-intel>` | `framework-12-13th-gen-intel` |
| [Framework 16 AMD Ryzen 7040 Series](framework/16-inch/7040-amd) | `<nixos-hardware/framework/16-inch/7040-amd>` | `framework-16-7040-amd` |
| [Framework 16 AMD Ryzen AI 300 Series](framework/16-inch/amd-ai-300-series) | `<nixos-hardware/framework/16-inch/amd-ai-300-series>` | `framework-16-amd-ai-300-series` |
| [FriendlyARM NanoPC-T4](friendlyarm/nanopc-t4) | `<nixos-hardware/friendlyarm/nanopc-t4>` | `friendlyarm-nanopc-t4` |
| [FriendlyARM NanoPi R5s](friendlyarm/nanopi-r5s) | `<nixos-hardware/friendlyarm/nanopi-r5s>` | `friendlyarm-nanopi-r5s` |
| [Focus M2 Gen 1](focus/m2/gen1) | `<nixos-hardware/focus/m2/gen1>` | `focus-m2-gen1` |
| [Fydetab Duo](fydetab/duo) | `<nixos-hardware/fydetab/duo>` | `fydetab-duo` |
| [Gigabyte B550](gigabyte/b550) | `<nixos-hardware/gigabyte/b550>` | `gigabyte-b550` |
| [Gigabyte B650](gigabyte/b650) | `<nixos-hardware/gigabyte/b650>` | `gigabyte-b650` |
| [GMKtec NucBox G3 Plus](gmktec/nucbox/g3-plus) | `<nixos-hardware/gmktec/nucbox/g3-plus>` | `gmktec-nucbox-g3-plus` |
| [GPD Duo](gpd/duo) | `<nixos-hardware/gpd/duo>` | `gpd-duo` |
| [GPD MicroPC](gpd/micropc) | `<nixos-hardware/gpd/micropc>` | `gpd-micropc` |
| [GPD P2 Max](gpd/p2-max) | `<nixos-hardware/gpd/p2-max>` | `gpd-p2-max` |
| [GPD Pocket 3](gpd/pocket-3) | `<nixos-hardware/gpd/pocket-3>` | `gpd-pocket-3` |
| [GPD Pocket 4](gpd/pocket-4) | `<nixos-hardware/gpd/pocket-4>` | `gpd-pocket-4` |
| [GPD WIN 2](gpd/win-2) | `<nixos-hardware/gpd/win-2>` | `gpd-win-2` |
| [GPD WIN Max 2 2023](gpd/win-max-2/2023) | `<nixos-hardware/gpd/win-max-2/2023>` | `gpd-win-max-2-2023` |
| [GPD WIN Mini 2024](gpd/win-mini/2024) | `<nixos-hardware/gpd/win-mini/2024>` | `gpd-win-mini-2024` |
| [Google Pixelbook](google/pixelbook) | `<nixos-hardware/google/pixelbook>` | `google-pixelbook` |
| [Google Brya](google/brya) | `<nixos-hardware/google/brya>` | `google-brya` |
| [Google Rex](google/rex) | `<nixos-hardware/google/rex>` | `google-rex` |
| [HP Elitebook 2560p](hp/elitebook/2560p) | `<nixos-hardware/hp/elitebook/2560p>` | `hp-elitebook-2560p` |
| [HP Elitebook 830g6](hp/elitebook/830/g6) | `<nixos-hardware/hp/elitebook/830/g6>` | `hp-elitebook-830g6` |
| [HP Elitebook 845g7](hp/elitebook/845/g7) | `<nixos-hardware/hp/elitebook/845/g7>` | `hp-elitebook-845g7` |
| [HP Elitebook 845g8](hp/elitebook/845/g8) | `<nixos-hardware/hp/elitebook/845/g8>` | `hp-elitebook-845g8` |
| [HP Elitebook 845g9](hp/elitebook/845/g9) | `<nixos-hardware/hp/elitebook/845/g9>` | `hp-elitebook-845g9` |
| [HP Laptop 14s-dq2024nf](hp/laptop/14s-dq2024nf) | `<nixos-hardware/hp/laptop/14s-dq2024nf>` | `hp-laptop-14s-dq2024nf` |
| [HP Laptop 15s-fq1xxx](hp/laptop/15s-fq1xxx) | `<nixos-hardware/hp/laptop/15s-fq1xxx>` | `hp-laptop-15s-fq1xxx` |
| [HP Notebook 14-df0023](hp/notebook/14-df0023) | `<nixos-hardware/hp/notebook/14-df0023>` | `hp-notebook-14-df0023` |
| [HP Probook 440G5](hp/probook/440G5) | `<nixos-hardware/hp/probook/440G5>` | `hp-probook-440G5` |
| [HP Laptop 14s-dq2024nf](hp/laptop/14s-dq2024nf) | `<nixos-hardware/hp/laptop/14s-dq2024nf>` | `hp-laptop-14s-dq2024nf` |
| [HP Probook 460G11](hp/probook/460g11) | `<nixos-hardware/hp/probook/460g11>` | `hp-probook-46011` |
| [Huawei Matebook X Pro (2020)](huawei/machc-wa) | `<nixos-hardware/huawei/machc-wa>` | `huawei-machc-wa` |
| [i.MX8QuadMax Multisensory Enablement Kit](nxp/imx8qm-mek/) | `<nixos-hardware/nxp/imx8qm-mek>` | `nxp-imx8qm-mek` |
| [Intel NUC 5i5RYB](intel/nuc/5i5ryb/) | `<nixos-hardware/intel/nuc/5i5ryb>` | `intel-nuc-5i5ryb` |
| [Intel NUC 7i3BNB](intel/nuc/7i3bnb/) | `<nixos-hardware/intel/nuc/7i3bnb>` | `intel-nuc-7i3bnb` |
| [Intel NUC 8i7BEH](intel/nuc/8i7beh/) | `<nixos-hardware/intel/nuc/8i7beh>` | `intel-nuc-8i7beh` |
| [Intel NUC 12WSHi7](intel/nuc/12wshi7/) | `<nixos-hardware/intel/nuc/12wshi7>` | `intel-nuc-12wshi7` |
| [Kobol Helios4](kobol/helios4) | `<nixos-hardware/kobol/helios4>` | `kobol-helios-4` |
| [Lenovo IdeaCentre K330](lenovo/ideacentre/k330) | `<nixos-hardware/lenovo/ideacentre/k330>` | `lenovo-ideacentre-k330` |
| [Lenovo IdeaPad 3 15alc6](lenovo/ideapad/15alc6) | `<nixos-hardware/lenovo/ideapad/15alc6>` | `lenovo-ideapad-15alc6` |
| [Lenovo IdeaPad Gaming 3 15arh05](lenovo/ideapad/15arh05) | `<nixos-hardware/lenovo/ideapad/15arh05>` | `lenovo-ideapad-15arh05` |
| [Lenovo IdeaPad Gaming 3 15ach6](lenovo/ideapad/15ach6) | `<nixos-hardware/lenovo/ideapad/15ach6>` | `lenovo-ideapad-15ach6` |
| [Lenovo IdeaPad 5 Pro 14imh9](lenovo/ideapad/14imh9) | `<nixos-hardware/lenovo/ideapad/14imh9>` | `lenovo-ideapad-14imh9` |
| [Lenovo IdeaPad 5 Pro 16ach6](lenovo/ideapad/16ach6) | `<nixos-hardware/lenovo/ideapad/16ach6>` | `lenovo-ideapad-16ach6` |
| [Lenovo IdeaPad Z510](lenovo/ideapad/z510) | `<nixos-hardware/lenovo/ideapad/z510>` | `lenovo-ideapad-z510` |
| [Lenovo IdeaPad Slim 5](lenovo/ideapad/slim-5) | `<nixos-hardware/lenovo/ideapad/slim-5>` | `lenovo-ideapad-slim-5` |
| [Lenovo IdeaPad Slim 5 16iah8](lenovo/ideapad/16iah8) | `<nixos-hardware/lenovo/ideapad/16iah8` | `lenovo-ideapad-s5-16iah8` |
| [Lenovo IdeaPad 2-in-1 16ahp9](lenovo/ideapad/16ahp9) | `<nixos-hardware/lenovo/ideapad/16ahp9>` | `lenovo-ideapad-16ahp9` |
| [Lenovo IdeaPad S145 15api](lenovo/ideapad/s145-15api) | `<nixos-hardware/lenovo/ideapad/s145-15api>` | `lenovo-ideapad-s145-15api` |
| [Lenovo Legion 5 15ach6h](lenovo/legion/15ach6h) | `<nixos-hardware/lenovo/legion/15ach6h>` | `lenovo-legion-15ach6h` |
| [Lenovo Legion 5 15ach6h (Hybrid)](lenovo/legion/15ach6h/hybrid) | `<nixos-hardware/lenovo/legion/15ach6h/hybrid>` | `lenovo-legion-15ach6h-hybrid` |
| [Lenovo Legion 5 15ach6h (Nvidia)](lenovo/legion/15ach6h/hybrid) | `<nixos-hardware/lenovo/legion/15ach6h/nvidia>` | `lenovo-legion-15ach6h-nvidia` |
| [Lenovo Legion 5 15arh05h](lenovo/legion/15arh05h) | `<nixos-hardware/lenovo/legion/15arh05h>` | `lenovo-legion-15arh05h` |
| [Lenovo Legion 7 Slim 15ach6](lenovo/legion/15ach6) | `<nixos-hardware/lenovo/legion/15ach6>` | `lenovo-legion-15ach6` |
| [Lenovo Legion 5 Pro 16ach6h](lenovo/legion/16ach6h) | `<nixos-hardware/lenovo/legion/16ach6h>` | `lenovo-legion-16ach6h` |
| [Lenovo Legion 5 Pro 16ach6h (Hybrid)](lenovo/legion/16ach6h/hybrid) | `<nixos-hardware/lenovo/legion/16ach6h/hybrid>` | `lenovo-legion-16ach6h-hybrid` |
| [Lenovo Legion 5 Pro 16ach6h (Nvidia)](lenovo/legion/16ach6h/nvidia) | `<nixos-hardware/lenovo/legion/16ach6h/nvidia>` | `lenovo-legion-16ach6h-nvidia` |
| [Lenovo Legion 5 Pro 16arh7h (IGPU Only)](lenovo/legion/16arh7h/igpu-only) | `<nixos-hardware/lenovo/legion/16arh7h/igpu-only>` | `lenovo-legion-16arh7h-igpu-only` |
| [Lenovo Legion 5 Pro 16arh7h (Hybrid)](lenovo/legion/16arh7h/hybrid) | `<nixos-hardware/lenovo/legion/16arh7h/hybrid>` | `lenovo-legion-16arh7h-hybrid` |
| [Lenovo Legion 5 Pro 16IAH7H (Intel)](lenovo/legion/16iah7h/) | `<nixos-hardware/lenovo/legion/16iah7h>` | `lenovo-legion-16iah7h` |
| [Lenovo Legion 7 16achg6 (Hybrid)](lenovo/legion/16achg6/hybrid) | `<nixos-hardware/lenovo/legion/16achg6/hybrid>` | `lenovo-legion-16achg6-hybrid` |
| [Lenovo Legion 7 16achg6 (Nvidia)](lenovo/legion/16achg6/nvidia) | `<nixos-hardware/lenovo/legion/16achg6/nvidia>` | `lenovo-legion-16achg6-nvidia` |
| [Lenovo Legion 7i Pro 16irx8h (Intel)](lenovo/legion/16irx8h) | `<nixos-hardware/lenovo/legion/16irx8h>` | `lenovo-legion-16irx8h` |
| [Lenovo Legion 7 Pro 16irx9h (Intel)](lenovo/legion/16irx9h) | `<nixos-hardware/lenovo/legion/16irx9h>` | `lenovo-legion-16irx9h` |
| [Lenovo Legion Pro 7 16iax10h (Intel)](lenovo/legion/16iax10h) | `<nixos-hardware/lenovo/legion/16iax10h>` | `lenovo-legion-16iax10h` |
| [Lenovo Legion Slim 5](lenovo/legion/16aph8/) | `<nixos-hardware/lenovo/legion/16aph8>` | `lenovo-legion-16aph8` |
| [Lenovo Legion Slim 7 Gen 7 (AMD)](lenovo/legion/16arha7/) | `<nixos-hardware/lenovo/legion/16arha7>` | `lenovo-legion-16arha7` |
| [Lenovo Legion T5 AMR5](lenovo/legion/t526amr5) | `<nixos-hardware/lenovo/legion/t526amr5>` | `lenovo-legion-t526amr5` |
| [Lenovo Legion Y530 15ICH](lenovo/legion/15ich) | `<nixos-hardware/lenovo/legion/15ich>` | `lenovo-legion-y530-15ich` |
| [Lenovo ThinkPad A475](lenovo/thinkpad/a475) | `<nixos-hardware/lenovo/thinkpad/a475>` | `lenovo-thinkpad-a475` |
| [Lenovo ThinkPad E14 (AMD)](lenovo/thinkpad/e14/amd) | `<nixos-hardware/lenovo/thinkpad/e14/amd>` | `lenovo-thinkpad-e14-amd` |
| [Lenovo ThinkPad E14 (Intel - Gen 1)](lenovo/thinkpad/e14/intel) | `<nixos-hardware/lenovo/thinkpad/e14/intel>` | `lenovo-thinkpad-e14-intel` |
| [Lenovo ThinkPad E14 (Intel - Gen 4)](lenovo/thinkpad/e14/intel/gen4) | `<nixos-hardware/lenovo/thinkpad/e14/intel/gen4>` | `lenovo-thinkpad-e14-intel-gen4` |
| [Lenovo ThinkPad E14 (Intel - Gen 2)](lenovo/thinkpad/e14/intel/gen2) | `<nixos-hardware/lenovo/thinkpad/e14/intel/gen2>` | `lenovo-thinkpad-e14-intel-gen2` |
| [Lenovo ThinkPad E14 (Intel - Gen 6)](lenovo/thinkpad/e14/intel/gen6) | `<nixos-hardware/lenovo/thinkpad/e14/intel/gen6>` | `lenovo-thinkpad-e14-intel-gen6` |
| [Lenovo ThinkPad E15 (Intel)](lenovo/thinkpad/e15/intel) | `<nixos-hardware/lenovo/thinkpad/e15/intel>` | `lenovo-thinkpad-e15-intel` |
| [Lenovo ThinkPad E470](lenovo/thinkpad/e470) | `<nixos-hardware/lenovo/thinkpad/e470>` | `lenovo-thinkpad-e470` |
| [Lenovo ThinkPad E495](lenovo/thinkpad/e495) | `<nixos-hardware/lenovo/thinkpad/e495>` | `lenovo-thinkpad-e495` |
| [Lenovo ThinkPad L13 Yoga](lenovo/thinkpad/l13/yoga) | `<nixos-hardware/lenovo/thinkpad/l13/yoga>` | `lenovo-thinkpad-l13-yoga` |
| [Lenovo ThinkPad L13](lenovo/thinkpad/l13) | `<nixos-hardware/lenovo/thinkpad/l13>` | `lenovo-thinkpad-l13` |
| [Lenovo ThinkPad L14 (AMD)](lenovo/thinkpad/l14/amd) | `<nixos-hardware/lenovo/thinkpad/l14/amd>` | `lenovo-thinkpad-l14-amd` |
| [Lenovo ThinkPad L14 (Intel)](lenovo/thinkpad/l14/intel) | `<nixos-hardware/lenovo/thinkpad/l14/intel>` | `lenovo-thinkpad-l14-intel` |
| [Lenovo ThinkPad L480](lenovo/thinkpad/l480) | `<nixos-hardware/lenovo/thinkpad/l480>` | `lenovo-thinkpad-l480` |
| [Lenovo ThinkPad P1 Gen 3](lenovo/thinkpad/p1/3th-gen) | `<nixos-hardware/lenovo/thinkpad/p1/3th-gen>` | `lenovo-thinkpad-p1-gen3` |
| [Lenovo ThinkPad P1 Gen 5](lenovo/thinkpad/p1/gen5) | `<nixos-hardware/lenovo/thinkpad/p1/gen5>` | `lenovo-thinkpad-p1-gen5` |
| [Lenovo ThinkPad P1 Gen 5 (Nvidia)](lenovo/thinkpad/p1/gen5/nvidia) | `<nixos-hardware/lenovo/thinkpad/p1/gen5/nvidia>` | `lenovo-thinkpad-p1-gen5-nvidia` |
| [Lenovo ThinkPad P14s AMD Gen 1](lenovo/thinkpad/p14s/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen1>` | `lenovo-thinkpad-p14s-amd-gen1` |
| [Lenovo ThinkPad P14s AMD Gen 2](lenovo/thinkpad/p14s/amd/gen2) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen2>` | `lenovo-thinkpad-p14s-amd-gen2` |
| [Lenovo ThinkPad P14s AMD Gen 3](lenovo/thinkpad/p14s/amd/gen3) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen3>` | `lenovo-thinkpad-p14s-amd-gen3` |
| [Lenovo ThinkPad P14s AMD Gen 4](lenovo/thinkpad/p14s/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen4>` | `lenovo-thinkpad-p14s-amd-gen4` |
| [Lenovo ThinkPad P14s AMD Gen 5](lenovo/thinkpad/p14s/amd/gen5) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen5>` | `lenovo-thinkpad-p14s-amd-gen5` |
| [Lenovo ThinkPad P14s AMD Gen 6](lenovo/thinkpad/p14s/amd/gen6) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen6>` | `lenovo-thinkpad-p14s-amd-gen6` |
| [Lenovo ThinkPad P14s Intel Gen 2](lenovo/thinkpad/p14s/intel/gen2) | `<nixos-hardware/lenovo/thinkpad/p14s/intel/gen2>` | `lenovo-thinkpad-p14s-intel-gen2` |
| [Lenovo ThinkPad P14s Intel Gen 3](lenovo/thinkpad/p14s/intel/gen3) | `<nixos-hardware/lenovo/thinkpad/p14s/intel/gen3>` | `lenovo-thinkpad-p14s-intel-gen3` |
| [Lenovo ThinkPad P14s Intel Gen 5](lenovo/thinkpad/p14s/intel/gen5) | `<nixos-hardware/lenovo/thinkpad/p14s/intel/gen5>` | `lenovo-thinkpad-p14s-intel-gen5` |
| [Lenovo ThinkPad P15v Intel Gen 3](lenovo/thinkpad/p15v/intel/gen3) | `<nixos-hardware/lenovo/thinkpad/p15v/intel/gen3>` | `lenovo-thinkpad-p15v-intel-gen3` |
| [Lenovo ThinkPad P16s AMD Gen 1](lenovo/thinkpad/p16s/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/p16s/amd/gen1>` | `lenovo-thinkpad-p16s-amd-gen1` |
| [Lenovo ThinkPad P16s AMD Gen 2](lenovo/thinkpad/p16s/amd/gen2) | `<nixos-hardware/lenovo/thinkpad/p16s/amd/gen2>` | `lenovo-thinkpad-p16s-amd-gen2` |
| [Lenovo ThinkPad P16s AMD Gen 4](lenovo/thinkpad/p16s/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/p16s/amd/gen4>` | `lenovo-thinkpad-p16s-amd-gen4` |
| [Lenovo ThinkPad P16s Intel Gen 2](lenovo/thinkpad/p16s/intel/gen2) | `<nixos-hardware/lenovo/thinkpad/p16s/intel/gen2>` | `lenovo-thinkpad-p16s-intel-gen2` |
| [Lenovo ThinkPad P16s Intel Gen 3](lenovo/thinkpad/p16s/intel/gen3) | `<nixos-hardware/lenovo/thinkpad/p16s/intel/gen3>` | `lenovo-thinkpad-p16s-intel-gen3` |
| [Lenovo ThinkPad P1](lenovo/thinkpad/p1) | `<nixos-hardware/lenovo/thinkpad/p1>` | `lenovo-thinkpad-p1` |
| [Lenovo ThinkPad P43s](lenovo/thinkpad/p43s) | `<nixos-hardware/lenovo/thinkpad/p43s>` | `lenovo-thinkpad-p43s` |
| [Lenovo ThinkPad P50](lenovo/thinkpad/p50) | `<nixos-hardware/lenovo/thinkpad/p50>` | `lenovo-thinkpad-p50` |
| [Lenovo ThinkPad P51](lenovo/thinkpad/p51) | `<nixos-hardware/lenovo/thinkpad/p51>` | `lenovo-thinkpad-p51` |
| [Lenovo ThinkPad P52](lenovo/thinkpad/p52) | `<nixos-hardware/lenovo/thinkpad/p52>` | `lenovo-thinkpad-p52` |
| [Lenovo ThinkPad P53](lenovo/thinkpad/p53) | `<nixos-hardware/lenovo/thinkpad/p53>` | `lenovo-thinkpad-p53` |
| [Lenovo ThinkPad T14 AMD Gen 1](lenovo/thinkpad/t14/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen1>` | `lenovo-thinkpad-t14-amd-gen1` |
| [Lenovo ThinkPad T14 AMD Gen 2](lenovo/thinkpad/t14/amd/gen2) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen2>` | `lenovo-thinkpad-t14-amd-gen2` |
| [Lenovo ThinkPad T14 AMD Gen 3](lenovo/thinkpad/t14/amd/gen3) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen3>` | `lenovo-thinkpad-t14-amd-gen3` |
| [Lenovo ThinkPad T14 AMD Gen 4](lenovo/thinkpad/t14/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen4>` | `lenovo-thinkpad-t14-amd-gen4` |
| [Lenovo ThinkPad T14 AMD Gen 5](lenovo/thinkpad/t14/amd/gen5) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen5>` | `lenovo-thinkpad-t14-amd-gen5` |
| [Lenovo ThinkPad T14](lenovo/thinkpad/t14) | `<nixos-hardware/lenovo/thinkpad/t14>` | `lenovo-thinkpad-t14` |
| [Lenovo ThinkPad T14 Intel Gen 1](lenovo/thinkpad/t14/intel/gen1) | `<nixos-hardware/lenovo/thinkpad/t14/intel/gen1>` | `lenovo-thinkpad-t14-intel-gen1` |
| [Lenovo ThinkPad T14 Intel Gen 1 (Nvidia)](lenovo/thinkpad/t14/intel/gen1/nvidia) | `<nixos-hardware/lenovo/thinkpad/t14/intel/gen1/nvidia>`| `lenovo-thinkpad-t14-intel-gen1-nvidia`|
| [Lenovo ThinkPad T14 Intel Gen 6](lenovo/thinkpad/t14/intel/gen6) | `<nixos-hardware/lenovo/thinkpad/t14/intel/gen6>` | `lenovo-thinkpad-t14-intel-gen6` |
| [Lenovo ThinkPad T14s AMD Gen 1](lenovo/thinkpad/t14s/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/t14s/amd/gen1>` | `lenovo-thinkpad-t14s-amd-gen1` |
| [Lenovo ThinkPad T14s AMD Gen 4](lenovo/thinkpad/t14s/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/t14s/amd/gen4>` | `lenovo-thinkpad-t14s-amd-gen4` |
| [Lenovo ThinkPad T14s](lenovo/thinkpad/t14s) | `<nixos-hardware/lenovo/thinkpad/t14s>` | `lenovo-thinkpad-t14s` |
| [Lenovo ThinkPad T410](lenovo/thinkpad/t410) | `<nixos-hardware/lenovo/thinkpad/t410>` | `lenovo-thinkpad-t410` |
| [Lenovo ThinkPad T420](lenovo/thinkpad/t420) | `<nixos-hardware/lenovo/thinkpad/t420>` | `lenovo-thinkpad-t420` |
| [Lenovo ThinkPad T430](lenovo/thinkpad/t430) | `<nixos-hardware/lenovo/thinkpad/t430>` | `lenovo-thinkpad-t430` |
| [Lenovo ThinkPad T440p](lenovo/thinkpad/t440p) | `<nixos-hardware/lenovo/thinkpad/t440p>` | `lenovo-thinkpad-t440p` |
| [Lenovo ThinkPad T440s](lenovo/thinkpad/t440s) | `<nixos-hardware/lenovo/thinkpad/t440s>` | `lenovo-thinkpad-t440s` |
| [Lenovo ThinkPad T450s](lenovo/thinkpad/t450s) | `<nixos-hardware/lenovo/thinkpad/t450s>` | `lenovo-thinkpad-t450s` |
| [Lenovo ThinkPad T460](lenovo/thinkpad/t460) | `<nixos-hardware/lenovo/thinkpad/t460>` | `lenovo-thinkpad-t460` |
| [Lenovo ThinkPad T460p](lenovo/thinkpad/t460p) | `<nixos-hardware/lenovo/thinkpad/t460p>` | `lenovo-thinkpad-t460p` |
| [Lenovo ThinkPad T460s](lenovo/thinkpad/t460s) | `<nixos-hardware/lenovo/thinkpad/t460s>` | `lenovo-thinkpad-t460s` |
| [Lenovo ThinkPad T470s](lenovo/thinkpad/t470s) | `<nixos-hardware/lenovo/thinkpad/t470s>` | `lenovo-thinkpad-t470s` |
| [Lenovo ThinkPad T480](lenovo/thinkpad/t480) | `<nixos-hardware/lenovo/thinkpad/t480>` | `lenovo-thinkpad-t480` |
| [Lenovo ThinkPad T480s](lenovo/thinkpad/t480s) | `<nixos-hardware/lenovo/thinkpad/t480s>` | `lenovo-thinkpad-t480s` |
| [Lenovo ThinkPad T490](lenovo/thinkpad/t490) | `<nixos-hardware/lenovo/thinkpad/t490>` | `lenovo-thinkpad-t490` |
| [Lenovo ThinkPad T490s](lenovo/thinkpad/t490s) | `<nixos-hardware/lenovo/thinkpad/t490s>` | `lenovo-thinkpad-t490s` |
| [Lenovo ThinkPad T495](lenovo/thinkpad/t495) | `<nixos-hardware/lenovo/thinkpad/t495>` | `lenovo-thinkpad-t495` |
| [Lenovo ThinkPad T520](lenovo/thinkpad/t520) | `<nixos-hardware/lenovo/thinkpad/t520>` | `lenovo-thinkpad-t520` |
| [Lenovo ThinkPad T550](lenovo/thinkpad/t550) | `<nixos-hardware/lenovo/thinkpad/t550>` | `lenovo-thinkpad-t550` |
| [Lenovo ThinkPad T590](lenovo/thinkpad/t590) | `<nixos-hardware/lenovo/thinkpad/t590>` | `lenovo-thinkpad-t590` |
| [Lenovo ThinkPad W520](lenovo/thinkpad/w520) | `<nixos-hardware/lenovo/thinkpad/w520>` | `lenovo-thinkpad-w520` |
| [Lenovo ThinkPad X1 Yoga](lenovo/thinkpad/x1/yoga) | `<nixos-hardware/lenovo/thinkpad/x1/yoga>` | `lenovo-thinkpad-x1-yoga` |
| [Lenovo ThinkPad X1 Yoga Gen 7](lenovo/thinkpad/x1/yoga/7th-gen/) | `<nixos-hardware/lenovo/thinkpad/x1/yoga/7th-gen>` | `lenovo-thinkpad-x1-yoga-7th-gen` |
| [Lenovo ThinkPad X1 Yoga Gen 8](lenovo/thinkpad/x1/yoga/8th-gen/) | `<nixos-hardware/lenovo/thinkpad/x1/yoga/8th-gen>` | `lenovo-thinkpad-x1-yoga-8th-gen` |
| [Lenovo ThinkPad X1 Yoga Gen 8 (IPU6)](lenovo/thinkpad/x1/yoga/8th-gen/ipu6) | `<nixos-hardware/lenovo/thinkpad/x1/yoga/8th-gen/ipu6>` | `lenovo-thinkpad-x1-yoga-8th-gen-ipu6` |
| [Lenovo ThinkPad X1 (2nd Gen)](lenovo/thinkpad/x1/2nd-gen) | `<nixos-hardware/lenovo/thinkpad/x1/2nd-gen>` | `lenovo-thinkpad-x1-2nd-gen` |
| [Lenovo ThinkPad X1 (6th Gen)](lenovo/thinkpad/x1/6th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/6th-gen>` | `lenovo-thinkpad-x1-6th-gen` |
| [Lenovo ThinkPad X1 (7th Gen)](lenovo/thinkpad/x1/7th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/7th-gen>` | `lenovo-thinkpad-x1-7th-gen` |
| [Lenovo ThinkPad X1 (9th Gen)](lenovo/thinkpad/x1/9th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/9th-gen>` | `lenovo-thinkpad-x1-9th-gen` |
| [Lenovo ThinkPad X1 (10th Gen)](lenovo/thinkpad/x1/10th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/10th-gen>` | `lenovo-thinkpad-x1-10th-gen` |
| [Lenovo ThinkPad X1 (11th Gen)](lenovo/thinkpad/x1/11th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/11th-gen>` | `lenovo-thinkpad-x1-11th-gen` |
| [Lenovo ThinkPad X1 (12th Gen)](lenovo/thinkpad/x1/12th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/12th-gen>` | `lenovo-thinkpad-x1-12th-gen` |
| [Lenovo ThinkPad X1 (13th Gen)](lenovo/thinkpad/x1/13th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/13th-gen>` | `lenovo-thinkpad-x1-13th-gen` |
| [Lenovo ThinkPad X1 Extreme Gen 2](lenovo/thinkpad/x1-extreme/gen2) | `<nixos-hardware/lenovo/thinkpad/x1-extreme/gen2>` | `lenovo-thinkpad-x1-extreme-gen2` |
| [Lenovo ThinkPad X1 Extreme Gen 3](lenovo/thinkpad/x1-extreme/gen3) | `<nixos-hardware/lenovo/thinkpad/x1-extreme/gen3>` | `lenovo-thinkpad-x1-extreme-gen3` |
| [Lenovo ThinkPad X1 Extreme Gen 4](lenovo/thinkpad/x1-extreme/gen4) | `<nixos-hardware/lenovo/thinkpad/x1-extreme/gen4>` | `lenovo-thinkpad-x1-extreme-gen4` |
| [Lenovo ThinkPad X1 Nano Gen 1](lenovo/thinkpad/x1-nano/gen1) | `<nixos-hardware/lenovo/thinkpad/x1-nano/gen1>` | `lenovo-thinkpad-x1-nano-gen1` |
| [Lenovo ThinkPad X13s](lenovo/thinkpad/x13s) | `<nixos-hardware/lenovo/thinkpad/x13s>` | `lenovo-thinkpad-x13s` |
| [Lenovo ThinkPad X13 Yoga](lenovo/thinkpad/x13/yoga) | `<nixos-hardware/lenovo/thinkpad/x13/yoga>` | `lenovo-thinkpad-x13-yoga` |
| [Lenovo ThinkPad X13 Yoga (3th Gen)](lenovo/thinkpad/x13/yoga/3th-gen) | `<nixos-hardware/lenovo/thinkpad/x13/yoga/3th-gen>` | `lenovo-thinkpad-x13-yoga-3th-gen` |
| [Lenovo ThinkPad X13 (Intel)](lenovo/thinkpad/x13/intel) | `<nixos-hardware/lenovo/thinkpad/x13/intel>` | `lenovo-thinkpad-x13-intel` |
| [Lenovo ThinkPad X13 (AMD)](lenovo/thinkpad/x13/amd) | `<nixos-hardware/lenovo/thinkpad/x13/amd>` | `lenovo-thinkpad-x13-amd` |
| [Lenovo ThinkPad X140e](lenovo/thinkpad/x140e) | `<nixos-hardware/lenovo/thinkpad/x140e>` | `lenovo-thinkpad-x140e` |
| [Lenovo ThinkPad X200s](lenovo/thinkpad/x200s) | `<nixos-hardware/lenovo/thinkpad/x200s>` | `lenovo-thinkpad-x200s` |
| [Lenovo ThinkPad X220](lenovo/thinkpad/x220) | `<nixos-hardware/lenovo/thinkpad/x220>` | `lenovo-thinkpad-x220` |
| [Lenovo ThinkPad X230](lenovo/thinkpad/x230) | `<nixos-hardware/lenovo/thinkpad/x230>` | `lenovo-thinkpad-x230` |
| [Lenovo ThinkPad X250](lenovo/thinkpad/x250) | `<nixos-hardware/lenovo/thinkpad/x250>` | `lenovo-thinkpad-x250` |
| [Lenovo ThinkPad X260](lenovo/thinkpad/x260) | `<nixos-hardware/lenovo/thinkpad/x260>` | `lenovo-thinkpad-x260` |
| [Lenovo ThinkPad X270](lenovo/thinkpad/x270) | `<nixos-hardware/lenovo/thinkpad/x270>` | `lenovo-thinkpad-x270` |
| [Lenovo ThinkPad X280](lenovo/thinkpad/x280) | `<nixos-hardware/lenovo/thinkpad/x280>` | `lenovo-thinkpad-x280` |
| [Lenovo ThinkPad X390](lenovo/thinkpad/x390) | `<nixos-hardware/lenovo/thinkpad/x390>` | `lenovo-thinkpad-x390` |
| [Lenovo ThinkPad Z Series](lenovo/thinkpad/z) | `<nixos-hardware/lenovo/thinkpad/z>` | `lenovo-thinkpad-z` |
| [Lenovo ThinkPad Z13 Gen 1](lenovo/thinkpad/z/gen1/z13) | `<nixos-hardware/lenovo/thinkpad/z/gen1/z13>` | `lenovo-thinkpad-z13-gen1` |
| [Lenovo ThinkPad Z13 Gen 2](lenovo/thinkpad/z/gen2/z13) | `<nixos-hardware/lenovo/thinkpad/z/gen2/z13>` | `lenovo-thinkpad-z13-gen2` |
| [Lenovo XiaoXin Pro 14imh9 2024](lenovo/ideapad/14imh9) | `<nixos-hardware/lenovo/ideapad/14imh9>` | `lenovo-ideapad-14imh9` |
| [LENOVO Yoga 6 13ALC6 82ND](lenovo/yoga/6/13ALC6) | `<nixos-hardware/lenovo/yoga/6/13ALC6>` | `lenovo-yoga-6-13ALC6` |
| [LENOVO Yoga Slim 7 Pro-X 14ARH7 82ND](lenovo/yoga/7/14ARH7/amdgpu) | `<nixos-hardware/lenovo/yoga/7/14ARH7/amdgpu>` | `lenovo-yoga-7-14ARH7-amdgpu` |
| [LENOVO Yoga Slim 7 Pro-X 14ARH7 82ND](lenovo/yoga/7/14ARH7/nvidia) | `<nixos-hardware/lenovo/yoga/7/14ARH7/nvidia>` | `lenovo-yoga-7-14ARH7-nvidia` |
| [Lenovo Yoga Slim 7i Pro X 14IAH7 (Integrated)](lenovo/yoga/7/14IAH7/integrated) | `<nixos-hardware/lenovo/yoga/7/14IAH7/integrated>` | `lenovo-yoga-7-14IAH7-integrated` |
| [Lenovo Yoga Slim 7i Pro X 14IAH7 (Hybrid)](lenovo/yoga/7/14IAH7/hybrid) | `<nixos-hardware/lenovo/yoga/7/14IAH7/hybrid>` | `lenovo-yoga-7-14IAH7-hybrid` |
| [Lenovo Yoga Slim 7 14ILL10](lenovo/yoga/7/14ILL10) | `<nixos-hardware/lenovo/yoga/7/14ILL10>` | `lenovo-yoga-7-14ILL10` |
| [LENOVO Yoga 7 Slim Gen8](lenovo/yoga/7/slim/gen8) | `<nixos-hardware/lenovo/yoga/7/slim/gen8>` | `lenovo-yoga-7-slim-gen8` |
| [Linglong Nova Studio](linglong/nova-studio) | `<nixos-hardware/linglong/nova-studio>` | `linglong-nova-studio` |
| [MSI B550-A PRO](msi/b550-a-pro) | `<nixos-hardware/msi/b550-a-pro>` | `msi-b550-a-pro` |
| [MSI B350 TOMAHAWK](msi/b350-tomahawk) | `<nixos-hardware/msi/b350-tomahawk>` | `msi-b350-tomahawk` |
| [MSI B550 TOMAHAWK](msi/b550-tomahawk) | `<nixos-hardware/msi/b550-tomahawk>` | `msi-b550-tomahawk` |
| [MSI GF63 Thin](msi/gf63) | `<nixos-hardware/msi/gf63>` | `msi-gf63` |
| [MSI GS60 2QE](msi/gs60) | `<nixos-hardware/msi/gs60>` | `msi-gs60` |
| [MSI GL62/CX62](msi/gl62) | `<nixos-hardware/msi/gl62>` | `msi-gl62` |
| [MSI GL65 10SDR-492](msi/gl65/10SDR-492) | `<nixos-hardware/msi/gl65/10SDR-492>` | `msi-gl65-10SDR-492` |
| [MSI Prestige 15 A10SC](msi/prestige/15-a10sc) | `<nixos-hardware/msi/prestige/15-a10sc>` | `msi-prestige-15-a10sc` |
| [MSI Z370 PC PRO](msi/z370-pc-pro) | `<nixos-hardware/msi/z370-pc-pro>` | `msi-z370-pc-pro` |
| [Malibal Aon S1](malibal/aon/s1) | | `<nixos-hardware/malibal/aon/s1>` | `malibal-aon-s1` |
| [Microchip Icicle Kit](microchip/icicle-kit) | `<nixos-hardware/microchip/icicle-kit>` | `microchip-icicle-kit` |
| [Microsoft Surface Go](microsoft/surface/surface-go) | `<nixos-hardware/microsoft/surface/surface-go>` | `microsoft-surface-go` |
| [Microsoft Surface Pro (Intel)](microsoft/surface/surface-pro-intel) | `<nixos-hardware/microsoft/surface/surface-pro-intel>` | `microsoft-surface-pro-intel` |
| [Microsoft Surface Laptop (AMD)](microsoft/surface/surface-laptop-amd) | `<nixos-hardware/microsoft/surface/surface-laptop-amd>` | `microsoft-surface-laptop-amd` |
| [Microsoft Surface Range (Common Modules)](microsoft/surface/common) | `<nixos-hardware/microsoft/surface/common>` | `microsoft-surface-common` |
| [Microsoft Surface Pro 3](microsoft/surface-pro/3) | `<nixos-hardware/microsoft/surface-pro/3>` | `microsoft-surface-pro-3` |
| [Microsoft Surface Pro 9](microsoft/surface-pro/9) | `<nixos-hardware/microsoft/surface-pro/9>` | `microsoft-surface-pro-9` |
| [Milk-V Pioneer](milkv/pioneer) | `<nixos-hardware/milkv/pioneer>` | `milkv-pioneer` |
| [Morefine M600](morefine/m600) | `<nixos-hardware/morefine/m600>` | `morefine-m600` |
| [Minisforum UM690](minisforum/um690) | `<nixos-hardware/minisforum/um690>` | `minisforum-um690` |
| [Minisforum UM690S](minisforum/um690s) | `<nixos-hardware/minisforum/um690s>` | `minisforum-um690s` |
| [Minisforum UM790 Pro](minisforum/um790-pro) | `<nixos-hardware/minisforum/um790-pro>` | `minisforum-um790-pro` |
| [Minisforum V3](minisforum/v3) | `<nixos-hardware/minisforum/v3>` | `minisforum-v3` |
| [MNT Reform with RK3588 module](mnt/reform/rk3588) | `<nixos-hardware/mnt/reform/rk3588` | `mnt-reform-rk3588` |
| [MECHREVO Yilong15Pro](mechrevo/GM5HG0A) | `<nixos-hardware/mechrevo/GM5HG0A>` | `mechrevo-gm5hg0a` |
| [NXP iMX8 MPlus Evaluation Kit](nxp/imx8mp-evk) | `<nixos-hardware/nxp/imx8mp-evk>` | `nxp-imx8mp-evk` |
| [NXP iMX8 MQuad Evaluation Kit](nxp/imx8mq-evk) | `<nixos-hardware/nxp/imx8mq-evk>` | `nxp-imx8mq-evk` |
| [Hardkernel Odroid HC4](hardkernel/odroid-hc4/default.nix) | `<nixos-hardware/hardkernel/odroid-hc4>` | `hardkernel-odroid-hc4` |
| [Hardkernel Odroid H3](hardkernel/odroid-h3/default.nix) | `<nixos-hardware/hardkernel/odroid-h3>` | `hardkernel-odroid-h3` |
| [Hardkernel Odroid H4](hardkernel/odroid-h4/default.nix) | `<nixos-hardware/hardkernel/odroid-h4>` | `hardkernel-odroid-h4` |
| [Hardkernel Odroid M1](hardkernel/odroid-m1/default.nix) | `<nixos-hardware/hardkernel/odroid-m1>` | `hardkernel-odroid-m1` |
| [Olimex TERES-I](olimex/teres_i) | `<nixos-hardware/olimex/teres_i>` | `olimex-teres_i` |
| [Omen 14-fb0798ng](omen/14-fb0798ng) | `<nixos-hardware/omen/14-fb0798ng>` | `omen-14-fb0798ng` |
| [Omen 15-ce002ns](omen/15-ce002ns) | `<nixos-hardware/omen/15-ce002ns>` | `omen-15-ce002ns` |
| [Omen 15-en0010ca](omen/15-en0010ca) | `<nixos-hardware/omen/15-en0010ca>` | `omen-15-en0010ca` |
| [Omen 16-n0005ne](omen/16-n0005ne) | `<nixos-hardware/omen/16-n0005ne>` | `omen-16-n0005ne` |
| [Omen 16-n0280nd](/omen/16-n0280nd) | `<nixos-hardware/omen/16-n0280nd>` | `omen-16-n0280nd` |
| [Omen 15-en1007sa](omen/15-en1007sa) | `<nixos-hardware/omen/15-en1007sa>` | `omen-15-en1007sa` |
| [Omen 15-en0002np](omen/15-en0002np) | `<nixos-hardware/omen/15-en0002np>` | `omen-15-en0002np` |
| [One-Netbook OneNetbook 4](onenetbook/4) | `<nixos-hardware/onenetbook/4>` | `onenetbook-4` |
| [Panasonic Let's Note CF-LX3](panasonic/letsnote/cf-lx3) | `<nixos-hardware/panasonic/letsnote/cf-lx3>` | `panasonic-letsnote-cf-lx3` |
| [Panasonic Let's Note CF-LX4](panasonic/letsnote/cf-lx4) | `<nixos-hardware/panasonic/letsnote/cf-lx4>` | `letsnote-cf-lx4` |
| [PC Engines APU](pcengines/apu) | `<nixos-hardware/pcengines/apu>` | `pcengines-apu` |
| [PINE64 Pinebook Pro](pine64/pinebook-pro/) | `<nixos-hardware/pine64/pinebook-pro>` | `pine64-pinebook-pro` |
| [PINE64 RockPro64](pine64/rockpro64/) | `<nixos-hardware/pine64/rockpro64>` | `pine64-rockpro64` |
| [PINE64 STAR64](pine64/star64/) | `<nixos-hardware/pine64/star64>` | `pine64-star64` |
| [Protectli VP4670](protectli/vp4670/) | `<nixos-hardware/protectli/vp4670>` | `protectli-vp4670` |
| [Purism Librem 13v3](purism/librem/13v3) | `<nixos-hardware/purism/librem/13v3>` | `purism-librem-13v3` |
| [Purism Librem 15v3](purism/librem/15v3) | `<nixos-hardware/purism/librem/15v3>` | `purism-librem-15v3` |
| [Purism Librem 5r4](purism/librem/5r4) | `<nixos-hardware/purism/librem/5r4>` | `purism-librem-5r4` |
| [Radxa ROCK 3C](radxa/rock-3c) | `<nixos-hardware/radxa/rock-3c>` | `radxa-rock-3c` |
| [Radxa ROCK 4C+](radxa/rock-4c-plus) | `<nixos-hardware/radxa/rock-4c-plus>` | `rock-4c-plus` |
| [Radxa ROCK 5 Model B](radxa/rock-5b) | `<nixos-hardware/radxa/rock-5b>` | `rock-5b` |
| [Radxa ROCK Pi 4](radxa/rock-pi-4) | `<nixos-hardware/radxa/rock-pi-4>` | `rock-pi-4` |
| [Radxa ROCK Pi E](radxa/rock-pi-e) | `<nixos-hardware/radxa/rock-pi-e>` | `rock-pi-e` |
| [Razer Blade 14 (RZ09-0530)](razer/blade/14/RZ09-0530) | `<nixos-hardware/razer/blade/14/RZ09-0530>` | `razer-blade-14-RZ09-0530` |
| [Raspberry Pi 1](raspberry-pi/1) | `<nixos-hardware/raspberry-pi/1>` | `raspberry-pi-1` |
| [Raspberry Pi 2](raspberry-pi/2) | `<nixos-hardware/raspberry-pi/2>` | `raspberry-pi-2` |
| [Raspberry Pi 3](raspberry-pi/3) | `<nixos-hardware/raspberry-pi/3>` | `raspberry-pi-3` |
| [Raspberry Pi 4](raspberry-pi/4) | `<nixos-hardware/raspberry-pi/4>` | `raspberry-pi-4` |
| [Raspberry Pi 5](raspberry-pi/5) | `<nixos-hardware/raspberry-pi/5>` | `raspberry-pi-5` |
| [Samsung Series 9 NP900X3C](samsung/np900x3c) | `<nixos-hardware/samsung/np900x3c>` | `samsung-np900x3c` |
| [Slimbook Hero RPL-RTX](slimbook/hero/rpl-rtx) | `<nixos-hardware/slimbook/hero/rpl-rtx>` | `slimbook-hero-rpl-rtx` |
| [StarFive VisionFive v1](starfive/visionfive/v1) | `<nixos-hardware/starfive/visionfive/v1>` | `starfive-visionfive-v1` |
| [StarFive VisionFive 2](starfive/visionfive/v2) | `<nixos-hardware/starfive/visionfive/v2>` | `starfive-visionfive-2` |
| [StarLabs StarLite 5 (I5)](starlabs/starlite/i5) | `<nixos-hardware/starlabs/starlite/i5>` | `starlabs-starlite-i5` |
| [Supermicro A1SRi-2758F](supermicro/a1sri-2758f) | `<nixos-hardware/supermicro/a1sri-2758f>` | `supermicro-a1sri-2758f` |
| [Supermicro M11SDV-8C-LN4F](supermicro/m11sdv-8c-ln4f) | `<nixos-hardware/supermicro/m11sdv-8c-ln4f>` | `supermicro-m11sdv-8c-ln4f` |
| [Supermicro X10SLL-F](supermicro/x10sll-f) | `<nixos-hardware/supermicro/x10sll-f>` | `supermicro-x10sll-f` |
| [Supermicro X12SCZ-TLN4F](supermicro/x12scz-tln4f) | `<nixos-hardware/supermicro/x12scz-tln4f>` | `supermicro-x12scz-tln4f` |
| [System76 (generic)](system76) | `<nixos-hardware/system76>` | `system76` |
| [System76 Darter Pro 6](system76/darp6) | `<nixos-hardware/system76/darp6>` | `system76-darp6` |
| [System76 Gazelle 18](system76/gaze18) | `<nixos-hardware/system76/gaze18>` | `system76-gaze18` |
| [System76 Galago Pro 3](system76/galp3) | `<nixos-hardware/system76/galp3>` | `system76-galp3` |
| [System76 Galago Pro 5](system76/galp5-1650) | `<nixos-hardware/system76/galp5-1650>` | `system76-galp5-1650` |
| [System76 Thelio Mega](system76/thelio-mega) | `<nixos-hardware/system76/thelio-mega>` | `system76-thelio-mega` |
| [Toshiba Chromebook 2 `swanky`](toshiba/swanky) | `<nixos-hardware/toshiba/swanky>` | `toshiba-swanky` |
| [Tuxedo InfinityBook v4](tuxedo/infinitybook/v4) | `<nixos-hardware/tuxedo/infinitybook/v4>` | `tuxedo-infinitybook-v4` |
| [TUXEDO Aura 15 - Gen1](tuxedo/aura/15/gen1) | `<nixos-hardware/tuxedo/aura/15/gen1>` | `tuxedo-aura-15-gen1` |
| [TUXEDO InfinityBook Pro 14 - Gen7](tuxedo/infinitybook/pro14/gen7) | `<nixos-hardware/tuxedo/infinitybook/pro14/gen7>` | `tuxedo-infinitybook-pro14-gen7` |
| [TUXEDO InfinityBook Pro 14 - Gen9 - AMD](tuxedo/infinitybook/pro14/gen9/amd) | `<nixos-hardware/tuxedo/infinitybook/pro14/gen9/amd>` | `tuxedo-infinitybook-pro14-gen9-amd` |
| [TUXEDO InfinityBook Pro 14 - Gen9 - INTEL](tuxedo/infinitybook/pro14/gen9/intel) | `<nixos-hardware/tuxedo/infinitybook/pro14/gen9/intel>` | `tuxedo-infinitybook-pro14-gen9-intel` |
| [TUXEDO InfinityBook Pro 14 - Gen10 - AMD](tuxedo/infinitybook/pro14/gen10/amd) | `<nixos-hardware/tuxedo/infinitybook/pro14/gen10/amd>` | `tuxedo-infinitybook-pro14-gen10-amd` |
| [TUXEDO InfinityBook Pro 15 - Gen10 - AMD](tuxedo/infinitybook/pro15/gen10/amd) | `<nixos-hardware/tuxedo/infinitybook/pro15/gen10/amd>` | `tuxedo-infinitybook-pro15-gen10-amd` |
| [TUXEDO InfinityBook Pro 15 - Gen10 - INTEL](tuxedo/infinitybook/pro15/gen10/intel)| `<nixos-hardware/tuxedo/infinitybook/pro15/gen10/intel>`| `tuxedo-infinitybook-pro15-gen10-intel`|
| [TUXEDO Pulse 14 - Gen3](tuxedo/pulse/14/gen3) | `<nixos-hardware/tuxedo/pulse/14/gen3>` | `tuxedo-pulse-14-gen3` |
| [TUXEDO Pulse 15 - Gen2](tuxedo/pulse/15/gen2) | `<nixos-hardware/tuxedo/pulse/15/gen2>` | `tuxedo-pulse-15-gen2` |
| [Xiaomi Redmibook 15 Pro 2021](xiaomi/redmibook/15-pro-2021) | `<nixos-hardware/xiaomi/redmibook/15-pro-2021>` | `xiaomi-redmibook-15-pro-2021` |
| [Xiaomi Redmibook 16 Pro 2024](xiaomi/redmibook/16-pro-2024) | `<nixos-hardware/xiaomi/redmibook/16-pro-2024>` | `xiaomi-redmibook-16-pro-2024` |
+22
View File
@@ -0,0 +1,22 @@
# Acer Nitro 5 (AN515-55)
## Hardware Configuration
- Intel Core i5-10500H
- Intel UHD Graphics + NVIDIA GeForce GTX 1650 Mobile (Turing, TU117M)
- M.2 NVMe SSD
## Notes
- PRIME offload works via `nvidia-offload <cmd>` (enabled by default
via `common/gpu/nvidia/prime.nix`). GPU runtime D3 is not supported
on this chassis — the discrete GPU stays powered on at all times,
even when idle.
- NVIDIA open kernel modules work on this Turing GPU (enabled by
default via `common/gpu/nvidia/turing`), tested with the 595 series.
- `acer_wmi` loads and registers the `platform_profile` driver, but
no sysfs interface is exposed (`/sys/firmware/acpi/platform_profile`
does not exist). Fan/performance modes are only reachable through
Acer's proprietary WMI methods (NitroSense on Windows).
- Keyboard backlight is not exposed via the standard LED class
(`/sys/class/leds`) — `brightnessctl` only controls panel brightness.
+21
View File
@@ -0,0 +1,21 @@
{ lib, ... }:
{
imports = [
../../../../common/cpu/intel
../../../../common/gpu/nvidia/prime.nix
../../../../common/gpu/nvidia/turing
../../../../common/pc/laptop
../../../../common/pc/ssd
];
hardware.nvidia = {
modesetting.enable = lib.mkDefault true;
powerManagement.enable = lib.mkDefault true;
prime = {
intelBusId = "PCI:0@0:2:0";
nvidiaBusId = "PCI:1@0:0:0";
};
};
}
@@ -0,0 +1,7 @@
# Acer Predator Helios 300 (PH315-51)
## Hardware Configuration:
- Intel Core i5 (8th Gen) 8300H / 2.3 GHz
- NVIDIA GeForce GTX 1050 Ti
- 128GB SSD + 1TB HDD
@@ -0,0 +1,27 @@
{
lib,
...
}:
let
inherit (lib) mkDefault;
in
{
imports = [
../../../../../common/pc/laptop
../../../../../common/cpu/intel/coffee-lake
../../../../../common/gpu/nvidia/pascal
];
hardware = {
nvidia = {
modesetting.enable = mkDefault true;
powerManagement.enable = mkDefault true;
prime = {
sync.enable = mkDefault true;
intelBusId = "PCI:0@0:2:0";
nvidiaBusId = "PCI:1@0:0:0";
};
};
};
}
+72
View File
@@ -0,0 +1,72 @@
# iMac 12,2, NixOS 25.11 (February 2025)
## Audio
- [x] ok
## Bluetooth
- [x] ok
## Camera
- [x] ok
Observed issues with the GNOME tooling. `vlc` and `guvcview` woth work fine.
## Thunderbolt
- [ ] Untested
## SATA
- [x] ok
## Suspend/Resume
- [ ] Untested
## WiFi
- [x] ok
## Graphics
- [x] ok
The Radeon HD 6000 series (Northern Islands) does not support `amdgpu`.
This profile uses the `radeon` driver with DPM (Dynamic Power Management)
disabled to prevent boot hangs.
## LSPCI
```
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 Display controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Universal Host Controller #5 (rev 05)
00:1a.7 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Universal Host Controller #1 (rev 05)
00:1d.7 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation Z68 Express Chipset LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6730M/6770M/7690M XT]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series]
02:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM57765 Gigabit Ethernet PCIe (rev 10)
03:00.0 Network controller: Qualcomm Atheros AR93xx Wireless Network Adapter (rev 01)
04:00.0 FireWire (IEEE 1394): LSI Corporation FW643 [TrueFire] PCIe 1394b Controller (rev 08)
05:00.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
06:00.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
06:03.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
06:04.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
06:05.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
06:06.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
07:00.0 System peripheral: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
```
+14
View File
@@ -0,0 +1,14 @@
{
lib,
...
}:
{
imports = [
../.
];
# AMD Radeon HD 6770M/6970M (Whistler/Turks, Northern Islands generation)
# DPM (Dynamic Power Management) did cause boot hangs
boot.kernelParams = [ "radeon.dpm=0" ];
}
-1
View File
@@ -29,7 +29,6 @@
"bcma"
];
kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.0") pkgs.linuxPackages_latest;
extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
};
hardware = {
+9
View File
@@ -0,0 +1,9 @@
{
...
}:
{
imports = [
../.
];
}
+3 -1
View File
@@ -1,8 +1,10 @@
{ lib, ... }:
{ config, lib, ... }:
{
imports = [ ../. ];
boot.blacklistedKernelModules = [ "bcma" ];
boot = {
# Divides power consumption by two.
kernelParams = [ "acpi_osi=" ];
-1
View File
@@ -4,7 +4,6 @@
imports = [
../.
../../../common/pc/ssd
../../../common/gpu/24.05-compat.nix
../../../common/gpu/nvidia/kepler
];
-4
View File
@@ -6,9 +6,5 @@
../../../common/cpu/intel/haswell
];
# broadcom-wl
hardware.enableRedistributableFirmware = lib.mkDefault true;
# nixos-generate-config doesn't detect this automatically.
boot.extraModulePackages = with config.boot.kernelPackages; [ broadcom_sta ];
boot.kernelModules = [ "wl" ];
}
+42
View File
@@ -0,0 +1,42 @@
# Apple MacBookPro11,4
[Product page](https://support.apple.com/en-us/111955)
## Tested Hardware
```console
foo@bar:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Crystal Well DRAM Controller [8086:0d04] (rev 08)
00:01.0 PCI bridge [0604]: Intel Corporation Crystal Well PCI Express x16 Controller [8086:0d01] (rev 08)
00:01.1 PCI bridge [0604]: Intel Corporation Crystal Well PCI Express x8 Controller [8086:0d05] (rev 08)
00:02.0 VGA compatible controller [0300]: Intel Corporation Crystal Well Integrated Graphics Controller [8086:0d26] (rev 08)
00:03.0 Audio device [0403]: Intel Corporation Crystal Well HD Audio Controller [8086:0d0c] (rev 08)
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05)
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d5)
00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 [8086:8c14] (rev d5)
00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 [8086:8c16] (rev d5)
00:1f.0 ISA bridge [0601]: Intel Corporation HM87 Express LPC Controller [8086:8c4b] (rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 05)
00:1f.6 Signal processing controller [1180]: Intel Corporation 8 Series Chipset Family Thermal Management Controller [8086:8c24] (rev 05)
01:00.0 SATA controller [0106]: Samsung Electronics Co Ltd S4LN058A01[SSUBX] AHCI SSD Controller (Apple slot) [144d:a801] (rev 01)
03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43602 802.11ac Wireless LAN SoC [14e4:43ba] (rev 01)
04:00.0 Multimedia controller [0480]: Broadcom Inc. and subsidiaries 720p FaceTime HD Camera [14e4:1570]
05:00.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013] [8086:156d]
06:00.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013] [8086:156d]
06:03.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013] [8086:156d]
06:04.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013] [8086:156d]
06:05.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013] [8086:156d]
06:06.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013] [8086:156d]
07:00.0 System peripheral [0880]: Intel Corporation DSL5520 Thunderbolt 2 NHI [Falcon Ridge 4C 2013] [8086:156c]
```
## Tested Nix Configuration
- system: `"x86_64-linux"`
- host os: `Linux 6.12.36, NixOS, 25.11 (Xantusia), 25.11.20250708.9807714`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.28.4`
- channels(root): `"nixos"`
- nixpkgs: `/nix/store/bgl6ldj5ihbwcq8p42z3a0qzgqafgk2b-source`
+17
View File
@@ -0,0 +1,17 @@
{
lib,
config,
pkgs,
modulesPath,
...
}:
{
imports = [
../.
../../../common/cpu/intel/haswell
../../../common/pc/ssd
"${modulesPath}/hardware/network/broadcom-43xx.nix"
];
hardware.graphics.enable = lib.mkDefault true;
}
-1
View File
@@ -9,7 +9,6 @@ This means it might be required to restart your wifi deamon i.e. wpa_supplicant:
powerManagement.powerUpCommands = ''
${pkgs.systemd}/bin/systemctl restart wpa_supplicant.service
'';
};
```
You can apply this to your network management software of choice.
-1
View File
@@ -12,7 +12,6 @@
"b43-firmware"
];
}
```
### For all packages
-1
View File
@@ -8,7 +8,6 @@ in
{
imports = [
../.
../../../common/gpu/24.05-compat.nix
];
services.xserver.videoDrivers = mkDefault [ "nvidiaLegacy340" ];
+47 -44
View File
@@ -7,36 +7,48 @@
let
inherit (lib) types;
nixosVersion = lib.versions.majorMinor lib.version;
audioFiles = pkgs.fetchFromGitHub {
owner = "kekrby";
repo = "t2-better-audio";
rev = "e46839a28963e2f7d364020518b9dac98236bcae";
hash = "sha256-x7K0qa++P1e1vuCGxnsFxL1d9+nwMtZUJ6Kd9e27TFs=";
t2bce-alsa-ucm = pkgs.stdenvNoCC.mkDerivation (_: {
name = "t2bce-alsa-ucm";
src = pkgs.fetchFromGitHub {
owner = "deqrocks";
repo = "t2bce";
rev = "967465dc67d3a9b1e48dea620f7258baa526f4f2";
hash = "sha256-EVUvNg30bFhJCtcyPAGbWjGX0+CORs4nWG5Bpvbr590=";
};
meta = {
description = "ALSA Usage Configuration Manager configuration for T2 Macs";
license = lib.licenses.mit;
};
dontBuild = true;
installPhase = ''
runHook preInstall
cd ./t2bce_audio-alsa-ucm-conf
mkdir -p "$out/share/alsa/"
cp -vR ./ucm2 "$out/share/alsa/"
runHook postInstall
'';
});
patched-alsa-ucm = pkgs.symlinkJoin {
inherit (t2bce-alsa-ucm) src meta;
name = "t2bce-alsa-ucm-patched";
paths = [
pkgs.alsa-ucm-conf
t2bce-alsa-ucm
];
};
audioFilesUdevRules = pkgs.runCommand "audio-files-udev-rules" { } ''
mkdir -p $out/lib/udev/rules.d
cp ${audioFiles}/files/*.rules $out/lib/udev/rules.d
substituteInPlace $out/lib/udev/rules.d/*.rules --replace "/usr/bin/sed" "${pkgs.gnused}/bin/sed"
'';
overrideAudioFiles =
package: pluginsPath:
package.overrideAttrs (
_new: old: {
preConfigurePhases = old.preConfigurePhases or [ ] ++ [ "postPatchPhase" ];
postPatchPhase = ''
cp -r ${audioFiles}/files/{profile-sets,paths} ${pluginsPath}/alsa/mixer/
'';
}
);
pipewirePackage = overrideAudioFiles pkgs.pipewire "spa/plugins/";
patchedAudioAlsaEnv = lib.genAttrs [ "pipewire" "wireplumber" "pulseaudio" ] (_: {
environment.ALSA_CONFIG_UCM2 = config.environment.variables.ALSA_CONFIG_UCM2;
});
t2Cfg = config.hardware.apple-t2;
in
{
imports = [
@@ -86,37 +98,28 @@ in
if t2Cfg.kernelChannel == "stable" then ./pkgs/linux-t2 else ./pkgs/linux-t2/latest.nix
) { }
);
boot.initrd.kernelModules = [ "apple-bce" ];
boot.initrd.kernelModules = [ "t2bce-vhci" ];
services.udev.packages = [ audioFilesUdevRules ];
# For audio
# For audio and suspend
boot.kernelParams = [
"pcie_ports=compat"
"intel_iommu=on"
"iommu=pt"
"pm_async=off"
];
services.pipewire.package = pipewirePackage;
services.pipewire.wireplumber.package = pkgs.wireplumber.override {
pipewire = pipewirePackage;
# audio configuration
# https://github.com/nix-community/nixos-apple-silicon/blob/66d8dd2c27f99bd5420c99938b60695aac1785c4/apple-silicon-support/modules/sound/default.nix#L46
environment.variables.ALSA_CONFIG_UCM2 = "${patched-alsa-ucm}/share/alsa/ucm2";
# setting systemd.globalEnvironment is likely going to have unexpected side effects
systemd = {
services = patchedAudioAlsaEnv;
user.services = patchedAudioAlsaEnv;
};
# Make sure post-resume.service exists
powerManagement.enable = true;
}
(
if lib.versionAtLeast nixosVersion "25.05" then
{
services.pulseaudio.package = overrideAudioFiles pkgs.pulseaudio "src/modules/";
}
else
{
hardware.pulseaudio.package = overrideAudioFiles pkgs.pulseaudio "src/modules/";
}
)
(lib.mkIf t2Cfg.enableIGPU {
# Enable the iGPU by default if present
environment.etc."modprobe.d/apple-gmux.conf".text = ''
+37 -48
View File
@@ -2,10 +2,7 @@
lib,
stdenvNoCC,
callPackage,
vmTools,
util-linux,
linux,
kmod,
_7zz,
version,
}:
@@ -38,52 +35,44 @@ let
};
in
vmTools.runInLinuxVM (
stdenvNoCC.mkDerivation {
pname = "brcm-firmware";
inherit version;
stdenvNoCC.mkDerivation {
pname = "brcm-firmware";
inherit version;
src = fetchmacos {
name = version;
inherit (boards.${version})
boardId
mlb
osType
hash
;
};
dontUnpack = true;
src = fetchmacos {
name = version;
inherit (boards.${version})
boardId
mlb
osType
hash
;
};
dontUnpack = true;
nativeBuildInputs = [
util-linux
get-firmware
];
buildPhase = ''
ln -s ${linux}/lib /lib
${kmod}/bin/modprobe loop
${kmod}/bin/modprobe hfsplus
nativeBuildInputs = [
_7zz
get-firmware
];
buildPhase = ''
7zz x -bd -bso0 -bsp0 $src \
"macOS Base System/usr/share/firmware/bluetooth/*" \
"macOS Base System/usr/share/firmware/wifi/*"
imgdir=$(mktemp -d)
loopdev=$(losetup -f | cut -d "/" -f 3)
losetup -P $loopdev $src
loopdev_partition=/dev/$(lsblk -o KNAME,TYPE,MOUNTPOINT -n | grep $loopdev | tail -1 | awk '{print $1}')
mount $loopdev_partition $imgdir
get-bluetooth "macOS Base System/usr/share/firmware/bluetooth" bluetooth/
get-wifi "macOS Base System/usr/share/firmware/wifi" wifi/
'';
get-bluetooth $imgdir/usr/share/firmware/bluetooth bluetooth/
get-wifi $imgdir/usr/share/firmware/wifi wifi/
'';
installPhase = ''
mkdir -p $out/lib/firmware/brcm
cp bluetooth/brcm/* $out/lib/firmware/brcm/
cp wifi/brcm/* $out/lib/firmware/brcm/
'';
installPhase = ''
mkdir -p $out/lib/firmware/brcm
cp bluetooth/brcm/* $out/lib/firmware/brcm/
cp wifi/brcm/* $out/lib/firmware/brcm/
'';
meta = with lib; {
description = "Wi-Fi and Bluetooth firmware for T2 Macs";
license = licenses.unfree;
maintainers = with maintainers; [ mkorje ];
platforms = platforms.linux;
};
}
)
meta = with lib; {
description = "Wi-Fi and Bluetooth firmware for T2 Macs";
license = licenses.unfree;
maintainers = with maintainers; [ mkorje ];
platforms = platforms.linux;
};
}
@@ -1,7 +1,5 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
callPackage,
dmg2img,
}:
+2 -5
View File
@@ -1,6 +1,3 @@
{ callPackage, linux_6_12, ... }@args:
{ callPackage, ... }@args:
callPackage ./generic.nix args {
kernel = linux_6_12;
patchesFile = ./stable.json;
}
callPackage ./generic.nix args ./stable.json
+38 -13
View File
@@ -1,13 +1,13 @@
{
lib,
fetchurl, # fetchpatch does unnecessary normalization
buildLinux,
linuxKernel,
...
}@args:
{
kernel,
patchesFile,
}:
patchesFile:
let
inherit (builtins) readFile fromJSON;
@@ -23,33 +23,58 @@ let
}
) patchset.patches;
in
kernel.override (
args
// {
buildLinux (
{
pname = "linux-t2";
version = patchset.kernel.version;
src = fetchurl {
inherit (patchset.kernel) url hash;
};
structuredExtraConfig = with lib.kernel; {
APPLE_BCE = module;
T2BCE_CORE = module;
T2BCE_VHCI = module;
T2BCE_AUDIO = module;
T2BCE_AVE = module;
APPLE_GMUX = module;
APFS_FS = module;
BRCMFMAC = module;
BT_BCM = module;
BT_HCIBCM4377 = module;
BT_HCIUART_BCM = yes;
BT_HCIUART = module;
BT_HCIUART_BCM = yes;
DRM_APPLETBDRM = module;
HID_APPLE = module;
HID_APPLETB_BL = module;
HID_APPLETB_KBD = module;
HID_APPLE = module;
HID_MAGICMOUSE = module;
DRM_APPLETBDRM = module;
HID_SENSOR_ALS = module;
SENSORS_APPLESMC = module;
SND_PCM = module;
STAGING = yes;
# required for t2bce_ave
I2C = yes;
MEDIA_SUPPORT = yes;
MEDIA_CAMERA_SUPPORT = yes;
MEDIA_ANALOG_TV_SUPPORT = yes;
MEDIA_DIGITAL_TV_SUPPORT = yes;
MEDIA_RADIO_SUPPORT = yes;
MEDIA_SDR_SUPPORT = yes;
MEDIA_PLATFORM_SUPPORT = yes;
MEDIA_TEST_SUPPORT = yes;
};
kernelPatches = t2-patches ++ (args.kernelPatches or [ ]);
kernelPatches = [
# include default patches for good measure
linuxKernel.kernelPatches.request_key_helper
linuxKernel.kernelPatches.bridge_stp_helper
]
++ t2-patches
++ (args.kernelPatches or [ ]);
argsOverride.extraMeta = {
extraMeta = {
description = "The Linux kernel (with patches from the T2 Linux project)";
# take responsibility for the downstream kernel
+44 -71
View File
@@ -1,73 +1,30 @@
{
"base_url": "https://raw.githubusercontent.com/t2linux/linux-t2-patches/8ec11f3aaa314d25e18842851a2124c0031e2e3f/",
"base_url": "https://raw.githubusercontent.com/t2linux/linux-t2-patches/65fdd4d492d7e219a05742ce4768f16e5ba4f976/",
"kernel": {
"version": "7.2.9",
"url": "mirror://kernel/linux/kernel/v7.x/linux-7.2.9.tar.xz",
"hash": "sha256:1fnqp28vrikz9gqhb42k0dsggqf8i07j0s9qy33scr53a6zdzidl"
},
"patches": [
{
"name": "1001-Add-apple-bce-driver.patch",
"hash": "sha256-00K3LmId2Ag6s5K76p7mB2a0oEXp815yRd+U5wxWPMc="
"name": "1001-Add-t2bce-driver-stack.patch",
"hash": "sha256-QeAffMClzGsGdHC5Qce744X2WUcx6PI0CJ5BQ8txxQ8="
},
{
"name": "1002-Put-apple-bce-in-drivers-staging.patch",
"hash": "sha256-wkveNo1qwAwXWDGTFed4ZDbuBnJbwKgWLmTHK9qq0oM="
},
{
"name": "1003-Fix-sparse-errors.patch",
"hash": "sha256-nuCOPWa4Hp+HCCBe6Y++M4g1k4plOWzy2hqHXlJbp9g="
},
{
"name": "1004-Fix-freezing-on-turning-off-camera.patch",
"hash": "sha256-rFrSUhiNXgQbfgKjryJktYxYcchXE1PI49Q1gW001+0="
},
{
"name": "1007-HID-multitouch-Get-the-contact-ID-from-HID_DG_TRANSD.patch",
"hash": "sha256-JF5PjByo4S1Rd/B5luAzOXDv+iakCnJfmujIQuUiT1A="
},
{
"name": "1008-HID-multitouch-support-getting-the-tip-state-from-HI.patch",
"hash": "sha256-m/NAKoHRC/HwxG5fFZxFl6DtY4Xv8kPBWvdKdtadrrk="
},
{
"name": "1009-HID-multitouch-take-cls-maxcontacts-into-account-for.patch",
"hash": "sha256-h6jk9yw/4txd8PATpMxB9mIzik9+X1zP6p4K35AqdXw="
},
{
"name": "1010-HID-multitouch-specify-that-Apple-Touch-Bar-is-direc.patch",
"hash": "sha256-5PbLynVnQqlJKPTWhcmwXCkYDEopLBQWnxWvZUt0EN4="
},
{
"name": "1011-HID-multitouch-add-device-ID-for-Apple-Touch-Bar.patch",
"hash": "sha256-dIzEOj89D2rIEc2/mjq3TkIfI3ZHzu0VRDQQOzp+Snc="
},
{
"name": "1013-lib-vsprintf-Add-support-for-generic-FourCCs-by-exte.patch",
"hash": "sha256-g8M3j1ZPND10/LtPD/txaSoJGV9Lp+g5bgn+vQc56p4="
},
{
"name": "1014-printf-add-tests-for-generic-FourCCs.patch",
"hash": "sha256-5Z4cFBMAY695OEU/CxiGQkUz68zmKdxssD+yp1DCYgs="
},
{
"name": "1015-drm-appletbdrm-use-p4cl-instead-of-p4cc.patch",
"hash": "sha256-rZej0ZbpPv+8NROuYnf4Jpu9scCsmbKWyz7yf5A3G3s="
},
{
"name": "1016-vsprintf-Use-p4chR-instead-of-p4cn-for-reading-data-.patch",
"hash": "sha256-/Ork2CmYk6SG213Owk+nGsw7KTEVDLRzQTeWcKrPZGw="
},
{
"name": "1017-checkpatch-remove-p4cn.patch",
"hash": "sha256-lnMnjnMiR9WSNf/XYsiOwFdC9xKv8zSluWiR584xFPU="
"name": "1002-Integrate-t2bce-driver-stack.patch",
"hash": "sha256-nPAPGV9IROyxSQzSztwNS1fY0ziGQJ7evKBs1ZSHwiE="
},
{
"name": "2008-i915-4-lane-quirk-for-mbp15-1.patch",
"hash": "sha256-Ui9tK4IGSWfEscmD92emX/NfulO0m8zwLc9ivIClCFQ="
"hash": "sha256-gTYP7WHV/Qulobdi1nNdYsv1CWgkM8pGvsCFQ+rvhrw="
},
{
"name": "2009-apple-gmux-allow-switching-to-igpu-at-probe.patch",
"hash": "sha256-aE+MEu/jRrZBa+3Q03quOHUsIseRED6A7N/K9kEVtbM="
"hash": "sha256-OczfcYSvkw2lBZQzZjCV4LHSe6CnaJ1J8GBkgEbiOXk="
},
{
"name": "3001-applesmc-convert-static-structures-to-drvdata.patch",
"hash": "sha256-7KGC0pCos351wKNhwJI/Qoc7w+orOPpiTkdCN50G8nI="
"hash": "sha256-FVtOCXInI5OUqpTVDVsZ1taMwj3z+d3PeRgjnQQljG4="
},
{
"name": "3002-applesmc-make-io-port-base-addr-dynamic.patch",
@@ -83,7 +40,7 @@
},
{
"name": "3005-applesmc-basic-mmio-interface-implementation.patch",
"hash": "sha256-Hh9DymQ+Y74oSs1zv9F0lTU3jfAenKTM+cmFH9tmN9Q="
"hash": "sha256-tnpfmZQw9KQNylpLfGZ+X0IVP79AgeDoTVYF6yUhCRI="
},
{
"name": "3006-applesmc-fan-support-on-T2-Macs.patch",
@@ -103,39 +60,55 @@
},
{
"name": "4001-asahi-trackpad.patch",
"hash": "sha256-QM/FtDft4N4imJBuEHg6cH3e8vEyMPLt0alDhugLPy8="
},
{
"name": "4002-HID-quirks-remove-T2-devices-from-hid_mouse_ignore_l.patch",
"hash": "sha256-0PMCE3IWHekir5YV1BD6Jakc7dOV6Fj2HfIGWZnXZV0="
"hash": "sha256-RuYI0t+rMu29wSkVT4suYJgGzS1ZruN/HBZWkLivlDw="
},
{
"name": "4003-HID-apple-ignore-the-trackpad-on-T2-Macs.patch",
"hash": "sha256-JTeYtaBqMyTu5IdGb8x7wbP9ZE1rXT4lpEjudR1ySFI="
"hash": "sha256-LLZzcysLTuQrSXWXbdq7AASxfMInQoqpWzRNZAKws9k="
},
{
"name": "4004-HID-magicmouse-Add-support-for-trackpads-found-on-T2.patch",
"hash": "sha256-HcPX7gY3hnlwM/tY06pbtXnch04AqwHgC596E8ZqGY8="
"hash": "sha256-kUnbtl/54cihscirl9kP0Gsot7bdP0rYKlj6gQ10hk0="
},
{
"name": "4005-HID-apple-Add-necessary-IDs-and-support-for-replacem.patch",
"hash": "sha256-SRKESCbpxSYm7U0VyCmvkmT/er6/GEHhwo8tgJDO6mQ="
"name": "5001-HID-appletb-kbd-add-option-to-switch-default-layer-o.patch",
"hash": "sha256-KV5DTjALzNugs92Jum6VUt0wgblK/6PG1KorovHcIX0="
},
{
"name": "4006-HID-magicmouse-Add-MacBookPro15-1-replacement-trackp.patch",
"hash": "sha256-uAlT/4ADwYyKvbuPQaGwqCjZ2/myruC63etVV6cfFLk="
"name": "5002-drm-appletbdrm-Add-suspend-and-resume-support.patch",
"hash": "sha256-NFa5ZpNguUC9ELfphvCrVHEh59tN/ZA9vQl6YD1avbI="
},
{
"name": "6001-drm-amd-pm-Fix-boot-problems-in-5300.patch",
"hash": "sha256-l6pyVkpumURgoQ/f1kGfw47YhMuuMjpiHgjP6QN8dNE="
},
{
"name": "7001-drm-i915-fbdev-Discard-BIOS-framebuffers-exceeding-h.patch",
"hash": "sha256-O6RHFxmKZn7aCq1D+r5z2T3jLt0r5+01EABD9rs0E5M="
"hash": "sha256-/EKN7JsAxcpAgfJFtPp2NLYaGqQ0kl8wjJEXifSzJpY="
},
{
"name": "7002-drm-amdgpu-reset-VI-ASIC-on-MacBookPro15-1.patch",
"hash": "sha256-lLruG4lJAI6fI94w2LzHmrbspXArrq+rbI/SJmhwXqo="
},
{
"name": "7003-amdgpu-add-support-for-5K.patch",
"hash": "sha256-RX3tiju4gNFlrrYWOMdUr0HAdSN5RliliiPAQw5I6/M="
},
{
"name": "8001-Add-APFS-driver.patch",
"hash": "sha256-io17Kk6FDscDoDshddK9TqSPuXVFTzjvRUwOGTl5cjM="
"hash": "sha256-DU/jX8wuM6Y/5iZztg05GjWlzVlo8DfVpCJ3BxFoTJo="
},
{
"name": "8002-Necessary-modifications-to-build-APFS-with-the-kerne.patch",
"hash": "sha256-n1SH5vC//LRJdWOavH9/BHqBTjkUj5f+dFGitSeHksw="
"hash": "sha256-zCTetF2NPhMH2BknPumhPz2sf26X9Lcra7xCA3R2WMY="
},
{
"name": "9001-ACPI-x86-Apple-T2-systems-need-early-CPU-offlining.patch",
"hash": "sha256-camFPvnBQMErjVrbsdPPfsbyy59w0e0iPkVR1Juzv8o="
},
{
"name": "9002-Bluetooth-hci_event-strip-Broadcom-vendor-bits-from-adv-type.patch",
"hash": "sha256-oikMBjD4gyqTs351q7nTz6lI6rJqOe1/LfxpHAieEOs="
}
]
}
+2 -5
View File
@@ -1,6 +1,3 @@
{ callPackage, linux_6_15, ... }@args:
{ callPackage, ... }@args:
callPackage ./generic.nix args {
kernel = linux_6_15;
patchesFile = ./latest.json;
}
callPackage ./generic.nix args ./latest.json
+30 -69
View File
@@ -1,73 +1,34 @@
{
"base_url": "https://raw.githubusercontent.com/t2linux/linux-t2-patches/e08a76e1f1234885b9b68be6c843bf91833e8b0a/",
"base_url": "https://raw.githubusercontent.com/t2linux/linux-t2-patches/2eed0f6c812e8f36cb7a7f7bcde69f6f87074bdf/",
"kernel": {
"version": "6.18.55",
"url": "mirror://kernel/linux/kernel/v6.x/linux-6.18.55.tar.xz",
"hash": "sha256:1yadaa2gz74nh3pawpwv6lamalnd7wpiv1xb88pw2rd1c606647l"
},
"patches": [
{
"name": "1001-Add-apple-bce-driver.patch",
"hash": "sha256-e3RPvWPj2QASGOS4kieO8YFekrXsBCJtfF82OPlOn2E="
"name": "1001-Add-t2bce-driver-stack.patch",
"hash": "sha256-OG4Y7cN75pHWF7huV+2Fqtq0ik2aITMWtF43mD+RFCU="
},
{
"name": "1002-Put-apple-bce-in-drivers-staging.patch",
"hash": "sha256-DXj4CmE7TKMGrAhQDOR5RVw9YHmyQMiXZsmxYfkKAEA="
"name": "1002-Integrate-t2bce-driver-stack.patch",
"hash": "sha256-z3g3IOAL+Nze88oKDSYpLHVtFnhz2kP1Udap5J64WmM="
},
{
"name": "1003-Fix-sparse-errors.patch",
"hash": "sha256-nuCOPWa4Hp+HCCBe6Y++M4g1k4plOWzy2hqHXlJbp9g="
},
{
"name": "1004-Fix-freezing-on-turning-off-camera.patch",
"hash": "sha256-rFrSUhiNXgQbfgKjryJktYxYcchXE1PI49Q1gW001+0="
},
{
"name": "1005-HID-hid-appletb-bl-add-driver-for-the-backlight-of-A.patch",
"hash": "sha256-kEscS1FAyDxLZPOPInYTXFEf4fouBEa4zGctX14hSu8="
},
{
"name": "1006-HID-hid-appletb-kbd-add-driver-for-the-keyboard-mode.patch",
"hash": "sha256-eVEuvnoRItaDjwWu41nn9bTkgHgY+1SL/hFAvUR2IlY="
},
{
"name": "1007-HID-multitouch-Get-the-contact-ID-from-HID_DG_TRANSD.patch",
"hash": "sha256-JF5PjByo4S1Rd/B5luAzOXDv+iakCnJfmujIQuUiT1A="
},
{
"name": "1008-HID-multitouch-support-getting-the-tip-state-from-HI.patch",
"hash": "sha256-m/NAKoHRC/HwxG5fFZxFl6DtY4Xv8kPBWvdKdtadrrk="
},
{
"name": "1009-HID-multitouch-take-cls-maxcontacts-into-account-for.patch",
"hash": "sha256-h6jk9yw/4txd8PATpMxB9mIzik9+X1zP6p4K35AqdXw="
},
{
"name": "1010-HID-multitouch-specify-that-Apple-Touch-Bar-is-direc.patch",
"hash": "sha256-5PbLynVnQqlJKPTWhcmwXCkYDEopLBQWnxWvZUt0EN4="
},
{
"name": "1011-HID-multitouch-add-device-ID-for-Apple-Touch-Bar.patch",
"hash": "sha256-dIzEOj89D2rIEc2/mjq3TkIfI3ZHzu0VRDQQOzp+Snc="
},
{
"name": "1013-lib-vsprintf-Add-support-for-generic-FourCCs-by-exte.patch",
"hash": "sha256-h3gxaKtvdm/GSd+AP1sPC9avWHOsceUxTmoua/3rIf4="
},
{
"name": "1014-drm-format-helper-Add-conversion-from-XRGB8888-to-BG.patch",
"hash": "sha256-Ky19+cCiYDaHBh2o5IhZO8J1ExDT7o8K9cgPz+AL8Cg="
},
{
"name": "1015-drm-tiny-add-driver-for-Apple-Touch-Bars-in-x86-Macs.patch",
"hash": "sha256-tDjK/VipVQbuNOURW38gssqeRLy3s8I+DVq0+4zGnHs="
"name": "1003-Fix-for-6.18.patch",
"hash": "sha256-ozJkJFm11oGDW1Gwrp4AR4Ifv9X8Yix6uF9ZBFJ76+M="
},
{
"name": "2008-i915-4-lane-quirk-for-mbp15-1.patch",
"hash": "sha256-lZ7MWXZubmAlJCqBmuzueg7agENJbikxP1SE46SmwNw="
"hash": "sha256-gTYP7WHV/Qulobdi1nNdYsv1CWgkM8pGvsCFQ+rvhrw="
},
{
"name": "2009-apple-gmux-allow-switching-to-igpu-at-probe.patch",
"hash": "sha256-XKwlyJZjJLQz39mc0/S7sPnRnwrqMsq9OKy+QCO+oho="
"hash": "sha256-6i+fh/Ifle0di5/tMOdMm0NMkEmeUb17hYM/g2j2dfI="
},
{
"name": "3001-applesmc-convert-static-structures-to-drvdata.patch",
"hash": "sha256-7KGC0pCos351wKNhwJI/Qoc7w+orOPpiTkdCN50G8nI="
"hash": "sha256-c/d+c5eKzhbtfUKtLC7AB+6vMXge4ZzPJAUbNENWH7g="
},
{
"name": "3002-applesmc-make-io-port-base-addr-dynamic.patch",
@@ -83,7 +44,7 @@
},
{
"name": "3005-applesmc-basic-mmio-interface-implementation.patch",
"hash": "sha256-Hh9DymQ+Y74oSs1zv9F0lTU3jfAenKTM+cmFH9tmN9Q="
"hash": "sha256-tnpfmZQw9KQNylpLfGZ+X0IVP79AgeDoTVYF6yUhCRI="
},
{
"name": "3006-applesmc-fan-support-on-T2-Macs.patch",
@@ -103,39 +64,39 @@
},
{
"name": "4001-asahi-trackpad.patch",
"hash": "sha256-NOuGgUxDQEfFPlij/EnhWmgqeG3/l+j+r2T1YJG7raY="
},
{
"name": "4002-HID-quirks-remove-T2-devices-from-hid_mouse_ignore_l.patch",
"hash": "sha256-0PMCE3IWHekir5YV1BD6Jakc7dOV6Fj2HfIGWZnXZV0="
"hash": "sha256-2h3TdPsX9HBXx5jkZ2S2GJkjFcdL8vKD1G69iqd9IWg="
},
{
"name": "4003-HID-apple-ignore-the-trackpad-on-T2-Macs.patch",
"hash": "sha256-JTeYtaBqMyTu5IdGb8x7wbP9ZE1rXT4lpEjudR1ySFI="
"hash": "sha256-LLZzcysLTuQrSXWXbdq7AASxfMInQoqpWzRNZAKws9k="
},
{
"name": "4004-HID-magicmouse-Add-support-for-trackpads-found-on-T2.patch",
"hash": "sha256-HcPX7gY3hnlwM/tY06pbtXnch04AqwHgC596E8ZqGY8="
"hash": "sha256-kUnbtl/54cihscirl9kP0Gsot7bdP0rYKlj6gQ10hk0="
},
{
"name": "4005-HID-apple-Add-necessary-IDs-and-support-for-replacem.patch",
"hash": "sha256-SRKESCbpxSYm7U0VyCmvkmT/er6/GEHhwo8tgJDO6mQ="
"name": "5001-HID-appletb-kbd-add-option-to-switch-default-layer-o.patch",
"hash": "sha256-KV5DTjALzNugs92Jum6VUt0wgblK/6PG1KorovHcIX0="
},
{
"name": "4006-HID-magicmouse-Add-MacBookPro15-1-replacement-trackp.patch",
"hash": "sha256-uAlT/4ADwYyKvbuPQaGwqCjZ2/myruC63etVV6cfFLk="
"name": "5002-drm-appletbdrm-Add-suspend-and-resume-support.patch",
"hash": "sha256-NFa5ZpNguUC9ELfphvCrVHEh59tN/ZA9vQl6YD1avbI="
},
{
"name": "7001-drm-i915-fbdev-Discard-BIOS-framebuffers-exceeding-h.patch",
"hash": "sha256-O6RHFxmKZn7aCq1D+r5z2T3jLt0r5+01EABD9rs0E5M="
"hash": "sha256-/EKN7JsAxcpAgfJFtPp2NLYaGqQ0kl8wjJEXifSzJpY="
},
{
"name": "7002-drm-amdgpu-reset-VI-ASIC-on-MacBookPro15-1.patch",
"hash": "sha256-lLruG4lJAI6fI94w2LzHmrbspXArrq+rbI/SJmhwXqo="
},
{
"name": "8001-Add-APFS-driver.patch",
"hash": "sha256-O3RNtpeZQENPEfyYi/0ZTLhAWBAw6pmxMS30NUxOTdk="
"hash": "sha256-fL9TftzTd5PurxIDrzaPsysGExrMySGOsm6H8NFd7JY="
},
{
"name": "8002-Necessary-modifications-to-build-APFS-with-the-kerne.patch",
"hash": "sha256-n1SH5vC//LRJdWOavH9/BHqBTjkUj5f+dFGitSeHksw="
"hash": "sha256-zCTetF2NPhMH2BknPumhPz2sf26X9Lcra7xCA3R2WMY="
}
]
}
+33 -7
View File
@@ -15,21 +15,26 @@ API_BASE = "https://api.github.com"
PATCH_PATTERN = re.compile(r"^\d{4}-.*\.patch$")
parser = argparse.ArgumentParser(
description="Update linux-t2 patches from a GitHub repository."
description="Update linux-t2 patches from a GitHub repository.",
epilog='''
If both --branch and --reference flags are given, the argument of --reference will be used to fetch the Git
revision for patches and --branch as the kernel branch.
If only --branch is given, the argument will be used for both resolving the Git ref and the kernel branch.
''',
)
parser.add_argument("filename", help="the output filename")
parser.add_argument(
"--repository",
help="the source github repository",
help="the source github repository (default: %(default)s)",
default="t2linux/linux-t2-patches",
nargs="?",
)
ref_group = parser.add_mutually_exclusive_group()
ref_group.add_argument(
parser.add_argument(
"--reference", help="the git reference for the patches", default=None, nargs="?"
)
ref_group.add_argument(
"--branch", help="the git branch to fetch", default=None, nargs="?"
parser.add_argument(
"--branch", help="the kernel branch to fetch (default: latest, example: 6.18)", default=None, nargs="?"
)
@@ -62,6 +67,27 @@ def main():
reference = args.reference
branch = args.branch
print("Fetching kernel releases")
releases = requests.get("https://kernel.org/releases.json").json()['releases']
match = None
patched_url = ""
if not branch:
print("Branch not provided, fetching latest non-mainline kernel version")
# if the json schema changes this script would break, hopefully won't happen
match = next(filter(lambda x: x["moniker"] != "mainline", releases), None)
else:
match = next(filter(lambda x: x["version"].startswith(branch), releases), None)
if not match:
print(f"ERROR: could not find a kernel release for branch {branch}.")
return 1
patched_url = match['source'].replace('https://cdn.kernel.org/pub', 'mirror://kernel')
release_hash = subprocess.check_output(["nix-prefetch-url", "--type", "sha256", patched_url]).decode().strip()
print(f" Kernel: {match['version']}")
print(f" URL: {patched_url}")
print(f" Hash: sha256:{release_hash}")
kernel = {"version": match["version"], "url": patched_url, "hash": f"sha256:{release_hash}"}
if reference is None:
if branch is None:
print("Branch and reference not provided, fetching default branch")
@@ -85,7 +111,7 @@ def main():
for future in as_completed(futures):
patches_with_hash.append(future.result())
result = {"base_url": base_url, "patches": sorted(patches_with_hash, key=lambda p: p["name"])}
result = {"base_url": base_url, "kernel": kernel, "patches": sorted(patches_with_hash, key=lambda p: p["name"])}
with open(args.filename, "w+") as f:
json.dump(result, f, indent=2)
+44
View File
@@ -0,0 +1,44 @@
# ASRock Rack ALTRAD8UD-1L2T
This is a popular motherboard for the [Ampere Altra](https://amperecomputing.com/briefs/ampere-altra-family-product-brief) family of CPUs.
It is used in for example the [System76 Thelio Astra](https://system76.com/desktops/thelio-astra-a1.1-n1/configure)
```shellsession
$ pciutils -nn
0000:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
0000:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
0001:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
0001:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
0002:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
0002:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
0002:00:02.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a1 [1def:e102] (rev 04)
0002:00:03.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a2 [1def:e103] (rev 04)
0002:00:04.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a3 [1def:e104] (rev 04)
0002:01:00.0 Non-Volatile memory controller [0108]: Sandisk Corp WD Black SN850X NVMe SSD [15b7:5030] (rev 01)
0003:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
0003:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
0003:00:02.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a1 [1def:e102] (rev 04)
0003:00:03.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a2 [1def:e103] (rev 04)
0003:00:04.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a3 [1def:e104] (rev 04)
0003:01:00.0 PCI bridge [0604]: ASRock Incorporation Device [1849:1150] (rev 04)
0003:02:00.0 VGA compatible controller [0300]: ASPEED Technology, Inc. ASPEED Graphics Family [1a03:2000] (rev 41)
0003:03:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller X550 [8086:1563] (rev 01)
0003:03:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Controller X550 [8086:1563] (rev 01)
0003:04:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM3042 USB 3.2 Gen 1 xHCI Controller [1b21:3042]
0003:05:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
0004:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
0004:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
0005:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
0005:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
000c:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
000c:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
000c:00:02.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a1 [1def:e102] (rev 04)
000c:00:03.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a2 [1def:e103] (rev 04)
000c:00:04.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a3 [1def:e104] (rev 04)
000d:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
000d:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
000d:00:02.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a1 [1def:e102] (rev 04)
000d:00:03.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a2 [1def:e103] (rev 04)
000d:00:04.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a3 [1def:e104] (rev 04)
```
+10
View File
@@ -0,0 +1,10 @@
{
imports = [ ../../common/networking/intel/x550 ];
boot.initrd.availableKernelModules = [
"xhci_pci"
"usb_storage"
"nvme"
];
nixpkgs.hostPlatform = "aarch64-linux";
}
+4
View File
@@ -31,10 +31,14 @@ in
wantedBy = [
"local-fs.target"
"suspend.target"
"suspend-then-hibernate.target"
"hibernate.target"
];
after = [
"local-fs.target"
"suspend.target"
"suspend-then-hibernate.target"
"hibernate.target"
];
description = "Set the battery charge threshold to ${toString cfg.chargeUpto}%";
startLimitBurst = 5;
-1
View File
@@ -26,7 +26,6 @@
services = {
asusd = {
enable = lib.mkDefault true;
enableUserService = lib.mkDefault true;
};
supergfxd.enable = lib.mkDefault true;
};
+74
View File
@@ -0,0 +1,74 @@
# ASUS TUF A15 FA506NC
- GPU switching to the nvidia card works fine through supergfxd.
- Power profiles autoswitch through asusctl in tandem with power-profiles-daemon.
- The batter charge limit configuration through ../battery.nix did not work,
setting a limit through asusd works.
## Configuring AsusCTL
To declaratively configure asusd you can control the whole config file through
the asusd service (same for fan curves and keyboard leds):
```nix
services.asusd.asusdConfig.text = ''
(
charge_control_end_threshold: 80,
base_charge_control_end_threshold: 80,
disable_nvidia_powerd_on_battery: true,
ac_command: "",
bat_command: "",
platform_profile_linked_epp: true,
platform_profile_on_battery: Quiet,
change_platform_profile_on_battery: true,
platform_profile_on_ac: Performance,
change_platform_profile_on_ac: true,
profile_quiet_epp: Power,
profile_balanced_epp: BalancePower,
profile_custom_epp: Performance,
profile_performance_epp: Performance,
ac_profile_tunings: {
Performance: (
enabled: false,
group: {},
),
Quiet: (
enabled: false,
group: {},
),
Balanced: (
enabled: false,
group: {},
),
},
dc_profile_tunings: {
Quiet: (
enabled: false,
group: {},
),
Balanced: (
enabled: false,
group: {},
),
Performance: (
enabled: false,
group: {},
),
},
armoury_settings: {},
)
'';
```
Here you can set the battery charge limit and other settings like which profile to
use on batter and which on power.
## More optimizations
You may also want to enable thermald and powertop for the optimizations mentioned in
https://wiki.nixos.org/wiki/Laptop.
```nix
services.thermald.enable = true;
powerManagement.powertop.enable = true;
```
+32
View File
@@ -0,0 +1,32 @@
{ lib, ... }:
{
imports = [
../../common/cpu/amd
../../common/cpu/amd/pstate.nix
../../common/gpu/amd
../../common/gpu/nvidia/prime.nix
../../common/gpu/nvidia/ampere
../../common/pc/laptop
../../common/pc/ssd
];
hardware.nvidia = {
dynamicBoost.enable = lib.mkDefault true;
prime = {
amdgpuBusId = "PCI:5:0:0";
nvidiaBusId = "PCI:1:0:0";
};
};
# AMD has better battery life with PPD over TLP:
# https://community.frame.work/t/responded-amd-7040-sleep-states/38101/13
services.power-profiles-daemon.enable = lib.mkDefault true;
services = {
# https://asus-linux.org/manual/asusctl-manual/
asusd.enable = lib.mkDefault true;
supergfxd.enable = lib.mkDefault true;
};
}
+1 -1
View File
@@ -34,11 +34,11 @@
services = {
asusd = {
enable = lib.mkDefault true;
enableUserService = lib.mkDefault true;
};
};
hardware.nvidia = {
powerManagement.enable = lib.mkDefault true;
modesetting.enable = lib.mkDefault true;
open = lib.mkDefault false;
nvidiaSettings = lib.mkDefault true;
+27
View File
@@ -0,0 +1,27 @@
{ lib, ... }:
{
imports = [
../../common/cpu/amd
../../common/cpu/amd/pstate.nix
../../common/gpu/amd
../../common/gpu/nvidia/prime.nix
../../common/gpu/nvidia/ampere
../../common/pc/laptop
../../common/pc/ssd
];
hardware.nvidia = {
dynamicBoost.enable = lib.mkDefault true;
prime = {
amdgpuBusId = "PCI:6:0:0";
nvidiaBusId = "PCI:1:0:0";
};
};
services = {
asusd.enable = lib.mkDefault true;
supergfxd.enable = lib.mkDefault true;
};
}
-2
View File
@@ -11,7 +11,6 @@ let
mkEnableOption
mkIf
mkMerge
version
versionAtLeast
;
@@ -61,7 +60,6 @@ in
services = {
asusd = {
enable = mkDefault true;
enableUserService = mkDefault true;
};
supergfxd.enable = mkDefault true;
+80
View File
@@ -0,0 +1,80 @@
{
config,
pkgs,
lib,
...
}:
let
inherit (lib)
mkDefault
mkMerge
;
in
{
imports = [
../../../common/cpu/intel/raptor-lake
../../../common/gpu/intel/raptor-lake
../../../common/gpu/nvidia/ada-lovelace
../../../common/gpu/nvidia/prime.nix
../../../common/pc/laptop
../../../common/pc/ssd
];
config = mkMerge [
{
# Configure basic system settings:
boot = {
blacklistedKernelModules = [ "nouveau" ];
kernelModules = [ "kvm-intel" ];
kernelParams = [
"mem_sleep_default=deep"
"pcie_aspm.policy=powersupersave"
"nvidia-drm.modeset=1"
"nvidia-drm.fbdev=1"
];
};
services = {
asusd = {
enable = mkDefault true;
};
supergfxd.enable = mkDefault true;
};
#flow devices are 2 in 1 laptops
hardware.sensor.iio.enable = mkDefault true;
hardware = {
nvidia = {
modesetting.enable = true;
nvidiaSettings = mkDefault true;
forceFullCompositionPipeline = mkDefault true;
prime = {
offload = {
enable = mkDefault true;
enableOffloadCmd = mkDefault true;
};
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
powerManagement = {
enable = mkDefault true;
finegrained = mkDefault false;
};
dynamicBoost.enable = mkDefault true;
};
};
}
];
}
+17
View File
@@ -0,0 +1,17 @@
{ lib, ... }:
{
imports = [
../../../common/cpu/amd
../../../common/cpu/amd/pstate.nix
../../../common/gpu/amd
../../../common/pc/laptop
../../../common/pc/ssd
../../../common/hidpi.nix
../../battery.nix
];
hardware.enableRedistributableFirmware = lib.mkDefault true;
security.tpm2.enable = lib.mkDefault true;
hardware.sensor.iio.enable = lib.mkDefault true;
}
+77
View File
@@ -0,0 +1,77 @@
{
config,
pkgs,
lib,
...
}:
{
imports = [
../default.nix
# no effect at Linux 7.2 as patches are merged
./tas2783-kernel-patches.nix
];
assertions = [
{
assertion = lib.versionAtLeast config.boot.kernelPackages.kernel.version "7.0";
message = "ASUS ProArt PX13 (HN7306EAC) hardware requires Linux ≥ 7.0 (current ${config.boot.kernelPackages.kernel.version})";
}
];
hardware = {
alsa.enablePersistence = lib.mkDefault true;
firmware = lib.optional (lib.versionOlder pkgs.linux-firmware.version "20260519") (
pkgs.callPackage ./tas2783-firmware.nix { }
);
};
environment.etc = {
"alsa/ucm2/codecs/tas2783/init.conf".source = ./ucm2/codecs/tas2783/init.conf;
"alsa/ucm2/sof-soundwire/acp-dmic.conf".source = ./ucm2/sof-soundwire/acp-dmic.conf;
"alsa/ucm2/sof-soundwire/tas2783.conf".source = ./ucm2/sof-soundwire/tas2783.conf;
"alsa/ucm2/sof-soundwire/sof-soundwire.conf".source = ./ucm2/sof-soundwire/sof-soundwire.conf;
};
# WirePlumber config for TAS2783 smart amp speakers.
# UCM doesn’t expose a Speakers port for this card, so force pro-audio and
# prevent the speaker sink from suspending (prevents desync on idle).
# Firmware extraction recipe and original config:
# https://gist.github.com/cryptob1/f62aaf8517df2e540f447347f42c7a03
services.pipewire.wireplumber.extraConfig."51-strix-halo-audio" = {
"monitor.alsa.rules" = [
{
matches = [
{ "device.name" = "alsa_card.pci-0000_c4_00.5-platform-amd_sdw"; }
];
actions."update-props" = {
"device.profile" = "pro-audio";
};
}
{
matches = [
{ "node.name" = "alsa_output.pci-0000_c4_00.5-platform-amd_sdw.pro-output-2"; }
];
actions."update-props" = {
"session.suspend-timeout-seconds" = 0;
"node.description" = "Internal Speakers (TAS2783)";
"priority.session" = 2300;
};
}
];
};
# Unmute the TAS2783 once detected.
services.udev.extraRules =
let
amixer = "${lib.getBin pkgs.alsa-utils}/bin/amixer";
in
/* udev */ ''
ACTION=="add", SUBSYSTEM=="sound", ATTR{id}=="sofsoundwire", RUN+="${amixer} -c $attr{number} set 'tas2783-1 Amp Playback Switch' 1"
ACTION=="add", SUBSYSTEM=="sound", ATTR{id}=="amdsoundwire", RUN+="${amixer} -c $attr{number} set 'tas2783-1 Amp' on"
ACTION=="add", SUBSYSTEM=="sound", ATTR{id}=="amdsoundwire", RUN+="${amixer} -c $attr{number} set 'tas2783-2 Amp' on"
ACTION=="add", SUBSYSTEM=="sound", ATTR{id}=="amdsoundwire", RUN+="${amixer} -c $attr{number} set 'tas2783-1 Speaker' on"
ACTION=="add", SUBSYSTEM=="sound", ATTR{id}=="amdsoundwire", RUN+="${amixer} -c $attr{number} set 'tas2783-2 Speaker' on"
'';
}
@@ -0,0 +1,21 @@
diff --git a/sound/soc/codecs/tas2783-sdw.c b/sound/soc/codecs/tas2783-sdw.c
--- a/sound/soc/codecs/tas2783-sdw.c
+++ b/sound/soc/codecs/tas2783-sdw.c
@@ -1120,7 +1120,7 @@ static void tas_generate_fw_name(struct sdw_slave *slave, char *name, size_t siz
for (; dev; dev = dev->parent) {
if (dev->bus == &pci_bus_type) {
pci = to_pci_dev(dev);
- scnprintf(name, size, "%04X-%1X-%1X.bin",
+ scnprintf(name, size, "%04X-%1X-0x%X.bin",
pci->subsystem_device, bus->link_id, unique_id);
pci_found = true;
break;
@@ -1129,7 +1129,7 @@ static void tas_generate_fw_name(struct sdw_slave *slave, char *name, size_t siz
#endif
if (!pci_found)
- scnprintf(name, size, "tas2783-%1X-%1X.bin",
+ scnprintf(name, size, "tas2783-%1X-0x%X.bin",
bus->link_id, unique_id);
}
@@ -0,0 +1,40 @@
{
lib,
stdenvNoCC,
fetchurl,
icoutils,
p7zip,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "asus-px13-tas2783-firmware";
version = "6.3.1.15";
src = fetchurl {
url = "https://dlcdnets.asus.com/pub/ASUS/nb/Image/Driver/Audio/47519/SmartAMP_TI_DCH_TexasInstruments_Z_V${finalAttrs.version}_47519.exe?model=HN7306EAC";
hash = "sha256-hyiDV5W+Rn05xyG2JF5uA41E/L8NDklxjvRctE64o84=";
};
nativeBuildInputs = [
icoutils
p7zip
];
unpackPhase = ''
wrestool -x --raw -t ZIP -n 103 "$src" > driver.7z 2>/dev/null
7z x driver.7z -ozip_out -y >/dev/null 2>&1
'';
installPhase = ''
install -D -m 644 $(find zip_out -name "1714-1-0x8.bin" | head -1) $out/lib/firmware/1714-1-0x8.bin
install -D -m 644 $(find zip_out -name "1714-1-0xB.bin" | head -1) $out/lib/firmware/1714-1-0xB.bin
'';
meta = {
description = "TAS2783 Smart Amp firmware for ASUS ProArt PX13 HN7306EAC";
homepage = "https://www.asus.com/support/download/HN7306EAC/";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = with lib.licenses; [ unfreeRedistributableFirmware ];
platforms = [ "x86_64-linux" ];
};
})
@@ -0,0 +1,46 @@
{
config,
pkgs,
lib,
...
}:
# See CachyOS’s discussion:
# https://github.com/CachyOS/linux-cachyos/issues/737
let
mkPatch = name: hash: {
inherit name;
patch = pkgs.fetchpatch {
inherit name;
url = "https://aur.archlinux.org/cgit/aur.git/plain/${name}.patch?h=linux-cachyos-px13";
inherit hash;
};
};
in
{
boot.kernelPatches =
lib.optionals (lib.versionOlder config.boot.kernelPackages.kernel.version "7.2")
[
(mkPatch "0001-ALSA-tas2783-sdw-add-Playback-to-volume-control" "sha512-IdIy81PXtmQAQ+MVChYDYkoa5RDhQwP2L5efN8cz+tST3nM0Oc0x4SJ4sBnVL7QDJc/WBB0OEnFfTkEt9Id+cQ==")
(mkPatch "0002-Names-to-match-snd_soc_dai_driver-playback-capturest" "sha512-SrCgzceh3rhyYz5tNWHY2jNWyG/qgmU7ZVLtV71iir8HwOrSES7JsunV2E7mb8R66dShY+loV8ovNeMkyuDB7w==")
(mkPatch "0003-removed-unused-fields" "sha512-mWKqFg8AG00TE3oPy5usPPxWf6aIvhxMLDGI+/0+vvjBIFwWv6qh9jSUeid6CAKgAcluPSA8Sag4ESguCeinyw==")
(mkPatch "0004-SOC_SINGLE_RANGE_TLV-uses-snd_soc_get_volsw-snd_soc_" "sha512-G51v725q17UHvfPg4H8V92eSbZ5lcuiF97Zt1EbAtuwrhXefeaZy+hl79sSpVlzzY8pvzIwf6wodAuvp44M01A==")
(mkPatch "0005-dev_set_drvdata-already-called-intas_sdw_probe" "sha512-zk+rKZ/l0oB7JdABtb89x6tUzggP99TSy+3cr+q6QjZFdjGsLPXHxre0YACuKBNx6+JazZE/zEilIvahS4wOLQ==")
(mkPatch "0006-refactor-setting-sa_func_data" "sha512-8djgIJV1LCzDhFLFn/PNfDkE+U0mh2h4Rm2LJMeLUYKQlwzgPMbICh5B3HhCgEVTaUd54OGOSFEf0i6AIm2SIQ==")
(mkPatch "0007-check-AF01-for-init-data" "sha512-gjpdnJDzve37MnyVE52+E9sRkXF9+HtA4XTrBZQiV8ozFwWgIzhO2ZDKSpWbE/kd23PdaUcKX/fPj3J7ZD5YqA==")
(mkPatch "0008-setup-ports" "sha512-uuDa92VXlCsszswv8PHcDbbyfseL6Jt7DWPc5ajG1WSM/FGojRIbbl/2smQyGfE2jPquy5GQfJps7k1cRfpl8w==")
(mkPatch "0009-Already-set-by-SOC_SINGLE_RANGE_TLV-Speaker-Playback" "sha512-qBveCsmwezD13oWF5jBlUybdns5OsDDZji0y0smaKWi9GPAvhw/v66WUnEyC77UF1mvq+OyrWpA4yXwxAFza3Q==")
(mkPatch "0010-control-to-set-channel" "sha512-pL8Ol1ml2QhyKnzZvD+oTaVUPyqOO49uuiEUzyKdnskFwVH+jIluY3IDsmzWv5wTg/9D+CTGC4J8gW55xKwWfg==")
(mkPatch "0011-mute-unmute-using-SND_SOC_DAPM_SWITCH" "sha512-6aB8mBACTIQxU7CTrpR3UXJFdR4KbUOT9/AymyGiuV/9PfWdXZoW/0A09SHFptxRwCv4FG5tZSDZRtKvvYNQdQ==")
(mkPatch "0012-use-SND_SOC_DAPM_REG-to-power-on-off" "sha512-mJ93TxZQ1GuDGar0/6tBd/dlJ3B/41AVhRsViuSaEhykPC4NlIAOWaN9eJj4bxjEEyEQ3REfjHXVnJ3wdCRK9w==")
(mkPatch "0013-reattach-after-resume" "sha512-OdkYPzRDkd4FCd1OTOAfRrQW6JQ9D3Opic/X+sg+pLNGoEEXfph/sLXVYGo9u6DGPJndQZNrXyS4qhJMGPWVMw==")
(mkPatch "0014-defer-check" "sha512-ABSrwsOB+KU39LMxh3N47Ji+edhu5rDQMKMi5rEVXtCU8W56qANpU+ui+bJmOLYyq8c9H1qme+b5nQ6u9zv01w==")
(mkPatch "0015-to-help-alsa-find-them" "sha512-gVJ+0ZO9Oz15/rC08moVSlVglbishJctjH5SnDdI8m3s9hkEY56o8v+R/PlRS3rL+mOa9q3VuO5J40+LrcxDKw==")
(mkPatch "0016-cleanup-controls" "sha512-Jkp7kdi0FmVMlBL/VVzq7hYkCmKoELO0epnExP7ggQuopCzRbVpUQ3giMlj10O69aUBZJ4z3gaMkb1HTYjIXmA==")
# Upstream linux-firmware took a different naming approach to the original patches
{
name = "0017-fix-tas2783-fw-name-0x";
patch = ./fix-tas2783-fw-name-0x.patch;
}
];
}
@@ -0,0 +1,42 @@
# TAS2783 specific switch control settings
Define.SpeakerMixerElem "tas2783-1 Speaker Playback"
If.twoAmpsStereoToOne {
Condition {
Type RegexMatch
Regex "2"
String "${var:SpeakerAmps}"
}
True {
Define.SpeakerMixerElem "tas2783 Speaker"
LibraryConfig.remap.Config {
ctl.default.map {
"name='tas2783 Speaker Playback Switch'" {
"name='tas2783-1 Speaker Playback Switch'".vindex.0 0
"name='tas2783-2 Speaker Playback Switch'".vindex.1 0
}
"name='tas2783 Speaker Playback Volume'" {
"name='tas2783-1 Speaker Playback Volume'".vindex.0 0
"name='tas2783-2 Speaker Playback Volume'".vindex.1 0
}
}
}
}
}
If.oneAmp {
Condition {
Type ControlExists
Control "name='tas2783-1 Speaker Playback Switch'"
}
True.Macro[{ SetLED { LED="speaker" Action="attach" CtlId="tas2783-1 Speaker Playback Switch" } }]
}
If.twoAmps {
Condition {
Type ControlExists
Control "name='tas2783-2 Speaker Playback Switch'"
}
True.Macro[{ SetLED { LED="speaker" Action="attach" CtlId="tas2783-2 Speaker Playback Switch" } }]
}
@@ -0,0 +1,8 @@
SectionDevice."Mic" {
Comment "Digital Microphone"
Value {
CapturePriority 100
CapturePCM "hw:${CardId},4"
}
}
@@ -0,0 +1,206 @@
Syntax 7
SectionUseCase."HiFi" {
File "/sof-soundwire/HiFi.conf"
Comment "Play HiFi quality Music"
}
Include.led.File "/common/ctl/led.conf"
Include.card-init.File "/lib/card-init.conf"
Include.ctl-remap.File "/lib/ctl-remap.conf"
Define {
SpeakerCodec1 ""
SpeakerChannels1 "2"
SpeakerAmps1 "0"
HeadsetCodec1 ""
MicCodec1 ""
Mics1 "0"
Iec61937Pcms1 ""
MultiCodec1 ""
}
DefineRegex {
SpeakerCodec {
Regex " spk:([a-z0-9]+((-sdca)|(-spk)|(-bridge))?(\\+[a-z0-9]+)?)"
String "${CardComponents}"
}
SpeakerChannels {
Regex " cfg-spk:([0-9]+)"
String "${CardComponents}"
}
SpeakerAmps {
Regex " cfg-amp:([0-9]+)"
String "${CardComponents}"
}
HeadsetCodec {
Regex " hs:([a-z0-9]+(-sdca)?)"
String "${CardComponents}"
}
MicCodec {
Regex " mic:([a-z0-9]+(-dmic)?+(-sdca)?)"
String "${CardComponents}"
}
Mics {
Regex " cfg-mics:([1-9][0-9]*)"
String "${CardComponents}"
}
Iec61937Pcms {
Regex "iec61937-pcm:(([0-9]+(,))*[0-9]+)"
String "${CardComponents}"
}
MultiCodec {
Regex "(rt712|rt713|rt721|rt722)"
String "${var:SpeakerCodec1} ${var:HeadsetCodec1} ${var:MicCodec1}"
}
}
If.multi_init {
Condition {
Type String
Empty "${var:MultiCodec1}"
}
False {
Define {
MultiSpeakerShadow "${var:SpeakerCodec1}"
MultiMicShadow "${var:MicCodec1}"
}
Include.multi_init.File "/codecs/${var:MultiCodec1}/init.conf"
}
}
If.multi_speaker {
Condition {
Type RegexMatch
# guard with "=" to avoid empty string matching
Regex "=(${var:MultiCodec1}(-sdca)?)="
String "=${var:SpeakerCodec1}="
}
True {
Define.SpeakerCodec1 ""
}
}
If.multi_mic {
Condition {
Type RegexMatch
# guard with "=" to avoid empty string matching
Regex "=(${var:MultiCodec1}(-sdca)?)="
String "=${var:MicCodec1}="
}
True {
Define.MicCodec1 ""
}
}
If.multi_headset {
Condition {
Type RegexMatch
# guard with "=" to avoid empty string matching
Regex "=(${var:MultiCodec1}(-sdca)?)="
String "=${var:HeadsetCodec1}="
}
True {
Define.HeadsetCodec1 ""
}
}
If.spk_init {
Condition {
Type RegexMatch
Regex "(rt1318(-1)?|cs35l56(-bridge)?|tas2783(-1)?)"
String "${var:SpeakerCodec1}"
}
True.Include.spk_init.File "/codecs/${var:SpeakerCodec1}/init.conf"
}
If.hs_init {
Condition {
Type RegexMatch
Regex "(cs42l43|cs42l45|rt5682|rt700|rt711|rt713(-sdca)?)"
String "${var:HeadsetCodec1}"
}
True.Include.hs_init.File "/codecs/${var:HeadsetCodec1}/init.conf"
}
If.mic_init {
Condition {
Type RegexMatch
Regex "(cs42l43-dmic|cs42l45-dmic|rt712-dmic|rt713-dmic|rt715(-sdca)?)"
String "${var:MicCodec1}"
}
True.Include.mic_init.File "/codecs/${var:MicCodec1}/init.conf"
}
If.mic_init_rt715 {
Condition {
Type String
Needle "rt715"
Haystack "${var:MicCodec1}"
}
True.Macro [{ SetLED { LED="mic" Action="detach" CtlId="PGA5.0 5 Master Capture Switch" } }]
}
If.pga_init_pga2 {
Condition {
Type ControlExists
Control "name='PGA2.0 2 Master Capture Switch'"
}
True.BootSequence [
cset "name='PGA2.0 2 Master Capture Switch' 1"
]
}
If.pga_init_pga5 {
Condition {
Type ControlExists
Control "name='PGA5.0 5 Master Capture Switch'"
}
True.BootSequence [
cset "name='PGA5.0 5 Master Capture Switch' 1"
]
}
If.mics-array {
Condition {
Type String
Empty "${var:Mics1}"
}
False.FixedBootSequence [
# dmic array info
exec "-nhlt-dmic-info -o ${var:LibDir}/dmics-nhlt.json"
]
}
Include.hdmi-pcm.File "/common/pcm/hdmi.conf"
Macro.0.HdmiDevice { Iec61937Devices "${var:Iec61937Pcms1}" Dev 5 Idx 0 }
Macro.1.HdmiDevice { Iec61937Devices "${var:Iec61937Pcms1}" Dev 6 Idx 1 }
Macro.2.HdmiDevice { Iec61937Devices "${var:Iec61937Pcms1}" Dev 7 Idx 2 }
If.HdmiIec61937 {
Condition {
Type RegexMatch
Regex "((^|,)[567](,|$))"
String "${var:Iec61937Pcms1}"
}
True.Macro.save_hdmi_cfg.HdmiPCMSave { Name "42-sof-hdmi" }
}
# Define macros to set up processing controls
Include.dsp-variables.File "/Intel/sof-hda-dsp/dsp.conf"
# Set BootSequence and FixedBootSequence for drc, eqiir, eqfir
Macro.SpeakerDrc.SofDrcBootSetup "endpoint='PostMixerSpeaker' direction='Playback'"
Macro.SpeakerIir.SofEqBootSetup "endpoint='PostMixerSpeaker' direction='Playback' eqtype='Iir'"
Macro.SpeakerFir.SofEqBootSetup "endpoint='PostMixerSpeaker' direction='Playback' eqtype='Fir'"
# Set BootSequence and FixedBootSequence for Mic array eqiir, tdfb, drc
Macro.MicArrayIir.SofEqBootSetup "endpoint='MicArray' direction='Capture' eqtype='Iir'"
Macro.MicArrayDrc.SofDrcBootSetup "endpoint='MicArray' direction='Capture'"
Macro.MicarrayTdfb.SofBeamformerBootSetup "endpoint='MicArray' direction='Capture'"
# For SoundWire PC with PCH-DMIC set BootSequence and FixedBootSequence for eqiir, tdfb, drc
Macro.Dmic0ArrayIir.SofEqBootSetup "endpoint='Dmic0' direction='Capture' eqtype='Iir'"
Macro.Dmic0ArrayDrc.SofDrcBootSetup "endpoint='Dmic0' direction='Capture'"
Macro.Dmic0ArrayTdfb.SofBeamformerBootSetup "endpoint='Dmic0' direction='Capture'"
@@ -0,0 +1,43 @@
# TAS2783 Use case Configuration for sof-soundwire card
#
# Arguments:
# ForAmps - regex filter for var:SpeakerAmps
# Amp - amplifier number (1,2 etc.)
#
DefineMacro.tas2783spk.If.0 {
Condition {
Type RegexMatch
Regex "${var:__ForAmps}"
String "${var:SpeakerAmps}"
}
True {
EnableSequence [
cset "name='tas2783-${var:__Amp} Amp Playback Switch' 1"
cset "name='tas2783-${var:__Amp} Speaker Playback Switch' 1"
]
DisableSequence [
cset "name='tas2783-${var:__Amp} Amp Playback Switch' 0"
cset "name='tas2783-${var:__Amp} Speaker Playback Switch' 0"
]
}
}
SectionDevice."Speaker" {
Comment "Speaker"
EnableSequence [
# cset "name='tas2783 Speaker Playback Switch' on"
]
DisableSequence [
# cset "name='tas2783 Speaker Playback Switch' off"
]
Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId},2"
PlaybackMixer "default:${CardId}"
PlaybackMixerElem "${var:SpeakerMixerElem}"
}
}
+16
View File
@@ -0,0 +1,16 @@
{ ... }:
{
imports = [
../../common/cpu/intel/skylake
../../common/gpu/nvidia/maxwell
../../common/gpu/nvidia/prime.nix
../../common/pc/laptop
../../common/pc/ssd
];
hardware.nvidia.prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
}
+18
View File
@@ -0,0 +1,18 @@
{ ... }:
{
imports = [
../../../common/cpu/amd
../../../common/cpu/amd/pstate.nix
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/ampere
../../../common/pc/laptop
../../../common/pc/ssd
../../battery.nix
];
hardware.nvidia.prime = {
amdgpuBusId = "PCI:6:0:0";
nvidiaBusId = "PCI:1:0:0";
};
}
+36
View File
@@ -0,0 +1,36 @@
{ lib, ... }:
let
inherit (lib) mkDefault;
in
{
imports = [
../../../common/cpu/amd
../../../common/cpu/amd/pstate.nix
# iGPU
../../../common/gpu/amd
# dGPU
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/ampere
../../../common/pc/laptop
../../../common/pc/ssd
../../battery.nix
];
hardware.nvidia = {
dynamicBoost.enable = mkDefault true;
powerManagement = {
enable = mkDefault true;
finegrained = mkDefault true;
};
prime = {
amdgpuBusId = "PCI:1:0:0";
nvidiaBusId = "PCI:101:0:0";
};
};
}
+1 -1
View File
@@ -12,7 +12,7 @@ Configuration for the ScreenPad is unable to be provided here at this time, due
inputs = {
nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-unstable";
url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz";
};
screenpad-driver={
+38
View File
@@ -0,0 +1,38 @@
{ lib, ... }:
{
imports = [
../../../common/cpu/amd
../../../common/cpu/amd/pstate.nix
../../../common/gpu/amd
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/turing
../../../common/pc/laptop
../../../common/pc/ssd
];
hardware.nvidia = {
# Enable DRM kernel mode setting
# This will also cause "PCI-Express Runtime D3 Power Management" to be enabled by default
modesetting.enable = lib.mkDefault true;
# Dynamic boost is available on ampere GPUs and newer, not this laptop
dynamicBoost.enable = lib.mkDefault false;
prime = {
amdgpuBusId = "PCI:4:0:0";
nvidiaBusId = "PCI:1:0:0";
};
};
services = {
asusd.enable = lib.mkDefault true;
udev.extraHwdb = ''
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
KEYBOARD_KEY_ff31007c=f20 # fixes mic mute button
KEYBOARD_KEY_ff3100b2=home # Set fn+LeftArrow as Home
KEYBOARD_KEY_ff3100b3=end # Set fn+RightArrow as End
'';
};
}
-10
View File
@@ -1,6 +1,5 @@
{
config,
pkgs,
lib,
...
}:
@@ -11,9 +10,7 @@ let
mkEnableOption
mkIf
mkMerge
version
versionAtLeast
versionOlder
;
cfg = config.hardware.asus.zephyrus.ga402x;
@@ -62,7 +59,6 @@ in
services = {
asusd = {
enable = mkDefault true;
enableUserService = mkDefault true;
};
supergfxd.enable = mkDefault true;
@@ -94,12 +90,6 @@ in
'';
})
(mkIf (versionOlder version "23.11") {
# See https://asus-linux.org/wiki/nixos/ for info about some problems
# detecting the dGPU:
systemd.services.supergfxd.path = [ pkgs.pciutils ];
})
(mkIf (config.networking.wireless.iwd.enable && config.networking.wireless.scanOnLowSignal) {
# Meditek doesn't seem to be quite sensitive enough on the default roaming settings:
# https://wiki.archlinux.org/title/Wpa_supplicant#Roaming
+29
View File
@@ -0,0 +1,29 @@
{ lib, ... }:
{
imports = [
../../../common/cpu/intel
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/blackwell
../../../common/pc/laptop
../../../common/pc/ssd
../shared/backlight.nix
];
hardware.nvidia = {
prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
modesetting.enable = lib.mkDefault true;
dynamicBoost.enable = lib.mkDefault true;
};
services = {
asusd.enable = lib.mkDefault true;
};
services.tuned.enable = true;
services.tlp.enable = lib.mkOverride 500 false;
}
+1 -1
View File
@@ -4,6 +4,6 @@
boot.kernelParams = [
"i915.enable_dpcd_backlight=1"
"nvidia.NVreg_EnableBacklightHandler=0"
"nvidia.NVReg_RegistryDwords=EnableBrightnessControl=0"
"nvidia.NVreg_RegistryDwords=EnableBrightnessControl=0"
];
}
+12
View File
@@ -0,0 +1,12 @@
{
lib,
...
}:
{
# The BPI-SM10 (K3-CoM260) shares the same SoC, firmware and boot flow as the
# K3 Pico-ITX. Only the device tree differs.
imports = [ ../../spacemit/k3-pico-itx ];
hardware.deviceTree.name = lib.mkForce "spacemit/k3-com260-ifx.dtb";
}
+114
View File
@@ -0,0 +1,114 @@
{
config,
lib,
modulesPath,
pkgs,
...
}:
{
imports = [
"${modulesPath}/profiles/base.nix"
"${modulesPath}/installer/sd-card/sd-image.nix"
./default.nix
];
hardware.enableAllHardware = lib.mkForce false;
fileSystems."/" = lib.mkForce {
device = "/dev/disk/by-partlabel/nixos-rootfs";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-label/ESP";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
image.fileName = "${config.image.baseName}-${config.system.nixos.label}-${pkgs.stdenv.hostPlatform.system}-bpi-sm10.img";
sdImage = {
expandOnBoot = true;
firmwarePartitionOffset = 12;
firmwarePartitionName = "ESP";
firmwareSize = 256;
populateFirmwareCommands =
let
systemdBoot = "${pkgs.systemd}/lib/systemd/boot/efi/systemd-bootriscv64.efi";
kernel = "${config.system.build.kernel}/${config.system.boot.loader.kernelFile}";
initrd = "${config.system.build.initialRamdisk}/${config.system.boot.loader.initrdFile}";
dtb = "${config.hardware.deviceTree.package}/${config.hardware.deviceTree.name}";
kernelParams = lib.concatStringsSep " " config.boot.kernelParams;
in
''
mkdir -p firmware/EFI/BOOT firmware/EFI/systemd firmware/EFI/nixos
mkdir -p firmware/loader/entries
cp ${systemdBoot} firmware/EFI/BOOT/BOOTRISCV64.EFI
cp ${systemdBoot} firmware/EFI/systemd/systemd-bootriscv64.efi
cp ${kernel} firmware/EFI/nixos/kernel.efi
cp ${initrd} firmware/EFI/nixos/initrd
cp ${dtb} firmware/EFI/nixos/k3_com260_ifx.dtb
cat > firmware/loader/loader.conf <<EOF
default nixos
timeout 3
console-mode auto
EOF
cat > firmware/loader/entries/nixos.conf <<EOF
title NixOS
linux /EFI/nixos/kernel.efi
initrd /EFI/nixos/initrd
devicetree /EFI/nixos/k3_com260_ifx.dtb
options init=${config.system.build.toplevel}/init ${kernelParams}
EOF
cat > firmware/startup.nsh <<EOF
@echo -off
echo Booting NixOS...
for %i in 0 1 2 3 4 5
if exist FS%i:\EFI\BOOT\BOOTRISCV64.EFI then
FS%i:\EFI\BOOT\BOOTRISCV64.EFI
endif
endfor
EOF
'';
populateRootCommands = "";
postBuildCommands = ''
eval $(${pkgs.util-linux}/bin/partx $img -o START,SECTORS --nr 2 --pairs)
ROOTFS_START=$START
ROOTFS_SECTORS=$SECTORS
truncate -s '+2M' $img
${pkgs.util-linux}/bin/sfdisk $img <<EOF
label: gpt
unit: sectors
sector-size: 512
first-lba: 256
start=1280, size=128, name="env", type=0FC63DAF-8483-4772-8E79-3D69D8477DE4
start=2048, size=256, name="bootinfo", type=0FC63DAF-8483-4772-8E79-3D69D8477DE4
start=3072, size=1024, name="fsbl", type=0FC63DAF-8483-4772-8E79-3D69D8477DE4
start=8192, size=6144, name="esos", type=0FC63DAF-8483-4772-8E79-3D69D8477DE4
start=14336, size=2048, name="opensbi", type=0FC63DAF-8483-4772-8E79-3D69D8477DE4
start=16384, size=8192, name="uboot", type=0FC63DAF-8483-4772-8E79-3D69D8477DE4
start=24576, size=524288, name="ESP", type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B
start=$ROOTFS_START, size=$ROOTFS_SECTORS, name="nixos-rootfs", type=0FC63DAF-8483-4772-8E79-3D69D8477DE4
EOF
dd if=${config.system.build.fsbl}/bootinfo_block.bin of=$img conv=notrunc bs=1M seek=1
dd if=${config.system.build.fsbl}/FSBL.bin of=$img conv=notrunc bs=1024 seek=1536
dd if=${config.system.build.opensbi}/share/opensbi/lp64/generic/firmware/fw_dynamic.itb of=$img conv=notrunc bs=1M seek=7
dd if=${config.system.build.edk2}/edk2.itb of=$img conv=notrunc bs=1M seek=8
'';
};
}
-2
View File
@@ -3,6 +3,4 @@
./cpu-only.nix
../../../gpu/intel/comet-lake
];
hardware.intelgpu.vaapiDriver = "intel-media-driver";
}
+5
View File
@@ -0,0 +1,5 @@
{
imports = [
../cpu-only.nix
];
}
+6
View File
@@ -0,0 +1,6 @@
{
imports = [
./cpu-only.nix
../../../gpu/intel/ice-lake
];
}
-24
View File
@@ -1,24 +0,0 @@
{
lib,
...
}:
{
# Backward-compat for 24.05, can be removed after we drop 24.05 support
imports = lib.optionals (lib.versionOlder lib.version "24.11pre") [
(lib.mkAliasOptionModule [ "hardware" "graphics" "enable" ] [ "hardware" "opengl" "enable" ])
(lib.mkAliasOptionModule
[ "hardware" "graphics" "extraPackages" ]
[ "hardware" "opengl" "extraPackages" ]
)
(lib.mkAliasOptionModule
[ "hardware" "graphics" "extraPackages32" ]
[ "hardware" "opengl" "extraPackages32" ]
)
(lib.mkAliasOptionModule
[ "hardware" "graphics" "enable32Bit" ]
[ "hardware" "opengl" "driSupport32Bit" ]
)
(lib.mkAliasOptionModule [ "hardware" "graphics" "package" ] [ "hardware" "opengl" "package" ])
(lib.mkAliasOptionModule [ "hardware" "graphics" "package32" ] [ "hardware" "opengl" "package32" ])
];
}
+36
View File
@@ -0,0 +1,36 @@
# Flag values from drivers/gpu/drm/amd/include/amd_shared.h
{ config, lib, ... }:
let
flags = {
disablePipeSplit = 1;
disableStutter = 2;
disableDsc = 4;
disableClockGating = 8;
disablePsr = 16;
disableMpo = 64;
disablePsrSu = 512;
disableReplay = 1024;
disableIps = 2048;
};
cfg = config.hardware.amdgpu.dcDebugMask;
mask = lib.foldlAttrs (
acc: name: bit:
if cfg.${name} then lib.bitOr acc bit else acc
) 0 flags;
in
{
options.hardware.amdgpu.dcDebugMask = lib.mapAttrs (
_name: bit:
lib.mkOption {
type = lib.types.bool;
default = false;
description = "Set flag 0x${lib.toHexString bit} in amdgpu.dcdebugmask.";
}
) flags;
config = lib.mkIf (mask != 0) {
boot.kernelParams = [ "amdgpu.dcdebugmask=0x${lib.toHexString mask}" ];
};
}
+2 -1
View File
@@ -1,7 +1,8 @@
{ lib, ... }:
{
imports = [ ../24.05-compat.nix ];
imports = [ ./dc-debug-mask.nix ];
config = {
services.xserver.videoDrivers = lib.mkDefault [ "modesetting" ];
+1 -2
View File
@@ -1,9 +1,8 @@
{ lib, pkgs, ... }:
{
imports = [ ../. ];
hardware.intelgpu = {
computeRuntime = "legacy";
vaapiDriver = "intel-vaapi-driver";
enableHybridCodec = true;
};
+4 -1
View File
@@ -7,5 +7,8 @@
"i915.enable_guc=2"
];
hardware.intelgpu.vaapiDriver = "intel-media-driver";
hardware.intelgpu = {
computeRuntime = "legacy";
vaapiDriver = "intel-media-driver";
};
}
+4 -1
View File
@@ -3,5 +3,8 @@
boot.kernelParams = [ "i915.enable_guc=2" ];
hardware.intelgpu.vaapiDriver = "intel-media-driver";
hardware.intelgpu = {
computeRuntime = "legacy";
vaapiDriver = "intel-media-driver";
};
}
+29 -5
View File
@@ -5,8 +5,6 @@
...
}:
{
imports = [ ../24.05-compat.nix ];
options.hardware.intelgpu = {
driver = lib.mkOption {
description = "Intel GPU driver to use";
@@ -23,6 +21,24 @@
default = true;
};
computeRuntime = lib.mkOption {
description = "intel-compute-runtime variant to use (legacy for Gen8–11, default for Gen12+)";
type = lib.types.enum [
"default"
"legacy"
];
default = "default";
};
mediaRuntime = lib.mkOption {
description = "Intel media runtime to use (Media SDK for Gen8–11, OneVPL for Gen12+)";
type = lib.types.enum [
"vpl-gpu-rt"
"intel-media-sdk"
];
default = "vpl-gpu-rt";
};
vaapiDriver = lib.mkOption {
description = "Intel VAAPI driver to use (use null to use both)";
type = lib.types.nullOr (
@@ -59,8 +75,16 @@
useIntelMediaDriver = cfg.vaapiDriver == "intel-media-driver" || cfg.vaapiDriver == null;
intel-media-driver = pkgs.intel-media-driver;
intel-media-driver-32 = pkgs.driversi686Linux.intel-media-driver;
intel-compute-runtime = pkgs.intel-compute-runtime;
vpl-gpu-rt = pkgs.vpl-gpu-rt or pkgs.onevpl-intel-gpu;
intel-compute-runtime =
if cfg.computeRuntime == "legacy" then
pkgs.intel-compute-runtime-legacy1
else
pkgs.intel-compute-runtime;
intel-media-runtime =
if cfg.mediaRuntime == "vpl-gpu-rt" then
pkgs.vpl-gpu-rt or pkgs.onevpl-intel-gpu
else
pkgs.intel-media-sdk;
in
{
boot.initrd.kernelModules = lib.optionals cfg.loadInInitrd [ cfg.driver ];
@@ -71,7 +95,7 @@
++ lib.optionals useIntelMediaDriver [
intel-media-driver
intel-compute-runtime
vpl-gpu-rt
intel-media-runtime
];
hardware.graphics.extraPackages32 =
+4 -1
View File
@@ -3,5 +3,8 @@
boot.kernelParams = [ "i915.enable_guc=2" ];
hardware.intelgpu.vaapiDriver = "intel-media-driver";
hardware.intelgpu = {
computeRuntime = "legacy";
vaapiDriver = "intel-media-driver";
};
}
+8
View File
@@ -0,0 +1,8 @@
{ config, lib, ... }:
{
imports = [ ../. ];
config = {
boot.kernelParams = lib.mkIf (config.hardware.intelgpu.driver == "i915") [ "i915.enable_guc=3" ];
hardware.intelgpu.vaapiDriver = "intel-media-driver";
};
}
+4 -1
View File
@@ -7,5 +7,8 @@
"i915.enable_psr=2"
];
hardware.intelgpu.vaapiDriver = "intel-media-driver";
hardware.intelgpu = {
computeRuntime = "legacy";
vaapiDriver = "intel-media-driver";
};
}
+1 -2
View File
@@ -1,5 +1,3 @@
{ pkgs, ... }:
{
imports = [ ../. ];
@@ -12,6 +10,7 @@
# NixOS Wiki recommends using the legacy intel-vaapi-driver with the hybrid codec over that one for Skylake.
# https://wiki.nixos.org/wiki/Accelerated_Video_Playback
hardware.intelgpu = {
computeRuntime = "legacy";
vaapiDriver = "intel-vaapi-driver";
enableHybridCodec = true;
};
+10
View File
@@ -0,0 +1,10 @@
{ lib, config, ... }:
let
nvidiaPackage = config.hardware.nvidia.package;
in
{
imports = [ ../. ];
# enable the open source drivers if the package supports it
hardware.nvidia.open = lib.mkOverride 990 (nvidiaPackage ? open && nvidiaPackage ? firmware);
}
-1
View File
@@ -1,6 +1,5 @@
{ lib, ... }:
{
imports = [ ../24.05-compat.nix ];
services.xserver.videoDrivers = lib.mkDefault [ "nvidia" ];
}
+2 -1
View File
@@ -1,7 +1,8 @@
{ lib, ... }:
{ config, lib, ... }:
{
imports = [ ../. ];
# The open source driver does not support Pascal GPUs.
hardware.nvidia.open = false;
hardware.nvidia.package = lib.mkDefault config.boot.kernelPackages.nvidiaPackages.legacy_580;
}
+36
View File
@@ -0,0 +1,36 @@
# The x550 supports 5G but the driver does not enable it by default
# https://forum.proxmox.com/threads/x550-x550-t2-duplex-auto-negotiation.116776/
{
systemd.network.links."80-x550" = {
matchConfig = {
Driver = "ixgbe";
Property = [
"ID_MODEL_ID=0x1563"
"ID_VENDOR_ID=0x8086"
];
};
linkConfig.Advertise = [
"100baset-full"
"1000baset-full"
"2500baset-full"
"5000baset-full"
"10000baset-full"
];
linkConfig.NamePolicy = [
"keep"
"kernel"
"database"
"onboard"
"slot"
"path"
];
linkConfig.AlternativeNamesPolicy = [
"database"
"onboard"
"slot"
"path"
"mac"
];
linkConfig.MACAddressPolicy = "persistent";
};
}
+1 -5
View File
@@ -3,11 +3,7 @@
{
imports = [ ../. ];
# Gnome 40 introduced a new way of managing power, without tlp.
# However, these 2 services clash when enabled simultaneously.
# https://github.com/NixOS/nixos-hardware/issues/260
services.tlp.enable = lib.mkDefault (
(lib.versionOlder (lib.versions.majorMinor lib.version) "21.05")
|| !config.services.power-profiles-daemon.enable
!config.services.power-profiles-daemon.enable && !config.services.tuned.enable
);
}
+80
View File
@@ -0,0 +1,80 @@
# MediaTek MT7925 WiFi 7 / Bluetooth support
#
# The MT7925 is a WiFi 7 (802.11be) + Bluetooth combo chip found in many
# 2024-2025 laptops. It requires specific workarounds for stable operation.
#
# Known issues:
# - Power management causes random disconnections
# - ASPM (Active State Power Management) causes hangs
# - CLC (Country Location Code) causes 6GHz band instability
# - WiFi often fails to reconnect after suspend/resume
# - wpa_supplicant has issues; iwd is recommended
#
# Devices using MT7925:
# - Razer Blade 14 (RZ09-0530) 2025
# - ThinkPad P16s Gen 4
# - Other 2024-2025 laptops with WiFi 7
#
# References:
# - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2118755
# - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2133863
{
lib,
pkgs,
...
}:
{
# ===========================================================================
# Kernel Recommendation
# ===========================================================================
# Kernel 6.18+ is recommended for stable MT7925 operation.
# Earlier kernels may have driver bugs causing disconnections or hangs.
# Set: boot.kernelPackages = pkgs.linuxPackages_latest;
# ===========================================================================
# Kernel Module Parameters
# ===========================================================================
# Disable power management at driver level during module load
boot.extraModprobeConfig = ''
# MT7925 WiFi - disable all power management for stability
options mt7925e disable_aspm=1
options mt7925e power_save=0
# Disable CLC (Country Location Code) - fixes 6GHz band stability
options mt7925-common disable_clc=1
'';
# ===========================================================================
# NetworkManager Configuration
# ===========================================================================
networking.networkmanager.wifi = {
# Disable WiFi power saving (causes disconnections)
powersave = lib.mkDefault false;
# Consistent MAC during scans (randomization causes issues)
scanRandMacAddress = lib.mkDefault false;
};
# ===========================================================================
# Suspend/Resume Fix
# ===========================================================================
# Restart NetworkManager after suspend to clear stale driver state
systemd.services.mediatek-wifi-resume = {
description = "Restart NetworkManager after suspend to fix MediaTek WiFi";
wantedBy = [
"suspend.target"
"hibernate.target"
"hybrid-sleep.target"
];
after = [
"suspend.target"
"hibernate.target"
"hybrid-sleep.target"
];
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkgs.systemd}/bin/systemctl restart NetworkManager.service";
};
};
}
+34
View File
@@ -0,0 +1,34 @@
# MediaTek MT7925 - iwd backend configuration
#
# Use iwd instead of wpa_supplicant for MT7925. iwd provides better
# stability and faster roaming for WiFi 7 chips.
#
# Import this alongside default.nix:
# imports = [
# ../common/wifi/mediatek/mt7925
# ../common/wifi/mediatek/mt7925/iwd.nix
# ];
{ lib, ... }:
{
# Required for iwd to work with MT7925 - includes non-redistributable firmware
hardware.enableAllFirmware = lib.mkDefault true;
# Use iwd backend instead of wpa_supplicant
networking.networkmanager.wifi.backend = lib.mkDefault "iwd";
# iwd configuration for MT7925 stability
networking.wireless.iwd.settings = {
General = {
# Consistent MAC per network (fixes WPA3 handshake issues)
AddressRandomization = "network";
# Let NetworkManager handle IP configuration, not iwd
# (prevents conflicts between iwd and NetworkManager)
EnableNetworkConfiguration = false;
};
Settings = {
AutoConnect = true;
};
};
}
+57
View File
@@ -0,0 +1,57 @@
# UCM-iMX95 SOM support
## Supported devices
- [UCM-iMX95 System-on-Module](https://www.compulab.com/products/som-evaluation-kits/ucm-imx95-evaluation-kit/) (**ucm-imx95**) – based on the NXP i.MX95 SoC (A0 silicon), with device-specific boot components(OEI, SM, ATF), U-Boot, and Linux kernel support, including a NixOS configuration example.
## How to use
This overlay provides configuration and hardware support for the **CompuLab UCM-iMX95** platform, based on the **NXP i.MX95 A0 silicon**. It enables generating NixOS images suitable for booting via U-Boot, using the CompuLab UCM-iMX95 Evaluation Kit carrier board.
### Boot flow
The boot flow for the UCM-iMX95 platform follows the standard NXP i.MX95 sequence:
Boot ROM → OEI (initially in TCM, then DDR) → System Manager (SM) → ARM Trusted Firmware (ATF) → U-Boot → Linux kernel → NixOS userspace
Boot ROM initializes the SoC and loads OEI, which runs in TCM to perform early setup, then configures DDR and loads the System Manager (SM). SM completes SoC initialization and passes control to ATF, which handles secure world setup and then transfers execution to U-Boot, eventually booting the Linux kernel and NixOS root filesystem.
### Example NixOS configuration
```nix
{ nixos-hardware, }: {
system = "aarch64-linux";
modules = [
nixos-hardware.nixosModules.ucm-imx95
];
}
```
### Building Boot Images
The boot image for flashing to SD cards can be built directly from the flake:
```bash
# Build boot image for UCM-iMX95
nix build github:NixOS/nixos-hardware#packages.aarch64-linux.ucm-imx95-boot
```
The boot image will be available at `./result/image/flash.bin`.
**Note:** These packages target `aarch64-linux`. If you're on a different architecture (e.g., x86_64-linux), you'll need remote builders configured for aarch64-linux.
### Flashing to SD Card
Once built, you can flash the boot image to an SD card:
```bash
# Write boot image to SD card at 32KB offset (adjust /dev/sdX to your SD card device)
sudo dd if=./result/image/flash.bin of=/dev/sdX bs=1k seek=32 conv=fsync
```
**Warning:** Double-check the device path to avoid overwriting the wrong disk!
### Notes
- The configuration, including device-tree, kernel, and bootloader components, is optimized for the UCM-iMX95 SoM and EVK.
- The generated NixOS image supports booting from SD card or eMMC, depending on the hardware configuration.
- The boot components (OEI in TCM/DDR, SM, ATF, U-Boot) follow the standard NXP release layout for i.MX95 platforms.
### Upstream Documentation
- [NXP i.MX95 EVK U-Boot Documentation](https://docs.u-boot.org/en/latest/board/nxp/imx95_evk.html)
- [CompuLab UCM-iMX95 Product Page](https://www.compulab.com/products/computer-on-modules/ucm-imx95-nxp-i-mx-95-som-system-on-module/)
+64
View File
@@ -0,0 +1,64 @@
{
lib,
fetchFromGitHub,
stdenv,
buildPackages,
pkgsCross,
openssl,
}:
let
target-board = "imx95";
in
stdenv.mkDerivation rec {
pname = "imx95-atf";
version = "2.13.0";
platform = target-board;
enableParallelBuilding = true;
src = fetchFromGitHub {
owner = "nxp-imx";
repo = "imx-atf";
rev = "28affcae957cb8194917b5246276630f9e6343e1";
sha256 = "sha256-a8F+Lf8pwML+tCwawS0N/mrSXWPmFhlUeOg0MCRK3VE=";
};
# Compiler dependencies
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [
pkgsCross.aarch64-embedded.stdenv.cc
openssl
];
makeFlags = [
"HOSTCC=$(CC_FOR_BUILD)"
"CROSS_COMPILE=${pkgsCross.aarch64-embedded.stdenv.cc.targetPrefix}"
"PLAT=${platform}"
"SPD=opteed"
"bl31"
"LDFLAGS=-no-warn-rwx-segments"
];
installPhase = ''
runHook preInstall
mkdir -p $out
cp build/${target-board}/release/bl31.bin $out
runHook postInstall
'';
hardeningDisable = [ "all" ];
dontStrip = true;
meta = with lib; {
homepage = "https://github.com/nxp-imx/imx-atf";
description = "Reference implementation of secure world software for ARMv8-A";
license = licenses.bsd3;
maintainers = [
{
name = "Govind Singh";
email = "govind.singh@tii.ae";
}
];
platforms = [ "aarch64-linux" ];
};
}
+83
View File
@@ -0,0 +1,83 @@
{
pkgs,
}:
let
bp = pkgs.buildPackages;
imx95-atf = pkgs.callPackage ./ucm-imx95-atf.nix { };
imx95-firmware = pkgs.callPackage ./ucm-imx95-firmware.nix { };
imx95-uboot = pkgs.callPackage ./ucm-imx95-uboot.nix { };
imx95-optee-os = pkgs.callPackage ./ucm-imx95-optee-os.nix { };
imx95-sm-fw = pkgs.callPackage ./ucm-imx95-sm-fw.nix { };
imx95-oei-ddr = pkgs.callPackage ./ucm-imx95-oei-ddr.nix { };
imx95-oei-tcm = pkgs.callPackage ./ucm-imx95-oei-tcm.nix { };
src = pkgs.fetchFromGitHub {
owner = "nxp-imx";
repo = "imx-mkimage";
#tag: lf-6.6.52-2.2.1
rev = "f620fb8ef7a04c8dbed8119880f5eeffe3e69746";
sha256 = "sha256-JZlX122uZntCIISI1H3Hw+tnk+N/gBJpFFDaZoY8W3c=";
};
shortRev = builtins.substring 0 8 src.rev;
in
{
# mkimage runs on the build machine; use buildPackages when cross-compiling.
imx95-boot = bp.stdenv.mkDerivation {
inherit src;
name = "imx95-mkimage";
version = "lf-6.6.52-2.2.1";
postPatch = ''
substituteInPlace Makefile \
--replace-fail 'git rev-parse --short=8 HEAD' 'echo ${shortRev}'
substituteInPlace iMX95/soc.mak \
--replace-fail 'xxd' "${bp.vim.xxd}/bin/xxd"
substituteInPlace scripts/fspi_fcb_gen.sh \
--replace-fail 'xxd' "${bp.vim.xxd}/bin/xxd"
substituteInPlace scripts/fspi_packer.sh \
--replace-fail 'xxd' "${bp.vim.xxd}/bin/xxd"
patchShebangs scripts
'';
nativeBuildInputs = [
bp.stdenv.cc
bp.git
bp.dtc
bp.glibc.static
bp.zlib
bp.zlib.static
];
buildPhase = ''
runHook preBuild
if [ -f ${imx95-uboot}/u-boot.bin ]; then
install -m 0644 ${imx95-uboot}/u-boot.bin ./iMX95/u-boot.bin
else
cat ${imx95-uboot}/u-boot-nodtb.bin ${imx95-uboot}/ucm-imx95.dtb > ./iMX95/u-boot.bin
fi
install -m 0644 ${imx95-uboot}/u-boot-spl.bin ./iMX95/u-boot-spl.bin
install -m 0644 ${imx95-uboot}/u-boot-nodtb.bin ./iMX95/u-boot-nodtb.bin
install -m 0644 ${imx95-uboot}/ucm-imx95.dtb ./iMX95/ucm-imx95.dtb
install -m 0644 ${imx95-optee-os}/tee.bin ./iMX95/tee.bin
install -m 0644 ${imx95-atf}/bl31.bin ./iMX95/bl31.bin
install -m 0644 ${imx95-sm-fw}/m33_image.bin ./iMX95/m33_image.bin
install -m 0644 ${imx95-oei-ddr}/oei-m33-ddr.bin ./iMX95/oei-m33-ddr.bin
install -m 0644 ${imx95-oei-tcm}/oei-m33-tcm.bin ./iMX95/oei-m33-tcm.bin
install -m 0644 ${imx95-firmware}/ddr/lpddr5* ./iMX95/
install -m 0644 ${imx95-firmware}/ahab/mx95a0-ahab-container.img ./iMX95/
install -m 0644 ${imx95-firmware}/m7_image.bin ./iMX95/
make SOC=iMX95 REV=A0 OEI=YES LPDDR_TYPE=lpddr5 flash_all
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir -p $out/image
install -m 0644 ./iMX95/flash.bin $out/image
runHook postInstall
'';
};
}
@@ -0,0 +1,74 @@
{
stdenv,
fetchurl,
coreutils,
bash,
siliconRev ? "A0",
...
}:
stdenv.mkDerivation rec {
pname = "nxp-firmware-imx95";
version = "nxp-firmware-8.28-994fa14";
m7Firmware = fetchurl {
url = "https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx95-m7-demo-25.09.00.bin";
sha256 = "sha256-3nA6uka6WPtXH5aZhaaKHKRM0tJ0pxHQdPEupNic1Ks=";
};
ddrFirmware = fetchurl {
url = "https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.28-994fa14.bin";
sha256 = "sha256-VZlvNA6HglaFoAzTCZARiQZuyVRe5gdzT5QsPN5Nadw=";
};
ahabFirmware = fetchurl {
url = "https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-ele-imx-2.0.2-89161a8.bin";
sha256 = "sha256-LSnwpN42YroV9qfZBpcC1OrtQV2WoX8p1bEn8sb91jQ=";
};
nativeBuildInputs = [
coreutils
bash
];
dontUnpack = true;
dontStrip = true;
installPhase = ''
mkdir -p $out
export SILICON=${siliconRev}
# M7 firmware
echo "Copying M7 firmware..."
cp ${m7Firmware} $out/m7_image.bin
# DDR firmware
cp ${ddrFirmware} ./firmware-imx-8.28-994fa14.bin
chmod +x firmware-imx-8.28-994fa14.bin
./firmware-imx-8.28-994fa14.bin --auto-accept
mkdir -p $out/ddr
# Resolve wildcard and verify at least one file matches
lpddr5_files=(firmware-imx-8.28-994fa14/firmware/ddr/synopsys/lpddr5*v202409.bin)
if [ ''${#lpddr5_files[@]} -eq 0 ]; then
echo "ERROR: No lpddr5*v202409.bin file found in firmware/ddr/synopsys/" >&2
exit 1
fi
cp "''${lpddr5_files[@]}" $out/ddr/
# AHAB container
cp ${ahabFirmware} ./firmware-ele-imx-2.0.2-89161a8.bin
chmod +x firmware-ele-imx-2.0.2-89161a8.bin
./firmware-ele-imx-2.0.2-89161a8.bin --auto-accept
mkdir -p $out/ahab
if [ "$SILICON" = "A0" ]; then
cp firmware-ele-imx-2.0.2-89161a8/mx95a0-ahab-container.img $out/ahab/
elif [ "$SILICON" = "B0" ]; then
cp firmware-ele-imx-2.0.2-89161a8/mx95b0-ahab-container.img $out/ahab/
else
echo "ERROR: Invalid SILICON value '$SILICON'. Must be 'A0' or 'B0'." >&2
exit 1
fi
'';
}
@@ -0,0 +1,71 @@
{
lib,
buildLinux,
fetchFromGitHub,
...
}@args:
buildLinux (
args
// rec {
version = "6.6.36";
name = "imx95-linux";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = version;
defconfig = "compulab-mx95_defconfig";
# https://github.com/NixOS/nixpkgs/pull/366004
# introduced a breaking change that if a module is declared but it is not being used it will fail.
ignoreConfigErrors = true;
kernelPatches = [
];
autoModules = false;
extraConfig = ''
CRYPTO_TLS m
TLS y
MD_RAID0 m
MD_RAID1 m
MD_RAID10 m
MD_RAID456 m
DM_VERITY m
LOGO y
FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER n
FB_EFI n
EFI_STUB y
EFI y
VIRTIO y
VIRTIO_PCI y
VIRTIO_BLK y
DRM_VIRTIO_GPU y
EXT4_FS y
USBIP_CORE m
USBIP_VHCI_HCD m
USBIP_HOST m
USBIP_VUDC m
'';
src = fetchFromGitHub {
owner = "compulab-yokneam";
repo = "linux-compulab";
# tag: linux-compulab_6.6.36
rev = "b93daaad0807fb15d4f3f1a6e5be843ac7532ef7";
sha256 = "sha256-wCeuGXBTz3H6OFWBA1M1/t/9WgxBVjQ8FU/wvAUVW2w=";
};
meta = with lib; {
homepage = "https://github.com/compulab-yokneam/linux-compulab";
license = licenses.gpl2Only;
maintainers = [
{
name = "Govind Singh";
email = "govind.singh@tii.ae";
}
];
platforms = [ "aarch64-linux" ];
};
}
// (args.argsOverride or { })
)
@@ -0,0 +1,76 @@
{
lib,
stdenv,
buildPackages,
gcc-arm-embedded,
fetchFromGitHub,
fetchpatch,
}:
let
metaBspImx95Rev = "5f4c7b5db846fa3a75055054e32215089d15a7b7"; # scarthgap
in
stdenv.mkDerivation rec {
pname = "imx95-imx-oei";
version = "lf-6.6.36-2.1.0";
nativeBuildInputs = [
buildPackages.python3
gcc-arm-embedded
];
src = fetchFromGitHub {
owner = "nxp-imx";
repo = "imx-oei";
rev = "5fca9f47544d03c52ca371eadfffbfd2454e6925";
sha256 = "sha256-Sb6u1NlhJpDCOKBu3HqUb4BLEy0F8LYVnJE0tRSvzWc=";
};
patches = [
(fetchpatch {
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-oei/imx-oei/0001-Add-CompuLab-lpddr5_timing.c.patch";
sha256 = "sha256-6ZpBOXw2aIhD2i9Wx368xfHq6NvdZghWHU9u8+gRTj8=";
})
(fetchpatch {
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-oei/imx-oei/0002-board-mx95lp5-Fix-default-DDR_CONFIG-timing-name.patch";
sha256 = "sha256-WZ/vYaTC2iKIC+jnHtnPriCxK9gjRsOv2Uy13Ye4698=";
})
(fetchpatch {
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-oei/imx-oei/0003-Add-CompuLab-lpddr5_timing_4g.c.patch";
sha256 = "sha256-yyierv2USZlM8Cuxf4FDj4+UtILvJQH9BJSj+fmayL8=";
})
];
postPatch = ''
substituteInPlace oei/makefiles/build_info.mak \
--replace-fail "/bin/echo" "echo"
substituteInPlace Makefile \
--replace-fail "/bin/echo" "echo"
'';
makeFlags = [
"board=mx95lp5"
"CROSS_COMPILE=${gcc-arm-embedded}/bin/arm-none-eabi-"
"OEI_CROSS_COMPILE=${gcc-arm-embedded}/bin/arm-none-eabi-"
"ARCH=arm"
"DDR_CONFIG=lpddr5_timing"
"oei=ddr"
];
installPhase = ''
mkdir -p $out
cp build/mx95lp5/ddr/oei-m33-ddr.bin $out/
'';
meta = with lib; {
homepage = "https://github.com/nxp-imx/imx-oei";
description = "Optional Executable Image assembler for i.MX95 processors";
license = licenses.bsd3;
maintainers = [
{
name = "Govind Singh";
email = "govind.singh@tii.ae";
}
];
platforms = [ "aarch64-linux" ];
};
}
@@ -0,0 +1,76 @@
{
lib,
stdenv,
buildPackages,
gcc-arm-embedded,
fetchFromGitHub,
fetchpatch,
}:
let
metaBspImx95Rev = "5f4c7b5db846fa3a75055054e32215089d15a7b7"; # scarthgap
in
stdenv.mkDerivation rec {
pname = "imx95-imx-oei-tcm";
version = "lf-6.6.36-2.1.0";
nativeBuildInputs = [
buildPackages.python3
gcc-arm-embedded
];
src = fetchFromGitHub {
owner = "nxp-imx";
repo = "imx-oei";
rev = "5fca9f47544d03c52ca371eadfffbfd2454e6925";
sha256 = "sha256-Sb6u1NlhJpDCOKBu3HqUb4BLEy0F8LYVnJE0tRSvzWc=";
};
patches = [
(fetchpatch {
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-oei/imx-oei/0001-Add-CompuLab-lpddr5_timing.c.patch";
sha256 = "sha256-6ZpBOXw2aIhD2i9Wx368xfHq6NvdZghWHU9u8+gRTj8=";
})
(fetchpatch {
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-oei/imx-oei/0002-board-mx95lp5-Fix-default-DDR_CONFIG-timing-name.patch";
sha256 = "sha256-WZ/vYaTC2iKIC+jnHtnPriCxK9gjRsOv2Uy13Ye4698=";
})
(fetchpatch {
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-oei/imx-oei/0003-Add-CompuLab-lpddr5_timing_4g.c.patch";
sha256 = "sha256-yyierv2USZlM8Cuxf4FDj4+UtILvJQH9BJSj+fmayL8=";
})
];
postPatch = ''
substituteInPlace oei/makefiles/build_info.mak \
--replace-fail "/bin/echo" "echo"
substituteInPlace Makefile \
--replace-fail "/bin/echo" "echo"
'';
makeFlags = [
"board=mx95lp5"
"CROSS_COMPILE=${gcc-arm-embedded}/bin/arm-none-eabi-"
"OEI_CROSS_COMPILE=${gcc-arm-embedded}/bin/arm-none-eabi-"
"ARCH=arm"
"DDR_CONFIG=lpddr5_timing"
"oei=tcm"
];
installPhase = ''
mkdir -p $out
cp build/mx95lp5/tcm/oei-m33-tcm.bin $out/
'';
meta = with lib; {
homepage = "https://github.com/nxp-imx/imx-oei";
description = "Optional Executable Image assembler for i.MX95 processors";
license = licenses.bsd3;
maintainers = [
{
name = "Govind Singh";
email = "govind.singh@tii.ae";
}
];
platforms = [ "aarch64-linux" ];
};
}
@@ -0,0 +1,84 @@
{
lib,
stdenv,
fetchFromGitHub,
buildPackages,
bash,
}:
let
inherit (buildPackages) python3;
toolchain = stdenv.cc;
binutils = stdenv.cc.bintools.bintools_bin;
cpp = stdenv.cc;
in
stdenv.mkDerivation {
pname = "imx95-optee-os";
version = "lf-6.6.36_2.1.0";
nativeBuildInputs = [
python3
];
enableParallelBuilding = true;
propagatedBuildInputs = with python3.pkgs; [
pycryptodomex
pyelftools
cryptography
];
src = fetchFromGitHub {
owner = "nxp-imx";
repo = "imx-optee-os";
rev = "612bc5a642a4608d282abeee2349d86de996d7ee";
sha256 = "sha256-l8GKkrlBs5kgw6jrzGLT9WAeTSDqo8XWZDFT2+Fisv4=";
};
meta = with lib; {
homepage = "https://github.com/nxp-imx/imx-optee-os";
license = licenses.bsd2;
maintainers = [
{
name = "Govind Singh";
email = "govind.singh@tii.ae";
}
];
platforms = [ "aarch64-linux" ];
};
postPatch = ''
substituteInPlace scripts/arm32_sysreg.py \
--replace-fail '/usr/bin/env python3' '${python3}/bin/python'
substituteInPlace scripts/gen_tee_bin.py \
--replace-fail '/usr/bin/env python3' '${python3}/bin/python'
substituteInPlace scripts/pem_to_pub_c.py \
--replace-fail '/usr/bin/env python3' '${python3}/bin/python'
substituteInPlace ta/pkcs11/scripts/verify-helpers.sh \
--replace-fail '/bin/bash' '${bash}/bin/bash'
substituteInPlace mk/gcc.mk \
--replace-fail "\$(CROSS_COMPILE_\$(sm))objcopy" ${binutils}/bin/${toolchain.targetPrefix}objcopy
substituteInPlace mk/gcc.mk \
--replace-fail "\$(CROSS_COMPILE_\$(sm))objdump" ${binutils}/bin/${toolchain.targetPrefix}objdump
substituteInPlace mk/gcc.mk \
--replace-fail "\$(CROSS_COMPILE_\$(sm))nm" ${binutils}/bin/${toolchain.targetPrefix}nm
substituteInPlace mk/gcc.mk \
--replace-fail "\$(CROSS_COMPILE_\$(sm))readelf" ${binutils}/bin/${toolchain.targetPrefix}readelf
substituteInPlace mk/gcc.mk \
--replace-fail "\$(CROSS_COMPILE_\$(sm))ar" ${binutils}/bin/${toolchain.targetPrefix}ar
substituteInPlace mk/gcc.mk \
--replace-fail "\$(CROSS_COMPILE_\$(sm))cpp" ${cpp}/bin/${toolchain.targetPrefix}cpp
'';
makeFlags = [
"PLATFORM=imx-mx95evk"
"CFG_ARM64_core=y"
"CFG_TEE_TA_LOG_LEVEL=0"
"CFG_TEE_CORE_LOG_LEVEL=0"
"CROSS_COMPILE=${toolchain}/bin/${toolchain.targetPrefix}"
"CROSS_COMPILE64=${toolchain}/bin/${toolchain.targetPrefix}"
];
installPhase = ''
mkdir -p $out
cp ./out/arm-plat-imx/core/tee-raw.bin $out/tee.bin
'';
}
@@ -0,0 +1,92 @@
{
lib,
stdenv,
buildPackages,
gcc-arm-embedded,
fetchFromGitHub,
fetchpatch,
}:
let
metaBspImx95Rev = "224eed17cddc573061150e9d2ce6f9acb39ea50e"; # scarthgap-6.6.36-EVAL-UCM-iMX95-1.0
in
stdenv.mkDerivation rec {
pname = "imx95-sm-fw";
version = "lf-6.6.36-2.1.0";
nativeBuildInputs = [
buildPackages.python3
gcc-arm-embedded
];
propagatedBuildInputs = with buildPackages.python3.pkgs; [
pycryptodomex
pyelftools
cryptography
];
src = fetchFromGitHub {
owner = "nxp-imx";
repo = "imx-sm";
rev = "709deccd9338399eb39b5cf99a60eab4fa60d539";
sha256 = "sha256-02Cl+XhWGSFswspdBJ/4B/mBm4XTs/qKotx0BXMQpJk=";
};
patches = [
(fetchpatch {
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-system-manager/imx-system-manager/0001-Add-mcimx95cust-board.patch";
sha256 = "sha256-zvZ4bNew+yRPmaZQMrAH087KpCLRqz6zdElfe72Dtuc=";
})
(fetchpatch {
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-system-manager/imx-system-manager/0002-Fix-null-pionter-except.patch";
sha256 = "sha256-q72VEvJqm2CmOxdWMqGibgXS5lY08mC4srEcy00QdrE=";
})
(fetchpatch {
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-system-manager/imx-system-manager/0001-update-for-yocto-6.6.36-compatibility.patch";
sha256 = "sha256-JzHqDiD/ZOu6VQQI0JxY17RQ3bA2t1aP3O1sjLPguWs=";
})
(fetchpatch {
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-system-manager/imx-system-manager/0003-sm-Disable-GPIO1-10-interrupt.patch";
sha256 = "sha256-dhcDv7Uq856+MBonczMPznk+tuqUFxTcHiKLX+myCVA=";
})
(fetchpatch {
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-system-manager/imx-system-manager/0004-configs-mx95cust-change-LPTPM1-ownership.patch";
sha256 = "sha256-NcLu6+zXpiSz1bHKW14Zuf6F/4pzKsekb+zaRtKjSTY=";
})
];
postPatch = ''
substituteInPlace sm/makefiles/gcc_cross.mak \
--replace-fail "\$(SM_CROSS_COMPILE)objcopy" ${gcc-arm-embedded}/bin/arm-none-eabi-objcopy
substituteInPlace sm/makefiles/build_info.mak \
--replace-fail "/bin/echo" "echo"
substituteInPlace sm/makefiles/gcc_cross.mak \
--replace-fail 'SM_CROSS_COMPILE ?= $(TOOLS)/arm-gnu-toolchain-*-none-eabi/bin/arm-none-eabi-' \
'SM_CROSS_COMPILE ?= $(CROSS_COMPILE)'
'';
makeFlags = [
"config=mx95cust"
"M=2"
"CROSS_COMPILE=${gcc-arm-embedded}/bin/arm-none-eabi-"
"CROSS_COMPILE64=${gcc-arm-embedded}/bin/arm-none-eabi-"
"ARCH=arm"
];
installPhase = ''
mkdir -p $out
cp build/mx95cust/m33_image.bin $out/
'';
meta = with lib; {
homepage = "https://github.com/nxp-imx/imx-sm";
description = "System Manager firmware for i.MX processors";
license = licenses.bsd3;
maintainers = [
{
name = "Govind Singh";
email = "govind.singh@tii.ae";
}
];
platforms = [ "aarch64-linux" ];
};
}
@@ -0,0 +1,95 @@
{
stdenv,
lib,
bison,
dtc,
fetchFromGitHub,
flex,
gnutls,
libuuid,
ncurses,
openssl,
which,
perl,
buildPackages,
efitools,
}:
let
ubsrc = fetchFromGitHub {
owner = "compulab-yokneam";
repo = "u-boot-compulab";
# tag: lf_v2024.04
rev = "824401fe487d7d3cbcf251bd60270bd7fe8d21d0";
sha256 = "sha256-m+YW7+XF/jcNKfyb5533LXGyOWvStqY+MCczAdcNGZI=";
};
in
stdenv.mkDerivation {
pname = "imx95-uboot";
version = "2024.04";
src = ubsrc;
postPatch = ''
patchShebangs tools
patchShebangs scripts
'';
nativeBuildInputs = [
bison
flex
openssl
which
ncurses
libuuid
gnutls
openssl
perl
efitools
];
depsBuildBuild = [ buildPackages.stdenv.cc ];
hardeningDisable = [ "all" ];
enableParallelBuilding = true;
makeFlags = [
"DTC=${lib.getExe buildPackages.dtc}"
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
];
extraConfig = ''
CONFIG_USE_BOOTCOMMAND=y
CONFIG_BOOTCOMMAND="setenv ramdisk_addr_r 0x97000000; setenv fdt_addr_r 0x96000000; run distro_bootcmd; "
CONFIG_CMD_BOOTEFI_SELFTEST=y
CONFIG_CMD_BOOTEFI=y
CONFIG_EFI_LOADER=y
CONFIG_BLK=y
CONFIG_PARTITIONS=y
CONFIG_DM_DEVICE_REMOVE=n
CONFIG_CMD_CACHE=y
'';
passAsFile = [ "extraConfig" ];
configurePhase = ''
runHook preConfigure
make ucm-imx95_defconfig
cat $extraConfigPath >> .config
make olddefconfig
runHook postConfigure
'';
installPhase = ''
runHook preInstall
mkdir -p $out
cp ./u-boot-nodtb.bin $out
cp ./spl/u-boot-spl.bin $out
cp ./arch/arm/dts/ucm-imx95.dtb $out
cp .config $out
runHook postInstall
'';
dontStrip = true;
}
+19
View File
@@ -0,0 +1,19 @@
{ pkgs, ... }:
{
nixpkgs.overlays = [
(import ./overlay.nix)
];
imports = [
./modules.nix
];
boot.loader.grub.extraFiles = {
"ucm-imx95.dtb" = "${pkgs.callPackage ./bsp/ucm-imx95-linux.nix { }}/dtbs/compulab/ucm-imx95.dtb";
};
hardware.deviceTree = {
filter = "ucm-imx95.dtb";
name = "ucm-imx95.dtb";
};
}
+17
View File
@@ -0,0 +1,17 @@
{
pkgs,
lib,
...
}:
{
nixpkgs.hostPlatform.system = "aarch64-linux";
boot = {
kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./bsp/ucm-imx95-linux.nix { });
initrd.includeDefaultModules = lib.mkForce false;
};
disabledModules = [ "profiles/all-hardware.nix" ];
hardware.deviceTree.enable = true;
}
+3
View File
@@ -0,0 +1,3 @@
final: _prev: {
inherit (final.callPackage ./bsp/ucm-imx95-boot.nix { pkgs = final; }) imx95-boot;
}
-8
View File
@@ -6,16 +6,8 @@
../../../common/pc/laptop
];
hardware.enableAllFirmware = lib.mkDefault true;
services = {
fwupd.enable = lib.mkDefault true;
thermald.enable = lib.mkDefault true;
};
boot = {
# needs to be explicitly loaded or else bluetooth/wifi won't work.
kernelModules = [ "wl" ];
extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
};
}
+95
View File
@@ -0,0 +1,95 @@
# Dell Latitude 3530
Laptop was release in 2022, Has official Ubuntu Certification: https://ubuntu.com/certified/202205-30271
Every hardware in this laptop works with/is supported by upstream Linux Kernel 6.18 LTS as of 23-10-2026
The UEFI firmware of this laptop has an issue where it will cause random system hangs if Hyperthreading is turned off, behavior observed under both Windows and various Linux distros.
`lspci` output and product name confirmation :
```bash
❯ cat /sys/class/dmi/id/product_name
Latitude 3530
❯ lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:4609] (rev 04)
Subsystem: Dell Device [1028:0bc3]
00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-UP3 GT1 [UHD Graphics] [8086:46b3] (rev 0c)
Subsystem: Dell Device [1028:0bc3]
Kernel driver in use: i915
Kernel modules: i915, xe
00:04.0 Signal processing controller [1180]: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant [8086:461d] (rev 04)
Subsystem: Dell Device [1028:0bc3]
Kernel driver in use: proc_thermal_pci
Kernel modules: processor_thermal_device_pci
00:06.0 PCI bridge [0604]: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 [8086:464d] (rev 04)
Subsystem: Dell Device [1028:0bc3]
Kernel driver in use: pcieport
00:07.0 PCI bridge [0604]: Intel Corporation Alder Lake-P Thunderbolt 4 PCI Express Root Port #0 [8086:466e] (rev 04)
Subsystem: Dell Device [1028:0bc3]
Kernel driver in use: pcieport
00:08.0 System peripheral [0880]: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator [8086:464f] (rev 04)
Subsystem: Dell Device [1028:0bc3]
00:0d.0 USB controller [0c03]: Intel Corporation Alder Lake-P Thunderbolt 4 USB Controller [8086:461e] (rev 04)
Subsystem: Dell Device [1028:0bc3]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:0d.2 USB controller [0c03]: Intel Corporation Alder Lake-P Thunderbolt 4 NHI #0 [8086:463e] (rev 04)
Subsystem: Dell Device [1028:0bc3]
Kernel driver in use: thunderbolt
Kernel modules: thunderbolt
00:12.0 Serial controller [0700]: Intel Corporation Alder Lake-P Integrated Sensor Hub [8086:51fc] (rev 01)
Subsystem: Dell Device [1028:0bc3]
Kernel driver in use: intel_ish_ipc
Kernel modules: 8250_pci, intel_ish_ipc
00:14.0 USB controller [0c03]: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller [8086:51ed] (rev 01)
Subsystem: Dell Device [1028:0bc3]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:14.2 RAM memory [0500]: Intel Corporation Alder Lake PCH Shared SRAM [8086:51ef] (rev 01)
Subsystem: Dell Device [1028:0bc3]
00:14.3 Network controller [0280]: Intel Corporation Alder Lake-P PCH CNVi WiFi [8086:51f0] (rev 01)
Subsystem: Intel Corporation Dual Band Wi-Fi 6(802.11ax) AX201 160MHz 2x2 [Harrison Peak] [8086:4070]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
00:15.0 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 [8086:51e8] (rev 01)
Subsystem: Dell Device [1028:0bc3]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:15.1 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 [8086:51e9] (rev 01)
Subsystem: Dell Device [1028:0bc3]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:16.0 Communication controller [0780]: Intel Corporation Alder Lake PCH HECI Controller [8086:51e0] (rev 01)
Subsystem: Dell Device [1028:0bc3]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Alder Lake-P SATA AHCI Controller [8086:51d3] (rev 01)
Subsystem: Dell Device [1028:0bc3]
Kernel driver in use: ahci
Kernel modules: ahci
00:1d.0 PCI bridge [0604]: Intel Corporation Alder Lake PCI Express Root Port #9 [8086:51b0] (rev 01)
Subsystem: Dell Device [1028:0bc3]
Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Alder Lake PCH eSPI Controller [8086:5182] (rev 01)
Subsystem: Dell Device [1028:0bc3]
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Alder Lake PCH-P High Definition Audio Controller [8086:51c8] (rev 01)
Subsystem: Dell Device [1028:0bc3]
Kernel driver in use: sof-audio-pci-intel-tgl
Kernel modules: snd_soc_avs, snd_sof_pci_intel_tgl, snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation Alder Lake PCH-P SMBus Host Controller [8086:51a3] (rev 01)
Subsystem: Dell Device [1028:0bc3]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Alder Lake-P PCH SPI Controller [8086:51a4] (rev 01)
Subsystem: Dell Device [1028:0bc3]
Kernel driver in use: intel-spi
Kernel modules: spi_intel_pci
01:00.0 Non-Volatile memory controller [0108]: SK hynix BC901 NVMe Solid State Drive (DRAM-less) [1c5c:1d59] (rev 03)
Subsystem: SK hynix BC901 NVMe Solid State Drive (DRAM-less) [1c5c:1d59]
Kernel driver in use: nvme
Kernel modules: nvme
2c:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Dell Device [1028:0bc3]
Kernel driver in use: r8169
Kernel modules: r8169
```
+9
View File
@@ -0,0 +1,9 @@
{ ... }:
{
imports = [
../../../common/cpu/intel/alder-lake
../../../common/pc/laptop
../../../common/pc/ssd
];
}
-1
View File
@@ -13,7 +13,6 @@
"i915.enable_guc=3"
"i915.fastboot=1"
# needed for keyboard
"i8042.dumbkbd=1"
"i8042.nopnp=1"
];
}
+9
View File
@@ -0,0 +1,9 @@
{ ... }:
{
imports = [
../../../common/cpu/intel/haswell
../../../common/pc/laptop
../../../common/pc/ssd
];
}
Loaded 100 of 393 files, more files were not shown because too many files have changed in this diff. Show more