Compare commits

...
Author SHA1 Message Date
dependabot[bot] c3f3e6aaaa build(deps): bump actions/checkout from 6 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [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/v6...v7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-25 02:02:23 +00: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
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
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
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
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
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
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
156 changed files with 2605 additions and 785 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"
+2 -2
View File
@@ -9,13 +9,13 @@ jobs:
nixfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: cachix/install-nix-action@v31
- run: nix build .#checks.x86_64-linux.formatting
tests:
needs: nixfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: cachix/install-nix-action@v31
- run: nix run .#run-tests
+1 -1
View File
@@ -9,6 +9,6 @@ pine64/rockpro64 @tomfitzhenry
pine64/star64 @fgaz
purism/librem/13v3 @yegortimoshenko
system76/darp6 @khumba
framework @emiller88
framework @emiller88 @johnazoidberg
tuxedo/pulse/15/gen2 @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 .#run-tests` 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
+36 -3
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
@@ -87,7 +94,9 @@ See code for all available configurations.
| Model | Path | Flake Module |
| --------------------------------------------------------------------------------- | ------------------------------------------------------- | -------------------------------------- |
| [Acer Aspire 4810T](acer/aspire/4810t) | `<nixos-hardware/acer/aspire/4810t>` | `acer-aspire-4810t` |
| [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` |
@@ -124,13 +133,16 @@ See code for all available configurations.
| [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` |
@@ -160,6 +172,7 @@ See code for all available configurations.
| [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` |
@@ -205,6 +218,7 @@ See code for all available configurations.
| [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 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` |
@@ -225,12 +239,15 @@ See code for all available configurations.
| [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` |
@@ -238,7 +255,9 @@ See code for all available configurations.
| [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` |
@@ -291,13 +310,16 @@ See code for all available configurations.
| [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` |
@@ -382,6 +404,8 @@ See code for all available configurations.
| [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` |
@@ -392,6 +416,9 @@ See code for all available configurations.
| [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` |
@@ -400,6 +427,7 @@ See code for all available configurations.
| [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` |
@@ -419,6 +447,7 @@ See code for all available configurations.
| [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` |
@@ -440,6 +469,7 @@ See code for all available configurations.
| [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` |
@@ -448,6 +478,9 @@ See code for all available configurations.
| [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` |
@@ -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
@@ -4,7 +4,6 @@
imports = [
../.
../../../common/pc/ssd
../../../common/gpu/24.05-compat.nix
../../../common/gpu/nvidia/kepler
];
-1
View File
@@ -8,7 +8,6 @@ in
{
imports = [
../.
../../../common/gpu/24.05-compat.nix
];
services.xserver.videoDrivers = mkDefault [ "nvidiaLegacy340" ];
+5 -13
View File
@@ -7,7 +7,6 @@
let
inherit (lib) types;
nixosVersion = lib.versions.majorMinor lib.version;
audioFiles = pkgs.fetchFromGitHub {
owner = "kekrby";
@@ -90,11 +89,11 @@ in
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;
@@ -106,16 +105,9 @@ in
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/";
}
)
{
services.pulseaudio.package = overrideAudioFiles pkgs.pulseaudio "src/modules/";
}
(lib.mkIf t2Cfg.enableIGPU {
# Enable the iGPU by default if present
@@ -1,7 +1,5 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
callPackage,
dmg2img,
}:
+2 -2
View File
@@ -1,6 +1,6 @@
{ callPackage, linux_6_12, ... }@args:
{ callPackage, linux_6_18, ... }@args:
callPackage ./generic.nix args {
kernel = linux_6_12;
kernel = linux_6_18;
patchesFile = ./stable.json;
}
+15 -47
View File
@@ -1,49 +1,21 @@
{
"base_url": "https://raw.githubusercontent.com/t2linux/linux-t2-patches/6b41c3fd65913e0fa3592ad16ff4a3a5b01efc7a/",
"base_url": "https://raw.githubusercontent.com/t2linux/linux-t2-patches/7ee7d19c38e5df31a386b2a0c35ca8f064003960/",
"patches": [
{
"name": "1001-Add-apple-bce-driver.patch",
"hash": "sha256-00K3LmId2Ag6s5K76p7mB2a0oEXp815yRd+U5wxWPMc="
"hash": "sha256-v/P3Ws3x+OPnmX3vSFLxARON0HNjjDRe7QJ+KP9tVsc="
},
{
"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="
"hash": "sha256-rK1lQ3fjHJH//50n37xgWrUs4CZ8lmFw0iDpbq5zoaY="
},
{
"name": "2008-i915-4-lane-quirk-for-mbp15-1.patch",
"hash": "sha256-PjMVt4u505PXnKFpojov0Uwhj0KxZas1E4NYJGI6lQ4="
"hash": "sha256-S2osR1aSjqJiO7rNZP1sKt2+Uxyitwse/6BXMJvE9as="
},
{
"name": "2009-apple-gmux-allow-switching-to-igpu-at-probe.patch",
"hash": "sha256-aE+MEu/jRrZBa+3Q03quOHUsIseRED6A7N/K9kEVtbM="
"hash": "sha256-6i+fh/Ifle0di5/tMOdMm0NMkEmeUb17hYM/g2j2dfI="
},
{
"name": "3001-applesmc-convert-static-structures-to-drvdata.patch",
@@ -63,7 +35,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",
@@ -83,27 +55,23 @@
},
{
"name": "4001-asahi-trackpad.patch",
"hash": "sha256-nOpQ3t+QQXco6p7C03fM5EZ3ZfnzwC6UCFwHQd1EnGE="
},
{
"name": "4002-HID-quirks-remove-T2-devices-from-hid_mouse_ignore_l.patch",
"hash": "sha256-0PMCE3IWHekir5YV1BD6Jakc7dOV6Fj2HfIGWZnXZV0="
"hash": "sha256-ANHSNoy5nK2b+rSAG0bJ8j6ZBmNqgeCddHXVS31KyDw="
},
{
"name": "4003-HID-apple-ignore-the-trackpad-on-T2-Macs.patch",
"hash": "sha256-JTeYtaBqMyTu5IdGb8x7wbP9ZE1rXT4lpEjudR1ySFI="
"hash": "sha256-T2tYcFLeWUdx6QawANe3ZNVSRxmo1IdPiSpGLQk4IDY="
},
{
"name": "4004-HID-magicmouse-Add-support-for-trackpads-found-on-T2.patch",
"hash": "sha256-dNrpDlIE9SaQUOntVQHMOyj7T/dsuRemN56yskKWue0="
"hash": "sha256-ubchCEv1BZ7t/zkI9DpHA4gUln9cdu4yHzVJI2TNlS0="
},
{
"name": "4005-HID-apple-Add-necessary-IDs-and-support-for-replacem.patch",
"hash": "sha256-SRKESCbpxSYm7U0VyCmvkmT/er6/GEHhwo8tgJDO6mQ="
"name": "4005-HID-magicmouse-fix-regression-breaking-support-for-M.patch",
"hash": "sha256-oT+3AeETnKfzblxtcTD18c61BKoD9yAsga0AL3R8u7k="
},
{
"name": "4006-HID-magicmouse-Add-MacBookPro15-1-replacement-trackp.patch",
"hash": "sha256-mMqHhxig+Z9eVPaa1qfcNVCRX16B6/KuEd1KnSZMLLk="
"name": "5001-HID-appletb-kbd-add-option-to-switch-default-layer-o.patch",
"hash": "sha256-KV5DTjALzNugs92Jum6VUt0wgblK/6PG1KorovHcIX0="
},
{
"name": "7001-drm-i915-fbdev-Discard-BIOS-framebuffers-exceeding-h.patch",
@@ -111,11 +79,11 @@
},
{
"name": "8001-Add-APFS-driver.patch",
"hash": "sha256-uR5hg75SFFWzfrKyU5UnzPL4U7LkjqGs44rkxM7ur8o="
"hash": "sha256-EbIbfkncp5Jax2suny/jlFt+cD9MyYMV2rWFJIbgbg4="
},
{
"name": "8002-Necessary-modifications-to-build-APFS-with-the-kerne.patch",
"hash": "sha256-n1SH5vC//LRJdWOavH9/BHqBTjkUj5f+dFGitSeHksw="
"hash": "sha256-zCTetF2NPhMH2BknPumhPz2sf26X9Lcra7xCA3R2WMY="
}
]
}
+2 -2
View File
@@ -1,6 +1,6 @@
{ callPackage, linux_6_16, ... }@args:
{ callPackage, linux_7_0, ... }@args:
callPackage ./generic.nix args {
kernel = linux_6_16;
kernel = linux_7_0;
patchesFile = ./latest.json;
}
+16 -64
View File
@@ -1,65 +1,21 @@
{
"base_url": "https://raw.githubusercontent.com/t2linux/linux-t2-patches/5eaf1261d069bbc67aba7fe2737a5fe981e05a9e/",
"base_url": "https://raw.githubusercontent.com/t2linux/linux-t2-patches/facf1c778667c3ef62104949ef64c75ce7e43b0a/",
"patches": [
{
"name": "1001-Add-apple-bce-driver.patch",
"hash": "sha256-e3RPvWPj2QASGOS4kieO8YFekrXsBCJtfF82OPlOn2E="
"hash": "sha256-rrL3oVkYeq5ZslnjCQw4hcEK6knsm6U/wp1XnJmQTSA="
},
{
"name": "1002-Put-apple-bce-in-drivers-staging.patch",
"hash": "sha256-DXj4CmE7TKMGrAhQDOR5RVw9YHmyQMiXZsmxYfkKAEA="
},
{
"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": "1015-drm-tiny-add-driver-for-Apple-Touch-Bars-in-x86-Macs.patch",
"hash": "sha256-tDjK/VipVQbuNOURW38gssqeRLy3s8I+DVq0+4zGnHs="
"hash": "sha256-deWROYcncl51sOmtvUHM61e5FM1beHbOJVp4iI31LHM="
},
{
"name": "2008-i915-4-lane-quirk-for-mbp15-1.patch",
"hash": "sha256-lZ7MWXZubmAlJCqBmuzueg7agENJbikxP1SE46SmwNw="
"hash": "sha256-S2osR1aSjqJiO7rNZP1sKt2+Uxyitwse/6BXMJvE9as="
},
{
"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",
@@ -79,7 +35,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",
@@ -99,39 +55,35 @@
},
{
"name": "4001-asahi-trackpad.patch",
"hash": "sha256-kfAYVovukZLD5ocHQxhoHJSa9c5XAJ1GhH1RlzGkS+k="
},
{
"name": "4002-HID-quirks-remove-T2-devices-from-hid_mouse_ignore_l.patch",
"hash": "sha256-0PMCE3IWHekir5YV1BD6Jakc7dOV6Fj2HfIGWZnXZV0="
"hash": "sha256-+YXyIjtlVrLo8allTO3M1A+xold5FUXaZ8dwD2j5HDc="
},
{
"name": "4003-HID-apple-ignore-the-trackpad-on-T2-Macs.patch",
"hash": "sha256-JTeYtaBqMyTu5IdGb8x7wbP9ZE1rXT4lpEjudR1ySFI="
"hash": "sha256-T2tYcFLeWUdx6QawANe3ZNVSRxmo1IdPiSpGLQk4IDY="
},
{
"name": "4004-HID-magicmouse-Add-support-for-trackpads-found-on-T2.patch",
"hash": "sha256-HcPX7gY3hnlwM/tY06pbtXnch04AqwHgC596E8ZqGY8="
"hash": "sha256-ubchCEv1BZ7t/zkI9DpHA4gUln9cdu4yHzVJI2TNlS0="
},
{
"name": "4005-HID-apple-Add-necessary-IDs-and-support-for-replacem.patch",
"hash": "sha256-SRKESCbpxSYm7U0VyCmvkmT/er6/GEHhwo8tgJDO6mQ="
"name": "4005-HID-magicmouse-fix-regression-breaking-support-for-M.patch",
"hash": "sha256-oT+3AeETnKfzblxtcTD18c61BKoD9yAsga0AL3R8u7k="
},
{
"name": "4006-HID-magicmouse-Add-MacBookPro15-1-replacement-trackp.patch",
"hash": "sha256-uAlT/4ADwYyKvbuPQaGwqCjZ2/myruC63etVV6cfFLk="
"name": "5001-HID-appletb-kbd-add-option-to-switch-default-layer-o.patch",
"hash": "sha256-KV5DTjALzNugs92Jum6VUt0wgblK/6PG1KorovHcIX0="
},
{
"name": "7001-drm-i915-fbdev-Discard-BIOS-framebuffers-exceeding-h.patch",
"hash": "sha256-O6RHFxmKZn7aCq1D+r5z2T3jLt0r5+01EABD9rs0E5M="
"hash": "sha256-/EKN7JsAxcpAgfJFtPp2NLYaGqQ0kl8wjJEXifSzJpY="
},
{
"name": "8001-Add-APFS-driver.patch",
"hash": "sha256-QpIPsMjWNPOkw6rSKn7rW0Fmx9HUwJaiGy3pZeT5Fd0="
"hash": "sha256-2By3Zlg/i5rUUJDlWc6JoiqapUnbVplk2lHzDhvAhzI="
},
{
"name": "8002-Necessary-modifications-to-build-APFS-with-the-kerne.patch",
"hash": "sha256-n1SH5vC//LRJdWOavH9/BHqBTjkUj5f+dFGitSeHksw="
"hash": "sha256-zCTetF2NPhMH2BknPumhPz2sf26X9Lcra7xCA3R2WMY="
}
]
}
-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
View File
@@ -34,7 +34,6 @@
services = {
asusd = {
enable = lib.mkDefault true;
enableUserService = 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;
};
}
-1
View File
@@ -60,7 +60,6 @@ in
services = {
asusd = {
enable = mkDefault true;
enableUserService = mkDefault true;
};
supergfxd.enable = mkDefault true;
-1
View File
@@ -39,7 +39,6 @@ in
services = {
asusd = {
enable = mkDefault true;
enableUserService = mkDefault true;
};
supergfxd.enable = mkDefault true;
+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={
-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;
}
+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" ])
];
}
-1
View File
@@ -1,7 +1,6 @@
{ lib, ... }:
{
imports = [ ../24.05-compat.nix ];
config = {
services.xserver.videoDrivers = lib.mkDefault [ "modesetting" ];
+16 -5
View File
@@ -5,8 +5,6 @@
...
}:
{
imports = [ ../24.05-compat.nix ];
options.hardware.intelgpu = {
driver = lib.mkOption {
description = "Intel GPU driver to use";
@@ -24,7 +22,7 @@
};
computeRuntime = lib.mkOption {
description = "intel-compute-runtime variant to use";
description = "intel-compute-runtime variant to use (legacy for Gen8–11, default for Gen12+)";
type = lib.types.enum [
"default"
"legacy"
@@ -32,6 +30,15 @@
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 (
@@ -73,7 +80,11 @@
pkgs.intel-compute-runtime-legacy1
else
pkgs.intel-compute-runtime;
vpl-gpu-rt = pkgs.vpl-gpu-rt or pkgs.onevpl-intel-gpu;
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 ];
@@ -84,7 +95,7 @@
++ lib.optionals useIntelMediaDriver [
intel-media-driver
intel-compute-runtime
vpl-gpu-rt
intel-media-runtime
];
hardware.graphics.extraPackages32 =
+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";
};
}
-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;
}
+1 -7
View File
@@ -3,11 +3,5 @@
{
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
);
services.tlp.enable = lib.mkDefault (!config.services.power-profiles-daemon.enable);
}
+21 -32
View File
@@ -1,24 +1,17 @@
{
callPackage,
fetchFromGitHub,
stdenv,
clang,
git,
dtc,
glibc,
zlib,
vim,
pkgs,
}:
let
bp = pkgs.buildPackages;
imx95-atf = callPackage ./ucm-imx95-atf.nix { };
imx95-firmware = callPackage ./ucm-imx95-firmware.nix { };
imx95-uboot = callPackage ./ucm-imx95-uboot.nix { };
imx95-optee-os = callPackage ./ucm-imx95-optee-os.nix { };
imx95-sm-fw = callPackage ./ucm-imx95-sm-fw.nix { };
imx95-oei-ddr = callPackage ./ucm-imx95-oei-ddr.nix { };
imx95-oei-tcm = callPackage ./ucm-imx95-oei-tcm.nix { };
src = fetchFromGitHub {
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
@@ -28,7 +21,8 @@ let
shortRev = builtins.substring 0 8 src.rev;
in
{
imx95-boot = stdenv.mkDerivation rec {
# 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";
@@ -36,27 +30,22 @@ in
postPatch = ''
substituteInPlace Makefile \
--replace-fail 'git rev-parse --short=8 HEAD' 'echo ${shortRev}'
substituteInPlace Makefile \
--replace-fail 'CC = gcc' 'CC = clang'
substituteInPlace iMX95/soc.mak \
--replace-fail 'xxd' "${vim.xxd}/bin/xxd"
--replace-fail 'xxd' "${bp.vim.xxd}/bin/xxd"
substituteInPlace scripts/fspi_fcb_gen.sh \
--replace-fail 'xxd' "${vim.xxd}/bin/xxd"
--replace-fail 'xxd' "${bp.vim.xxd}/bin/xxd"
substituteInPlace scripts/fspi_packer.sh \
--replace-fail 'xxd' "${vim.xxd}/bin/xxd"
--replace-fail 'xxd' "${bp.vim.xxd}/bin/xxd"
patchShebangs scripts
'';
nativeBuildInputs = [
clang
git
dtc
];
buildInputs = [
glibc.static
zlib
zlib.static
bp.stdenv.cc
bp.git
bp.dtc
bp.glibc.static
bp.zlib
bp.zlib.static
];
buildPhase = ''
+1 -1
View File
@@ -1,3 +1,3 @@
final: _prev: {
inherit (final.callPackage ./bsp/ucm-imx95-boot.nix { }) imx95-boot;
inherit (final.callPackage ./bsp/ucm-imx95-boot.nix { pkgs = final; }) imx95-boot;
}
-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
];
}
+1 -1
View File
@@ -30,7 +30,7 @@
# Override the Intel gpu driver setting imported above
environment.variables = {
VDPAU_DRIVER = lib.mkIf config.hardware.opengl.enable (lib.mkOverride 990 "nvidia");
VDPAU_DRIVER = lib.mkIf config.hardware.graphics.enable (lib.mkOverride 990 "nvidia");
};
services.thermald.enable = lib.mkDefault true;
+1 -1
View File
@@ -1,4 +1,4 @@
= Dell XPS 15 9550 =
= Dell XPS 15 9500 =
== Tested Hardware ==
+9 -1
View File
@@ -1,4 +1,4 @@
{ lib, ... }:
{ lib, pkgs, ... }:
let
thermald-conf = ./thermald-conf.xml;
in
@@ -19,6 +19,14 @@ in
# was generated with dptfxtract-static (https://github.com/intel/dptfxtract)
services.thermald.configFile = lib.mkDefault thermald-conf;
# Enable fingerprint reader
services.fprintd = {
enable = lib.mkDefault true;
# Fingerprint sensor will not work without these settings
tod.enable = true;
tod.driver = pkgs.libfprint-2-tod1-goodix;
};
# WiFi speed is slow and crashes by default (https://bugzilla.kernel.org/show_bug.cgi?id=213381)
# disable_11ax - required until ax driver support is fixed
# power_save - works well on this card
Generated
+18 -1
View File
@@ -1,6 +1,23 @@
{
"nodes": {
"root": {}
"nixpkgs": {
"locked": {
"lastModified": 1767892417,
"narHash": "sha256-8bW3q88CEg2u4hSP66Vf4lpbLonHz7hqDNBMcCY7E9U=",
"rev": "3497aa5c9457a9d88d71fa93a4a8368816fbeeba",
"type": "tarball",
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.05pre924538.3497aa5c9457/nixexprs.tar.xz"
},
"original": {
"type": "tarball",
"url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
+57 -11
View File
@@ -1,13 +1,17 @@
{
description = "nixos-hardware";
inputs.nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz";
outputs =
{ self, ... }:
{ self, nixpkgs, ... }:
let
# Import private inputs (for development)
privateInputs =
(import ./tests/flake-compat.nix {
src = ./tests;
src = {
outPath = self.outPath + "/tests";
};
}).defaultNix;
systems = [
@@ -23,17 +27,10 @@
];
# Helper to iterate over systems
eachSystem =
f:
privateInputs.nixos-unstable-small.lib.genAttrs systems (
system: f privateInputs.nixos-unstable-small.legacyPackages.${system} system
);
eachSystem = f: nixpkgs.lib.genAttrs systems (system: f nixpkgs.legacyPackages.${system} system);
eachSystemFormat =
f:
privateInputs.nixos-unstable-small.lib.genAttrs formatSystems (
system: f privateInputs.nixos-unstable-small.legacyPackages.${system} system
);
f: nixpkgs.lib.genAttrs formatSystems (system: f nixpkgs.legacyPackages.${system} system);
in
{
@@ -46,8 +43,10 @@
in
{
acer-aspire-4810t = import ./acer/aspire/4810t;
acer-predator-helios-300-ph315-51 = import ./acer/predator/helios/300/ph315-51;
airis-n990 = import ./airis/n990;
aoostar-r1-n100 = import ./aoostar/r1/n100;
apple-imac-12-2 = import ./apple/imac/12-2;
apple-imac-14-2 = import ./apple/imac/14-2;
apple-imac-18-2 = import ./apple/imac/18-2;
apple-macbook-air-3 = import ./apple/macbook-air/3;
@@ -71,8 +70,10 @@
asus-fx504gd = import ./asus/fx504gd;
asus-fx506hm = import ./asus/fx506hm;
asus-fa506ic = import ./asus/fa506ic;
asus-fa506nc = import ./asus/fa506nc;
asus-fa507nv = import ./asus/fa507nv;
asus-fa507rm = import ./asus/fa507rm;
asus-fa706ic = import ./asus/fa706ic;
asus-flow-gv302x-amdgpu = import ./asus/flow/gv302x/amdgpu;
asus-flow-gv302x-nvidia = import ./asus/flow/gv302x/nvidia;
asus-flow-gz301vu = import ./asus/flow/gz301vu;
@@ -98,6 +99,7 @@
asus-zephyrus-ga502 = import ./asus/zephyrus/ga502;
asus-zephyrus-ga503 = import ./asus/zephyrus/ga503;
asus-zephyrus-gu603h = import ./asus/zephyrus/gu603h;
asus-zephyrus-gu605cw = import ./asus/zephyrus/gu605cw;
asus-zephyrus-gu605my = import ./asus/zephyrus/gu605my;
beagleboard-pocketbeagle = import ./beagleboard/pocketbeagle;
chuwi-minibook-x = import ./chuwi/minibook-x;
@@ -123,6 +125,7 @@
dell-latitude-7490 = import ./dell/latitude/7490;
dell-latitude-9430 = import ./dell/latitude/9430;
dell-latitude-e7240 = import ./dell/latitude/e7240;
dell-latitude-e7440 = import ./dell/latitude/e7440;
dell-optiplex-3050 = import ./dell/optiplex/3050;
dell-poweredge-r7515 = import ./dell/poweredge/r7515;
dell-precision-3490 = deprecated "1491" "dell-precision-3490" (import ./dell/precision/3490);
@@ -171,6 +174,7 @@
framework-13th-gen-intel = import ./framework/13-inch/13th-gen-intel;
framework-12-13th-gen-intel = import ./framework/12-inch/13th-gen-intel;
framework-intel-core-ultra-series1 = import ./framework/13-inch/intel-core-ultra-series1;
framework-intel-core-ultra-series3 = import ./framework/13-inch/intel-core-ultra-series3;
framework-13-7040-amd = import ./framework/13-inch/7040-amd;
framework-amd-ai-300-series = import ./framework/13-inch/amd-ai-300-series;
framework-16-7040-amd = import ./framework/16-inch/7040-amd;
@@ -185,6 +189,8 @@
gigabyte-b650 = import ./gigabyte/b650;
gmktec-nucbox-g3-plus = import ./gmktec/nucbox/g3-plus;
google-pixelbook = import ./google/pixelbook;
google-brya = import ./google/brya;
google-rex = import ./google/rex;
gpd-micropc = import ./gpd/micropc;
gpd-p2-max = import ./gpd/p2-max;
gpd-pocket-3 = import ./gpd/pocket-3;
@@ -200,10 +206,13 @@
hp-probook-440G5 = import ./hp/probook/440G5;
hp-probook-460G11 = import ./hp/probook/460G11;
hp-laptop-14s-dq2024nf = import ./hp/laptop/14s-dq2024nf;
hp-laptop-15s-fq1xxx = import ./hp/laptop/15s-fq1xxx;
huawei-machc-wa = import ./huawei/machc-wa;
hp-notebook-14-df0023 = import ./hp/notebook/14-df0023;
intel-nuc-5i5ryb = import ./intel/nuc/5i5ryb;
intel-nuc-7i3bnb = import ./intel/nuc/7i3bnb;
intel-nuc-8i7beh = import ./intel/nuc/8i7beh;
intel-nuc-12wshi7 = import ./intel/nuc/12wshi7;
lenovo-ideacentre-k330 = import ./lenovo/ideacentre/k330;
lenovo-ideapad-14imh9 = import ./lenovo/ideapad/14imh9;
lenovo-ideapad-15alc6 = import ./lenovo/ideapad/15alc6;
@@ -258,13 +267,16 @@
lenovo-thinkpad-p14s-amd-gen3 = import ./lenovo/thinkpad/p14s/amd/gen3;
lenovo-thinkpad-p14s-amd-gen4 = import ./lenovo/thinkpad/p14s/amd/gen4;
lenovo-thinkpad-p14s-amd-gen5 = import ./lenovo/thinkpad/p14s/amd/gen5;
lenovo-thinkpad-p14s-amd-gen6 = import ./lenovo/thinkpad/p14s/amd/gen6;
lenovo-thinkpad-p14s-intel-gen2 = import ./lenovo/thinkpad/p14s/intel/gen2;
lenovo-thinkpad-p14s-intel-gen3 = import ./lenovo/thinkpad/p14s/intel/gen3;
lenovo-thinkpad-p14s-intel-gen5 = import ./lenovo/thinkpad/p14s/intel/gen5;
lenovo-thinkpad-p15v-intel-gen3 = import ./lenovo/thinkpad/p15v/intel/gen3;
lenovo-thinkpad-p16s-amd-gen1 = import ./lenovo/thinkpad/p16s/amd/gen1;
lenovo-thinkpad-p16s-amd-gen2 = import ./lenovo/thinkpad/p16s/amd/gen2;
lenovo-thinkpad-p16s-amd-gen4 = import ./lenovo/thinkpad/p16s/amd/gen4;
lenovo-thinkpad-p16s-intel-gen2 = import ./lenovo/thinkpad/p16s/intel/gen2;
lenovo-thinkpad-p16s-intel-gen3 = import ./lenovo/thinkpad/p16s/intel/gen3;
lenovo-thinkpad-p43s = import ./lenovo/thinkpad/p43s;
lenovo-thinkpad-p50 = import ./lenovo/thinkpad/p50;
lenovo-thinkpad-p51 = import ./lenovo/thinkpad/p51;
@@ -357,6 +369,9 @@
microsoft-surface-pro-3 = import ./microsoft/surface-pro/3;
microsoft-surface-pro-9 = import ./microsoft/surface-pro/9;
milkv-pioneer = import ./milkv/pioneer;
minisforum-um690 = import ./minisforum/um690;
minisforum-um690s = import ./minisforum/um690s;
minisforum-um790-pro = import ./minisforum/um790-pro;
minisforum-v3 = import ./minisforum/v3;
mnt-reform-rk3588 = import ./mnt/reform/rk3588;
morefine-m600 = import ./morefine/m600;
@@ -366,6 +381,8 @@
msi-gs60 = import ./msi/gs60;
msi-gl62 = import ./msi/gl62;
msi-gl65-10SDR-492 = import ./msi/gl65/10SDR-492;
msi-prestige-15-a10sc = import ./msi/prestige/15-a10sc;
msi-z370-pc-pro = import ./msi/z370-pc-pro;
nxp-imx8mp-evk = import ./nxp/imx8mp-evk;
nxp-imx8mq-evk = import ./nxp/imx8mq-evk;
nxp-imx8qm-mek = import ./nxp/imx8qm-mek;
@@ -374,6 +391,7 @@
hardkernel-odroid-hc4 = import ./hardkernel/odroid-hc4;
hardkernel-odroid-h3 = import ./hardkernel/odroid-h3;
hardkernel-odroid-h4 = import ./hardkernel/odroid-h4;
hardkernel-odroid-m1 = import ./hardkernel/odroid-m1;
omen-14-fb0798ng = import ./omen/14-fb0798ng;
omen-15-ce002ns = import ./omen/15-ce002ns;
omen-15-en0010ca = import ./omen/15-en0010ca;
@@ -396,6 +414,7 @@
raspberry-pi-3 = import ./raspberry-pi/3;
raspberry-pi-4 = import ./raspberry-pi/4;
raspberry-pi-5 = import ./raspberry-pi/5;
radxa-rock-3c = import ./radxa/rock-3c;
rock-4c-plus = import ./radxa/rock-4c-plus;
rock-5b = import ./radxa/rock-5b;
rock-pi-4 = import ./radxa/rock-pi-4;
@@ -416,12 +435,16 @@
system76-galp5-1650 = import ./system76/galp5-1650;
system76-darp6 = import ./system76/darp6;
system76-thelio-mega = import ./system76/thelio-mega;
system76-galp3 = import ./system76/galp3;
toshiba-swanky = import ./toshiba/swanky;
tuxedo-aura-15-gen1 = import ./tuxedo/aura/15/gen1;
tuxedo-infinitybook-v4 = import ./tuxedo/infinitybook/v4;
tuxedo-infinitybook-pro14-gen7 = import ./tuxedo/infinitybook/pro14/gen7;
tuxedo-infinitybook-pro14-gen9-amd = import ./tuxedo/infinitybook/pro14/gen9/amd;
tuxedo-infinitybook-pro14-gen9-intel = import ./tuxedo/infinitybook/pro14/gen9/intel;
tuxedo-infinitybook-pro14-gen10-amd = import ./tuxedo/infinitybook/pro14/gen10/amd;
tuxedo-infinitybook-pro15-gen10-amd = import ./tuxedo/infinitybook/pro15/gen10/amd;
tuxedo-infinitybook-pro15-gen10-intel = import ./tuxedo/infinitybook/pro15/gen10/intel;
tuxedo-pulse-14-gen3 = import ./tuxedo/pulse/14/gen3;
tuxedo-pulse-15-gen2 = import ./tuxedo/pulse/15/gen2;
xiaomi-redmibook-15-pro-2021 = import ./xiaomi/redmibook/15-pro-2021;
@@ -475,6 +498,8 @@
run-tests = pkgs.callPackage ./tests/run-tests.nix {
inherit self;
};
mnt-reform-kernel-patches = pkgs.callPackage ./mnt/reform/updateKernelPatches.nix { };
}
// pkgs.lib.optionalAttrs (system == "aarch64-linux") {
# Boot images for NXP i.MX boards (aarch64-linux only)
@@ -482,9 +507,30 @@
imx93-boot = (pkgs.callPackage ./nxp/imx93-evk/bsp/imx93-boot.nix { }).imx93-boot;
imx8mp-boot = (pkgs.callPackage ./nxp/imx8mp-evk/bsp/imx8mp-boot.nix { }).imx8m-boot;
imx8mq-boot = (pkgs.callPackage ./nxp/imx8mq-evk/bsp/imx8mq-boot.nix { }).imx8m-boot;
purism-librem-5r4-uboot = pkgs.callPackage ./purism/librem/5r4/u-boot { };
# Raspberry Pi kernels (aarch64-linux only)
rpi2-kernel = (pkgs.callPackage ./raspberry-pi/common/kernel.nix { rpiVersion = 2; });
rpi3-kernel = (pkgs.callPackage ./raspberry-pi/common/kernel.nix { rpiVersion = 3; });
rpi4-kernel = (pkgs.callPackage ./raspberry-pi/common/kernel.nix { rpiVersion = 4; });
rpi5-kernel = (pkgs.callPackage ./raspberry-pi/common/kernel.nix { rpiVersion = 5; });
}
);
# Hydra jobset for Raspberry Pi kernels
hydraJobs = {
raspberry-pi-kernels = eachSystem (
pkgs: system:
pkgs.lib.optionalAttrs (system == "aarch64-linux") {
inherit (self.packages.${system})
rpi2-kernel
rpi3-kernel
rpi4-kernel
rpi5-kernel
;
}
);
};
# Add checks for `nix run .#run-tests`
checks = eachSystem (
pkgs: system:
@@ -12,3 +12,22 @@ $ fwupdmgr update
```
- [Latest Update](https://fwupd.org/lvfs/devices/work.frame.Laptop12.RPL.BIOS.firmware)
## Touchscreen support in initrd (for unl0kr)
To unlock your LUKS disk encryption with an onscreen touch keyboard, you can use unl0kr.
This module will automatically included the necessary kernel modules in initrd to make touchpad and touchscreen work when `boot.initrd.unl0kr.enable = true`.
Example configuration:
```nix
{
boot.initrd.systemd.enable = true;
boot.initrd.unl0kr.enable = true;
boot.initrd.luks.devices."cryptroot" = {
device = "/dev/disk/by-uuid/YOUR-UUID-HERE";
};
}
```
+11 -1
View File
@@ -9,5 +9,15 @@
# before soc_button_array. Otherwise the tablet mode gpio doesn't work.
# If correctly loaded, dmesg should show
# input: gpio-keys as /devices/platform/INT33D3:00
boot.initrd.kernelModules = [ "pinctrl_tigerlake" ];
boot.initrd.kernelModules = [
"pinctrl_tigerlake"
]
# Additional modules for touchscreen/touchpad in initrd (for unl0kr on-screen keyboard)
++ lib.optionals config.boot.initrd.unl0kr.enable [
"intel_lpss_pci"
"i2c_hid_acpi"
"i2c_hid"
"hid_multitouch"
"hid_generic"
];
}
-1
View File
@@ -3,7 +3,6 @@
imports = [
../../../common/pc/laptop
../../../common/pc/ssd
../../bluetooth.nix
../../kmod.nix
../../framework-tool.nix
];
+4 -4
View File
@@ -25,10 +25,10 @@
# This enables the brightness and airplane mode keys to work
# https://community.frame.work/t/12th-gen-not-sending-xf86monbrightnessup-down/20605/11
"hid-sensor-hub"
# This fixes controller crashes during sleep
# https://community.frame.work/t/tracking-fn-key-stops-working-on-popos-after-a-while/21208/32
(lib.mkIf (config.hardware.framework.enableKmod == false) "cros_ec_lpcs")
];
]
# This fixes controller crashes during sleep
# https://community.frame.work/t/tracking-fn-key-stops-working-on-popos-after-a-while/21208/32
++ lib.optional (config.hardware.framework.enableKmod == false) "cros_ec_lpcs";
boot.kernelParams = [
# For Power consumption
@@ -22,5 +22,15 @@
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.15") (
lib.mkDefault pkgs.linuxPackages_latest
);
# The framework bios wrongly reports the ACP device as wired, causing
# issues with alsa ucm, but also generally adding a phantom interface
# to the system.
#
# See discussion in https://github.com/NixOS/nixos-hardware/issues/1603
boot.blacklistedKernelModules = [
"snd_acp70"
"snd_acp_pci"
];
};
}
@@ -24,7 +24,8 @@ in
- Equalizer
- Slight compression
This option has been optimised for the Framework Laptop 13 AMD 7040 series, but should work on all models.
This option has been optimised for the classic Framework Laptop 13 chassis/speakers.
Framework Laptop 13 Pro needs different tuning.
Before applying, ensure the speakers are set to 100%,
because the volumes compound and the raw speaker device will be hidden by default.
+1 -2
View File
@@ -3,10 +3,9 @@
imports = [
../../../common/pc/laptop
../../../common/pc/ssd
../../bluetooth.nix
../../kmod.nix
../../framework-tool.nix
./audio.nix
./classic-audio.nix
];
# Fix TRRS headphones missing a mic
@@ -0,0 +1,14 @@
# [Framework Laptop 13](https://frame.work/laptop13pro)
## Updating Firmware
Everything is updateable through fwupd, so it's enabled by default.
To get the latest firmware, run:
```sh
$ fwupdmgr refresh
$ fwupdmgr update
```
- [Latest Update](https://fwupd.org/lvfs/devices/work.frame.Laptop.PTL.BIOS.firmware)
@@ -0,0 +1,30 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [
../common
../common/intel.nix
];
# Everything is updateable through fwupd
services.fwupd.enable = true;
# Absolute minimum
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.17") (
lib.mkDefault pkgs.linuxPackages_latest
);
# Additional modules for touchscreen/touchpad in initrd (for unl0kr on-screen keyboard)
boot.initrd.kernelModules = lib.optionals config.boot.initrd.unl0kr.enable [
"intel_lpss_pci"
"i2c_hid_acpi"
"i2c_hid"
"hid_multitouch"
"hid_generic"
];
}
-1
View File
@@ -3,7 +3,6 @@
imports = [
../../../common/pc/laptop
../../../common/pc/ssd
../../bluetooth.nix
../../kmod.nix
../../framework-tool.nix
];
-55
View File
@@ -1,55 +0,0 @@
# There is apparently a bug that affects Framework computers that causes black
# screen on resume from sleep or hibernate with kernel version 6.11. Framework
# have published a workaround; this applies that workaround.
#
# https://fosstodon.org/@frameworkcomputer/113406887743149089
# https://github.com/FrameworkComputer/linux-docs/blob/main/hibernation/kernel-6-11-workarounds/suspend-hibernate-bluetooth-workaround.md#workaround-for-suspendhibernate-black-screen-on-resume-kernel-611
{
config,
lib,
pkgs,
...
# TODO: drop this if linux 6.11 goes EOL
}:
lib.mkIf
(
(config.boot.kernelPackages.kernelAtLeast "6.11") && (config.boot.kernelPackages.kernelOlder "6.12")
)
{
systemd.services = {
bluetooth-rfkill-suspend = {
description = "Soft block Bluetooth on suspend/hibernate";
before = [ "sleep.target" ];
unitConfig.StopWhenUnneeded = true;
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkgs.util-linux}/bin/rfkill block bluetooth";
ExecStartPost = "${pkgs.coreutils}/bin/sleep 3";
RemainAfterExit = true;
};
wantedBy = [
"suspend.target"
"hibernate.target"
"suspend-then-hibernate.target"
];
};
bluetooth-rfkill-resume = {
description = "Unblock Bluetooth on resume";
after = [
"suspend.target"
"hibernate.target"
"suspend-then-hibernate.target"
];
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkgs.util-linux}/bin/rfkill unblock bluetooth";
};
wantedBy = [
"suspend.target"
"hibernate.target"
"suspend-then-hibernate.target"
];
};
};
}
+9
View File
@@ -0,0 +1,9 @@
{ ... }:
{
imports = [
../../common/pc/laptop
../../common/pc/ssd
../../common/cpu/intel/alder-lake
];
}
+9
View File
@@ -0,0 +1,9 @@
{ ... }:
{
imports = [
../../common/pc/laptop
../../common/pc/ssd
../../common/cpu/intel/meteor-lake
];
}
+2 -9
View File
@@ -1,13 +1,12 @@
{ lib, pkgs, ... }:
let
inherit (lib) mkDefault mkIf;
inherit (lib) mkDefault;
in
{
imports = [
../../common/pc/laptop
../../common/pc/ssd
../../common/hidpi.nix
../../common/gpu/24.05-compat.nix
];
# Necessary kernel modules
@@ -22,12 +21,7 @@ in
boot.initrd.kernelModules = [ "i915" ]; # Early loading so the passphrase prompt appears on external displays
hardware.graphics.extraPackages = with pkgs; [
intel-media-driver
(
if (lib.versionOlder (lib.versions.majorMinor lib.version) "23.11") then
vaapiIntel
else
intel-vaapi-driver
)
intel-vaapi-driver
];
boot.kernelParams = [
@@ -46,7 +40,6 @@ in
# Per the documentation, antialiasing, hinting, etc. have no visible effect at such high pixel densities anyhow.
# Set manually, as the hiDPI module had incorrect settings prior to NixOS 22.11; see nixpkgs#194594.
hinting.enable = mkDefault false;
antialias = mkIf (lib.versionOlder (lib.versions.majorMinor lib.version) "22.11") false;
};
# More HiDPI settings
+1 -4
View File
@@ -10,10 +10,7 @@
"video=eDP-1:panel_orientation=right_side_up"
];
services.tlp.enable = lib.mkDefault (
(lib.versionOlder (lib.versions.majorMinor lib.version) "21.05")
|| !config.services.power-profiles-daemon.enable
);
services.tlp.enable = lib.mkDefault (!config.services.power-profiles-daemon.enable);
# Required for grub to properly display the boot menu.
boot.loader.grub.gfxmodeEfi = lib.mkDefault "720x1280x32";
+1 -1
View File
@@ -32,7 +32,7 @@
};
# Linux 5.15 sometimes crash under heavy network usage
systemd.watchdog.runtimeTime = lib.mkDefault "1min";
systemd.settings.Manager.RuntimeWatchdogSec = lib.mkDefault "1min";
hardware.deviceTree.filter = "meson-sm1-odroid-hc4.dtb";
}
+106
View File
@@ -0,0 +1,106 @@
# ODroid M1
Hardware support for the Hardkernel ODroid M1: https://www.hardkernel.com/shop/odroid-m1-with-8gbyte-ram/
## Building an SD Card Image
To create an initial SD card image for installation:
```nix
# flake.nix
{
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 }: rec {
nixosConfigurations.m1 = nixpkgs.lib.nixosSystem {
modules = [
"${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"
nixos-hardware.nixosModules.hardkernel-odroid-m1
./sdimage.nix
{
nixpkgs.hostPlatform.system = "aarch64-linux";
# Uncomment if cross-compiling from x86_64:
# nixpkgs.buildPlatform.system = "x86_64-linux";
}
];
};
images.m1 = nixosConfigurations.m1.config.system.build.sdImage;
};
}
```
```nix
# sdimage.nix
{ config, ... }:
{
imports = [ ./common.nix ];
sdImage = {
compressImage = false;
# Required for the system to boot
populateRootCommands = ''
${config.boot.loader.petitboot.populateCmd} -c ${config.system.build.toplevel} -d ./files/kboot.conf
'';
};
}
```
```nix
# common.nix
{ pkgs, ... }:
{
services.openssh.enable = true;
environment.systemPackages = [ pkgs.git ];
users.users.odroid = {
isNormalUser = true;
extraGroups = [ "wheel" ];
initialPassword = "odroid";
# openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAA..." ];
};
}
```
Build with:
```sh
nix build .#images.m1
```
## Ongoing Configuration
After booting the SD card image, run `nixos-generate-config` to generate
`hardware-configuration.nix` for your system. Then set up your configuration
flake:
```nix
# flake.nix
{
inputs = {
nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz";
nixos-hardware = {
url = "github:NixOS/nixos-hardware";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, nixos-hardware, ... }: {
nixosConfigurations.m1 = nixpkgs.lib.nixosSystem {
modules = [
nixos-hardware.nixosModules.hardkernel-odroid-m1
./common.nix
./configuration.nix
./hardware-configuration.nix
];
};
};
}
```
The module configures petitboot as the boot loader, so `nixos-rebuild switch`
works as usual.
+31
View File
@@ -0,0 +1,31 @@
{
config,
pkgs,
lib,
...
}:
{
imports = [
./petitboot
];
# Enable petitboot support.
boot.loader.petitboot.enable = lib.mkForce true;
# `nixos-rebuild` fails unless grub is explicitly disabled.
boot.loader.grub.enable = lib.mkForce false;
boot.initrd.availableKernelModules = [
"nvme"
];
# Petitboot uses this port and baud rate on the board's serial port. It's
# probably good to keep the options same for the running kernel for serial
# console access to work well.
boot.kernelParams = [ "console=ttyS2,1500000" ];
hardware.deviceTree.name = "rockchip/rk3568-odroid-m1.dtb";
# FIXME: The serial terminal does seem to throw random errors still, but that
# doesn't appear to crash anything. May need adjusted if you're
# actually using the GPIO.
}
@@ -0,0 +1,77 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.boot.loader.petitboot;
args = "-g ${toString cfg.configurationLimit} -n ${config.hardware.deviceTree.name}";
# The installer used when running nixos-rebuild switch or similar
installer = pkgs.replaceVarsWith {
src = ./install-petitboot.sh;
replacements = {
bash = pkgs.bash;
path = lib.makeBinPath [
pkgs.coreutils
pkgs.gnused
pkgs.gnugrep
];
};
name = "install-petitboot";
isExecutable = true;
};
# The installer used to write to SD card images
sdImageInstaller = pkgs.buildPackages.replaceVarsWith {
src = ./install-petitboot.sh;
replacements = {
bash = pkgs.buildPackages.bash;
path = lib.makeBinPath [
pkgs.buildPackages.coreutils
pkgs.buildPackages.gnused
pkgs.buildPackages.gnugrep
];
};
name = "install-petitboot-sd-image";
isExecutable = true;
};
in
{
options = {
boot.loader.petitboot = {
enable = lib.mkOption {
default = false;
type = lib.types.bool;
description = ''
Whether to enable the Petitboot bootloader.
'';
};
configurationLimit = lib.mkOption {
default = 10;
example = 5;
type = lib.types.int;
description = ''
Maximum number of configurations to display when booting.
'';
};
populateCmd = lib.mkOption {
type = lib.types.str;
readOnly = true;
description = ''
Contains the script used to populate petitboot when building an image.
Primarily used for sdImage.populateRootCommands.
'';
};
};
};
config = lib.mkIf cfg.enable {
system.build.installBootLoader = lib.mkForce "${installer} ${args} -c";
system.boot.loader.id = "petitboot";
boot.loader.petitboot.populateCmd = "${sdImageInstaller} ${args}";
};
}
@@ -0,0 +1,76 @@
#! @bash@/bin/bash -e
shopt -s nullglob
export PATH="/empty:@path@"
usage() {
echo "usage: $0 -c <path-to-default-configuration> -n <dtbName> [-g <num-generations>] [-d <target>]" >&2
exit 1
}
target=/kboot.conf
default= # Default configuration
numGenerations=0 # Number of other generations to include in the menu
while getopts "t:c:d:g:n:" opt; do
case "$opt" in
c) default="$OPTARG" ;;
g) numGenerations="$OPTARG" ;;
d) target="$OPTARG" ;;
n) dtbName="$OPTARG" ;;
\?) usage ;;
esac
done
[ "$default" = "" -o "$dtbName" = "" ] && usage
tmp=$target.tmp
# Echo out an kboot.conf menu entry
addEntry() {
local path=$(readlink -f "$1")
local tag="$2" # Generation number or 'default'
if ! test -e $path/kernel -a -e $path/initrd; then
return
fi
timestampEpoch=$(stat -L -c '%Z' $path)
timestamp=$(date "+%Y-%m-%d %H:%M" -d @$timestampEpoch)
nixosLabel="$(cat $path/nixos-version)"
extraParams="$(cat $path/kernel-params)"
local kernel=$(readlink -f "$path/kernel")
local initrd=$(readlink -f "$path/initrd")
local dtbs=$(readlink -f "$path/dtbs")
local id="nixos-$tag--$nixosLabel"
if [ "$tag" = "default" ]; then
echo "default=$id"
fi
echo -n "$id='"
echo -n "$kernel initrd=$initrd dtb=$dtbs/$dtbName "
echo -n "systemConfig=$path init=$path/init $extraParams"
echo "'"
}
echo "# Auto-generated by install-petitboot.sh, do not edit or remove" > $tmp
addEntry $default default >> $tmp
if [ "$numGenerations" -gt 0 ]; then
# Add up to $numGenerations generations of the system profile to the menu,
# in reverse (most recent to least recent) order.
for generation in $(
(cd /nix/var/nix/profiles && ls -d system-*-link) \
| sed 's/system-\([0-9]\+\)-link/\1/' \
| sort -n -r \
| head -n $numGenerations); do
link=/nix/var/nix/profiles/system-$generation-link
addEntry $link $generation
done >> $tmp
fi
mv -f $tmp $target
+34
View File
@@ -0,0 +1,34 @@
# HP Laptop 15s-fq1xxxx
## Warning
This option set may not be optimized to it's fullest. It's a carbon copy of the 14s-dq2024nf options, with Tiger Lake switched out for Ice Lake.
However, I still wanted to profit from the many optimizations provided by the library, so I'm leaving this as a starting point.
Here's the place I got the information from, they seem to be close enough to one another that not many changes are needed:
- https://browser.geekbench.com/v6/compute/4861426
- https://browser.geekbench.com/v6/cpu/15840711
- https://wiki.gentoo.org/wiki/Intel#Feature_support (for the gpu driver info. note that both Tiger and Ice Lake use the same driver)
## Device Information
Details from `tlp-stat`:
```
System = HP HP Laptop 15s-fq1xxx
BIOS = F.30
EC Firmware = 56.33
OS Release = NixOS 25.11 (Xanthusia)
Kernel = 6.18.5 #1-NixOS SMP PREEMPT_DYNAMIC Sun Jan 11 14:26:20 UTC 2026 x86_64
Init system = systemd
Boot mode = UEFI
Suspend mode = s2idle [deep]
```
`lspci` output:
```
00:02.0 VGA compatible controller: Intel Corporation Iris Plus Graphics G1 (Ice Lake) (rev 07)
```
+14
View File
@@ -0,0 +1,14 @@
{ config, lib, ... }:
{
imports = [
../../../common/cpu/intel/ice-lake
../../../common/pc
../../../common/pc/laptop
../../../common/pc/ssd
];
config = {
services.thermald.enable = lib.mkDefault true;
};
}
+1 -1
View File
@@ -2,7 +2,7 @@
{
# https://www.intel.com/content/www/us/en/products/sku/124967/intel-core-i58250u-processor-6m-cache-up-to-3-40-ghz/specifications.html
# this one works: https://nixos.wiki/wiki/Accelerated_Video_Playback
# this one works: https://wiki.nixos.org/wiki/Accelerated_Video_Playback
imports = [
../../../common/cpu/intel/kaby-lake
../../../common/pc
+3 -1
View File
@@ -1,3 +1,5 @@
# Huawei Matebook X Pro (2020)
This is a very standard device that needs little configuration. The module mainly imports the common modules for its CPU, GPU, SSD etc. and enables ppd for power management. Nvidia prime offload is also enabled. This configuration should work with all Matebook X Pro models from 2020 (MACHC-WA*) other than MACHC-WAH9L as it does not contain the Nvidia GPU.
This is a very standard device that needs little configuration. The module mainly imports the common modules for its CPU, GPU, SSD etc. and enables ppd for power management. Nvidia prime offload is also enabled. This configuration should work with all Matebook X Pro models from 2020 (MACHC-WA*) other than MACHC-WAH9L as it does not contain the Nvidia GPU.
Please also take a look at the `hardware.nvidia.primeBatterySaverSpecialisation ` to disable the dGPU to save battery.
+2 -5
View File
@@ -7,22 +7,19 @@
{
imports = [
../../common/cpu/intel/comet-lake
../../common/gpu/nvidia
../../common/gpu/intel/comet-lake
../../common/gpu/nvidia/pascal
../../common/gpu/nvidia/prime.nix
../../common/hidpi.nix
../../common/pc/laptop
../../common/pc/ssd
];
hardware.nvidia = {
modesetting.enable = lib.mkDefault true;
open = lib.mkDefault false;
nvidiaSettings = lib.mkDefault true;
prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
};
services.power-profiles-daemon.enable = lib.mkDefault true;
}
+43
View File
@@ -0,0 +1,43 @@
# NUC
## Tested Hardware
``` shellsession
$ lspci -nnn
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:4621] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics] [8086:46a6] (rev 0c)
00:06.0 PCI bridge [0604]: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 [8086:464d] (rev 02)
00:07.0 PCI bridge [0604]: Intel Corporation Alder Lake-P Thunderbolt 4 PCI Express Root Port #0 [8086:466e] (rev 02)
00:07.2 PCI bridge [0604]: Intel Corporation Alder Lake-P Thunderbolt 4 PCI Express Root Port #2 [8086:462f] (rev 02)
00:08.0 System peripheral [0880]: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator [8086:464f] (rev 02)
00:0a.0 Signal processing controller [1180]: Intel Corporation Platform Monitoring Technology [8086:467d] (rev 01)
00:0d.0 USB controller [0c03]: Intel Corporation Alder Lake-P Thunderbolt 4 USB Controller [8086:461e] (rev 02)
00:0d.2 USB controller [0c03]: Intel Corporation Alder Lake-P Thunderbolt 4 NHI #0 [8086:463e] (rev 02)
00:0d.3 USB controller [0c03]: Intel Corporation Alder Lake-P Thunderbolt 4 NHI #1 [8086:466d] (rev 02)
00:14.0 USB controller [0c03]: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller [8086:51ed] (rev 01)
00:14.2 RAM memory [0500]: Intel Corporation Alder Lake PCH Shared SRAM [8086:51ef] (rev 01)
00:14.3 Network controller [0280]: Intel Corporation Alder Lake-P PCH CNVi WiFi [8086:51f0] (rev 01)
00:15.0 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 [8086:51e8] (rev 01)
00:15.1 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 [8086:51e9] (rev 01)
00:16.0 Communication controller [0780]: Intel Corporation Alder Lake PCH HECI Controller [8086:51e0] (rev 01)
00:17.0 SATA controller [0106]: Intel Corporation Alder Lake-P SATA AHCI Controller [8086:51d3] (rev 01)
00:1d.0 PCI bridge [0604]: Intel Corporation Alder Lake PCI Express Root Port #9 [8086:51b0] (rev 01)
00:1f.0 ISA bridge [0601]: Intel Corporation Alder Lake PCH eSPI Controller [8086:5182] (rev 01)
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Alder Lake PCH-P High Definition Audio Controller [8086:51c8] (rev 01)
00:1f.4 SMBus [0c05]: Intel Corporation Alder Lake PCH-P SMBus Host Controller [8086:51a3] (rev 01)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Alder Lake-P PCH SPI Controller [8086:51a4] (rev 01)
01:00.0 Non-Volatile memory controller [0108]: Micron Technology Inc 2550 NVMe SSD (DRAM-less) [1344:5416] (rev 01)
72:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller I225-V [8086:15f3] (rev 03)
```
## Before Installation
These settings are needed both for booting the final install, and
installer itself. Therefore, they must be done first.
- Disable Secure Boot (but keep UEFI Boot).
# References
- [ASUS Product page](https://www.asus.com/supportonly/nuc12wshi7/helpdesk_qvl/) (formerly on Intel's site)
- [Arch Wiki on Intel NUC](https://wiki.archlinux.org/title/Intel_NUC)
+11
View File
@@ -0,0 +1,11 @@
{ lib, ... }:
{
imports = [
../../../common/cpu/intel/alder-lake
../../../common/pc
../../../common/pc/ssd
];
services.thermald.enable = lib.mkDefault true;
}
+11
View File
@@ -0,0 +1,11 @@
{ lib, ... }:
{
imports = [
../../../common/cpu/intel/kaby-lake
../../../common/pc
../../../common/pc/ssd
];
services.thermald.enable = lib.mkDefault true;
}
+1 -3
View File
@@ -70,9 +70,7 @@
# Workaround: Lenovo seems write bad acpi power management firmware. Without this config,
# suspend (to ram / disk) will simply reboot instead of power off. :(
sleep.extraConfig = ''
HibernateMode=shutdown
'';
sleep.settings.Sleep.HibernateMode = "shutdown";
};
# TPM2 module
-3
View File
@@ -1,8 +1,5 @@
{ lib, ... }:
{
imports = [
../../../../common/gpu/24.05-compat.nix
];
hardware = {
graphics = {
enable = lib.mkDefault true;
+12
View File
@@ -0,0 +1,12 @@
{ ... }:
{
imports = [
../.
../../../../../common/cpu/amd/pstate.nix
];
# Embedded controller wake-ups drain battery in s2idle on this device
# See https://lore.kernel.org/all/ZnFYpWHJ5Ml724Nv@ohnotp/
boot.kernelParams = [ "acpi.ec_no_wakeup=1" ];
}
+10
View File
@@ -0,0 +1,10 @@
{ lib, ... }:
{
imports = [
../.
../../../common/pc/ssd
];
hardware.enableRedistributableFirmware = lib.mkDefault true;
hardware.trackpoint.device = lib.mkDefault "TPPS/2 Elan TrackPoint";
}
+5
View File
@@ -0,0 +1,5 @@
{
imports = [
../.
];
}
@@ -0,0 +1,14 @@
{ lib, ... }:
{
imports = [
../.
../../../../../common/cpu/intel/alder-lake
../../../../../common/gpu/nvidia/prime.nix
../../../../../common/gpu/nvidia/turing
];
hardware.nvidia.prime = {
intelBusId = lib.mkDefault "PCI:0:2:0";
nvidiaBusId = lib.mkDefault "PCI:1:0:0";
};
}
@@ -0,0 +1,16 @@
{ lib, ... }:
{
imports = [
../.
../../../../../common/cpu/intel/meteor-lake
../../../../../common/gpu/nvidia/ada-lovelace
../../../../../common/gpu/nvidia/prime.nix
];
# NVIDIA PRIME hybrid graphics
# Use `nvidia-offload <command>` to run on discrete GPU
hardware.nvidia.prime = {
intelBusId = lib.mkDefault "PCI:0:2:0";
nvidiaBusId = lib.mkDefault "PCI:1:0:0";
};
}
-1
View File
@@ -1,7 +1,6 @@
{ config, lib, ... }:
{
imports = [
../../../common/gpu/24.05-compat.nix
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/maxwell
../../../common/cpu/intel/kaby-lake
-1
View File
@@ -1,7 +1,6 @@
{ lib, config, ... }:
{
imports = [
../../../common/gpu/24.05-compat.nix
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/pascal
../../../common/cpu/intel
+1 -1
View File
@@ -78,7 +78,7 @@ in
};
# https://github.com/jhovold/linux/wiki/X13s#modem
networking.networkmanager.fccUnlockScripts = [
networking.modemmanager.fccUnlockScripts = [
{
id = "105b:e0c3";
+4 -5
View File
@@ -1,4 +1,4 @@
{ pkgs, lib, ... }:
{ pkgs, ... }:
{
imports = [
@@ -14,8 +14,7 @@
path = "${pkgs.modemmanager}/share/ModemManager/fcc-unlock.available.d/${id}";
};
in
if lib.versionOlder lib.version "25.05pre" then
{ networkmanager.fccUnlockScripts = [ fcc_unlock_script ]; }
else
{ modemmanager.fccUnlockScripts = [ fcc_unlock_script ]; };
{
modemmanager.fccUnlockScripts = [ fcc_unlock_script ];
};
}
+23 -24
View File
@@ -6,6 +6,10 @@
}:
let
inherit (builtins)
attrNames
;
inherit (lib)
mkDefault
mkOption
@@ -13,31 +17,29 @@ let
versions
;
# Set the version and hash for the kernel sources
srcVersion =
with config.hardware.microsoft-surface;
if kernelVersion == "longterm" then
"6.12.19"
else if kernelVersion == "stable" then
"6.15.9"
else
abort "Invalid kernel version: ${kernelVersion}";
supportedKernels =
let
lts-kernel = {
version = "6.19.8";
hash = "sha256-qtpHItuLz6C5cyhRhW1AUIK2pPouOrBnvo2xfN0RWzg=";
};
srcHash =
with config.hardware.microsoft-surface;
if kernelVersion == "longterm" then
"sha256-1zvwV77ARDSxadG2FkGTb30Ml865I6KB8y413U3MZTE="
else if kernelVersion == "stable" then
"sha256-6U86+FSSMC96gZRBRY+AvKCtmRLlpMg8aZ/zxjxSlX0="
else
abort "Invalid kernel version: ${kernelVersion}";
in
{
"longterm" = lts-kernel;
"stable" = lts-kernel;
};
# Set the version and hash for the kernel sources
srcVersion = supportedKernels.${config.hardware.microsoft-surface.kernelVersion}.version;
srcHash = supportedKernels.${config.hardware.microsoft-surface.kernelVersion}.hash;
# Fetch the latest linux-surface patches
linux-surface = pkgs.fetchFromGitHub {
owner = "linux-surface";
repo = "linux-surface";
rev = "50d0ed6be462a5fdb643cfe8469bf69158afae42";
hash = "sha256-VEoZH3dFsLn9GnUyjnbOoJeTRM3KEQ9fhlMk03NXoXs=";
rev = "bf1921fc63f33d03a007fb38c4f88ff7e7bc1a55";
hash = "sha256-AV+J1iKpA4PEsX9oVUTGlzGerTWTermia3aJSZxuu/w=";
};
# Fetch and build the kernel
@@ -48,7 +50,7 @@ let
kernelPatches = surfacePatches {
version = srcVersion;
patchFn = ./kernel/${versions.majorMinor srcVersion}/patches.nix;
patchSrc = (linux-surface + "/patches/${versions.majorMinor srcVersion}");
patchSrc = linux-surface + "/patches/${versions.majorMinor srcVersion}";
};
kernelPackages = linuxPackage {
inherit kernelPatches;
@@ -61,10 +63,7 @@ in
{
options.hardware.microsoft-surface.kernelVersion = mkOption {
description = "Kernel Version to use (patched for MS Surface)";
type = types.enum [
"longterm"
"stable"
];
type = types.enum (attrNames supportedKernels);
default = "longterm";
};
@@ -10,7 +10,6 @@
name = "microsoft-surface-patches-linux-${version}";
patch = null;
structuredExtraConfig = with kernel; {
STAGING_MEDIA = yes;
##
## Surface Aggregator Module
##
@@ -50,6 +49,8 @@
##
CONFIG_HID_IPTS = module;
CONFIG_HID_ITHC = module;
CONFIG_INTEL_THC_HID = module;
CONFIG_INTEL_QUICKSPI = module;
##
## Cameras: IPU3
@@ -94,6 +95,7 @@
CONFIG_SURFACE_PRO3_BUTTON = module;
CONFIG_SURFACE_GPE = module;
CONFIG_SURFACE_BOOK1_DGPU_SWITCH = module;
CONFIG_HID_SURFACE = module;
};
}
{
@@ -156,4 +158,12 @@
name = "ms-surface/0015-rtc";
patch = patchSrc + "/0015-rtc.patch";
}
{
name = "ms-surface/0016-hid-surface";
patch = patchSrc + "/0016-hid-surface.patch";
}
{
name = "ms-surface/0017-powercap";
patch = patchSrc + "/0017-powercap.patch";
}
]
@@ -10,8 +10,6 @@
name = "microsoft-surface-patches-linux-${version}";
patch = null;
structuredExtraConfig = with kernel; {
STAGING_MEDIA = yes;
##
## Surface Aggregator Module
##
@@ -36,6 +34,8 @@
CONFIG_SENSORS_SURFACE_TEMP = module;
CONFIG_SENSORS_SURFACE_FAN = module;
CONFIG_RTC_DRV_SURFACE = module;
##
## Surface Hotplug
##
@@ -49,6 +49,8 @@
##
CONFIG_HID_IPTS = module;
CONFIG_HID_ITHC = module;
CONFIG_INTEL_THC_HID = module;
CONFIG_INTEL_QUICKSPI = module;
##
## Cameras: IPU3
@@ -79,12 +81,6 @@
##
CONFIG_APDS9960 = module;
##
## Build-in UFS support (required for some Surface Go devices)
##
CONFIG_SCSI_UFSHCD = module;
CONFIG_SCSI_UFSHCD_PCI = module;
##
## Other Drivers
##
@@ -93,6 +89,13 @@
CONFIG_SURFACE_PRO3_BUTTON = module;
CONFIG_SURFACE_GPE = module;
CONFIG_SURFACE_BOOK1_DGPU_SWITCH = module;
CONFIG_HID_SURFACE = module;
##
## HOTFIX FOR CVE-2026-31431
##
# CONFIG_CRYPTO_USER_API_AEAD is not set
};
}
{
@@ -100,8 +103,8 @@
patch = patchSrc + "/0001-secureboot.patch";
}
{
name = "ms-surface/0002-surface3-oemb";
patch = patchSrc + "/0002-surface3-oemb.patch";
name = "ms-surface/0002-surface3";
patch = patchSrc + "/0002-surface3.patch";
}
{
name = "ms-surface/0003-mwifiex";
@@ -120,35 +123,75 @@
patch = patchSrc + "/0006-ithc.patch";
}
{
name = "ms-surface/0007-surface-sam-over-hid";
patch = patchSrc + "/0007-surface-sam-over-hid.patch";
name = "ms-surface/0007-surface-sam";
patch = patchSrc + "/0007-surface-sam.patch";
}
{
name = "ms-surface/0008-surface-button";
patch = patchSrc + "/0008-surface-button.patch";
name = "ms-surface/0008-surface-sam-over-hid";
patch = patchSrc + "/0008-surface-sam-over-hid.patch";
}
{
name = "ms-surface/0009-surface-typecover";
patch = patchSrc + "/0009-surface-typecover.patch";
name = "ms-surface/0009-surface-button";
patch = patchSrc + "/0009-surface-button.patch";
}
{
name = "ms-surface/0010-surface-shutdown";
patch = patchSrc + "/0010-surface-shutdown.patch";
name = "ms-surface/0010-surface-typecover";
patch = patchSrc + "/0010-surface-typecover.patch";
}
{
name = "ms-surface/0011-surface-gpe";
patch = patchSrc + "/0011-surface-gpe.patch";
name = "ms-surface/0011-surface-shutdown";
patch = patchSrc + "/0011-surface-shutdown.patch";
}
{
name = "ms-surface/0012-cameras";
patch = patchSrc + "/0012-cameras.patch";
name = "ms-surface/0012-surface-gpe";
patch = patchSrc + "/0012-surface-gpe.patch";
}
{
name = "ms-surface/0013-amd-gpio";
patch = patchSrc + "/0013-amd-gpio.patch";
name = "ms-surface/0013-cameras";
patch = patchSrc + "/0013-cameras.patch";
}
{
name = "ms-surface/0014-rtc";
patch = patchSrc + "/0014-rtc.patch";
name = "ms-surface/0014-amd-gpio";
patch = patchSrc + "/0014-amd-gpio.patch";
}
{
name = "ms-surface/0015-rtc";
patch = patchSrc + "/0015-rtc.patch";
}
{
name = "ms-surface/0016-hid-surface";
patch = patchSrc + "/0016-hid-surface.patch";
}
{
name = "ms-surface/0017-dirtyfrag-xfrm-esp-avoid-in-place-decrypt-on-shared-skb-frags";
patch = patchSrc + "/0017-dirtyfrag-xfrm-esp-avoid-in-place-decrypt-on-shared-skb-frags.patch";
}
{
name = "ms-surface/0018-dirtyfrag-rxrpc-Fix-potential-UAF-after-skb_unshare-failure";
patch = patchSrc + "/0018-dirtyfrag-rxrpc-Fix-potential-UAF-after-skb_unshare-failure.patch";
}
{
name = "ms-surface/0019-dirtyfrag-rxrpc-Fix-rxrpc_input_call_event-to-only-unshare-DAT";
patch = patchSrc + "/0019-dirtyfrag-rxrpc-Fix-rxrpc_input_call_event-to-only-unshare-DAT.patch";
}
{
name = "ms-surface/0020-dirtyfrag-rxrpc-Fix-use-of-wrong-skb-when-comparing-queued-RES";
patch = patchSrc + "/0020-dirtyfrag-rxrpc-Fix-use-of-wrong-skb-when-comparing-queued-RES.patch";
}
{
name = "ms-surface/0021-dirtyfrag-rxrpc-only-handle-RESPONSE-during-service-challenge";
patch = patchSrc + "/0021-dirtyfrag-rxrpc-only-handle-RESPONSE-during-service-challenge.patch";
}
{
name = "ms-surface/0022-dirtyfrag-rxrpc-Fix-conn-level-packet-handling-to-unshare-RESP";
patch = patchSrc + "/0022-dirtyfrag-rxrpc-Fix-conn-level-packet-handling-to-unshare-RESP.patch";
}
{
name = "ms-surface/0023-dirtyfrag-rxrpc-Fix-re-decryption-of-RESPONSE-packets";
patch = patchSrc + "/0023-dirtyfrag-rxrpc-Fix-re-decryption-of-RESPONSE-packets.patch";
}
{
name = "ms-surface/0024-dirtyfrag-rxrpc-Also-unshare-DATA-RESPONSE-packets-when-paged-";
patch = patchSrc + "/0024-dirtyfrag-rxrpc-Also-unshare-DATA-RESPONSE-packets-when-paged-.patch";
}
]
+1 -1
View File
@@ -1,4 +1,4 @@
{ ... }:
_:
{
assertions = [
+5 -2
View File
@@ -5,8 +5,11 @@ Create and customize a `flake.nix` file:
```nix
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:nixos/nixos-hardware";
nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz";
nixos-hardware = {
url = "github:NixOS/nixos-hardware";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, nixos-hardware, ... }:
+12
View File
@@ -0,0 +1,12 @@
# Common configuration for Minisforum UM series mini PCs
# (UM690, UM690S, UM790 Pro)
{ ... }:
{
imports = [
../common/cpu/amd
../common/cpu/amd/pstate.nix
../common/gpu/amd
../common/pc/ssd
];
}
+56
View File
@@ -0,0 +1,56 @@
# Minisforum UM690
Mini PC with AMD Ryzen 9 6900HX (Rembrandt, Zen 3+) and Radeon 680M integrated graphics.
## Features
- AMD Ryzen 9 6900HX processor
- AMD Radeon 680M integrated GPU
- NVMe SSD support
- USB4/Thunderbolt support
- 2.5GbE Ethernet (Intel I225-V)
- Wi-Fi 6E (MediaTek MT7921K)
## Tested Hardware
```
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Root Complex [1022:14b5] (rev 01)
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h IOMMU [1022:14b6]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge [1022:14b8]
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:02.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge [1022:14ba]
00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge [1022:14ba]
00:02.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge [1022:14ba]
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel [1022:14cd]
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h Internal PCIe GPP Bridge [1022:14b9] (rev 10)
00:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h Internal PCIe GPP Bridge [1022:14b9] (rev 10)
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 71)
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 0 [1022:1679]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 1 [1022:167a]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 2 [1022:167b]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 3 [1022:167c]
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 4 [1022:167d]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 5 [1022:167e]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 6 [1022:167f]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 7 [1022:1680]
01:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM2142/ASM3142 USB 3.1 Host Controller [1b21:2142]
02:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller I225-V [8086:15f3] (rev 03)
03:00.0 Network controller [0280]: MEDIATEK Corp. MT7921K (RZ608) Wi-Fi 6E 80MHz [14c3:0608]
04:00.0 Non-Volatile memory controller [0108]: Kingston Technology Company, Inc. OM8PGP4 NVMe PCIe SSD (DRAM-less) [2646:501b]
35:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] [1002:1681] (rev c7)
35:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
35:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP [1022:1649]
35:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #3 [1022:161d]
35:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #4 [1022:161e]
35:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor [1022:15e2] (rev 60)
35:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h/1ah HD Audio Controller [1022:15e3]
36:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #8 [1022:161f]
36:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #5 [1022:15d6]
36:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #6 [1022:15d7]
36:00.5 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4/Thunderbolt NHI controller #1 [1022:162e]
```
+9
View File
@@ -0,0 +1,9 @@
# Minisforum UM690
# AMD Ryzen 9 6900HX (Rembrandt, Zen 3+), Radeon 680M
{ ... }:
{
imports = [
../um-series.nix
];
}
+56
View File
@@ -0,0 +1,56 @@
# Minisforum UM690S
Slim variant of the UM690 mini PC with AMD Ryzen 9 6900HX (Rembrandt, Zen 3+) and Radeon 680M integrated graphics.
## Features
- AMD Ryzen 9 6900HX processor
- AMD Radeon 680M integrated GPU
- NVMe SSD support
- USB4/Thunderbolt support
- 2.5GbE Ethernet (Intel I226-V)
- Wi-Fi 6E (MediaTek MT7921)
## Tested Hardware
```
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Root Complex [1022:14b5] (rev 01)
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h IOMMU [1022:14b6]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge [1022:14b8]
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:02.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge [1022:14ba]
00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge [1022:14ba]
00:02.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge [1022:14ba]
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel [1022:14cd]
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h Internal PCIe GPP Bridge [1022:14b9] (rev 10)
00:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h Internal PCIe GPP Bridge [1022:14b9] (rev 10)
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 71)
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 0 [1022:1679]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 1 [1022:167a]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 2 [1022:167b]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 3 [1022:167c]
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 4 [1022:167d]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 5 [1022:167e]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 6 [1022:167f]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 7 [1022:1680]
01:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM2142/ASM3142 USB 3.1 Host Controller [1b21:2142]
02:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller I226-V [8086:125c] (rev 04)
03:00.0 Network controller [0280]: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Adapter [14c3:7961]
04:00.0 Non-Volatile memory controller [0108]: Kingston Technology Company, Inc. OM8PGP4 NVMe PCIe SSD (DRAM-less) [2646:501b]
35:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] [1002:1681] (rev c7)
35:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
35:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP [1022:1649]
35:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #3 [1022:161d]
35:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #4 [1022:161e]
35:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor [1022:15e2] (rev 60)
35:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h/1ah HD Audio Controller [1022:15e3]
36:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #8 [1022:161f]
36:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #5 [1022:15d6]
36:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #6 [1022:15d7]
36:00.5 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4/Thunderbolt NHI controller #1 [1022:162e]
```
+10
View File
@@ -0,0 +1,10 @@
# Minisforum UM690S
# AMD Ryzen 9 6900HX (Rembrandt, Zen 3+), Radeon 680M
# Slim variant of UM690
{ ... }:
{
imports = [
../um-series.nix
];
}
+58
View File
@@ -0,0 +1,58 @@
# Minisforum UM790 Pro
Mini PC with AMD Ryzen 9 7940HS (Phoenix, Zen 4) and Radeon 780M integrated graphics.
## Features
- AMD Ryzen 9 7940HS processor
- AMD Radeon 780M integrated GPU (RDNA 3)
- NVMe SSD support
- USB4/Thunderbolt support
- 2.5GbE Ethernet (Realtek RTL8125)
- Wi-Fi 6E (Intel AX210)
## Tested Hardware
```
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Root Complex [1022:14e8]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Phoenix IOMMU [1022:14e9]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Host Bridge [1022:14ea]
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Host Bridge [1022:14ea]
00:02.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Phoenix GPP Bridge [1022:14ee]
00:02.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Phoenix GPP Bridge [1022:14ee]
00:02.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Phoenix GPP Bridge [1022:14ee]
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Host Bridge [1022:14ea]
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel [1022:14ef]
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Host Bridge [1022:14ea]
00:04.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel [1022:14ef]
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Host Bridge [1022:14ea]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Phoenix Internal GPP Bridge to Bus [C:A] [1022:14eb]
00:08.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Phoenix Internal GPP Bridge to Bus [C:A] [1022:14eb]
00:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Phoenix Internal GPP Bridge to Bus [C:A] [1022:14eb]
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 71)
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 0 [1022:14f0]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 1 [1022:14f1]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 2 [1022:14f2]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 3 [1022:14f3]
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 4 [1022:14f4]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 5 [1022:14f5]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 6 [1022:14f6]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 7 [1022:14f7]
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
02:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6E(802.11ax) AX210/AX1675* 2x2 [Typhoon Peak] [8086:2725] (rev 1a)
03:00.0 Non-Volatile memory controller [0108]: Kingston Technology Company, Inc. OM8PGP4 NVMe PCIe SSD (DRAM-less) [2646:501b]
c4:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev c1)
c4:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
c4:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Phoenix CCP/PSP 3.0 Device [1022:15c7]
c4:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b9]
c4:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15ba]
c4:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor [1022:15e2] (rev 63)
c4:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h/1ah HD Audio Controller [1022:15e3]
c5:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Function [1022:14ec]
c6:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Function [1022:14ec]
c6:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15c0]
c6:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15c1]
c6:00.5 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Pink Sardine USB4/Thunderbolt NHI controller #1 [1022:1668]
c6:00.6 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Pink Sardine USB4/Thunderbolt NHI controller #2 [1022:1669]
```
+9
View File
@@ -0,0 +1,9 @@
# Minisforum UM790 Pro
# AMD Ryzen 9 7940HS (Phoenix, Zen 4), Radeon 780M
{ ... }:
{
imports = [
../um-series.nix
];
}
+15 -4
View File
@@ -13,35 +13,46 @@ stdenv.mkDerivation {
cp -r --reflink=auto ${kernelSource}/* linux
chmod +w -R .
env --chdir=linux QUILT_PATCHES=debian/patches quilt new reform/dts.patch
env --chdir=linux QUILT_PATCHES=debian/patches quilt add arch/arm64/boot/dts/freescale/fsl-ls1028a-mnt-reform2.dts
cp fsl-ls1028a-mnt-reform2.dts linux/arch/arm64/boot/dts/freescale/fsl-ls1028a-mnt-reform2.dts
env --chdir=linux QUILT_PATCHES=debian/patches quilt add arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2-hdmi.dts
cp imx8mq-mnt-reform2-hdmi.dts linux/arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2-hdmi.dts
env --chdir=linux QUILT_PATCHES=debian/patches quilt add arch/arm64/boot/dts/freescale/Makefile
sed -i '/fsl-ls1028a-rdb.dtb/a dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-mnt-reform2.dtb' linux/arch/arm64/boot/dts/freescale/Makefile
sed -i '/imx8mq-mnt-reform2.dtb/a dtb-$(CONFIG_ARCH_MXC) += imx8mq-mnt-reform2-hdmi.dtb' linux/arch/arm64/boot/dts/freescale/Makefile
env --chdir=linux QUILT_PATCHES=debian/patches quilt add arch/arm64/boot/dts/freescale/imx8mp-mnt-pocket-reform.dts
cp imx8mp-mnt-pocket-reform.dts linux/arch/arm64/boot/dts/freescale/imx8mp-mnt-pocket-reform.dts
env --chdir=linux QUILT_PATCHES=debian/patches quilt add arch/arm64/boot/dts/freescale/imx8mp-mnt-reform2.dts
cp imx8mp-mnt-reform2.dts linux/arch/arm64/boot/dts/freescale/imx8mp-mnt-reform2.dts
env --chdir=linux QUILT_PATCHES=debian/patches quilt add arch/arm64/boot/dts/freescale/Makefile
sed -i '/fsl-ls1028a-rdb.dtb/a dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-mnt-reform2.dtb' linux/arch/arm64/boot/dts/freescale/Makefile
sed -i '/imx8mq-mnt-reform2.dtb/a dtb-$(CONFIG_ARCH_MXC) += imx8mq-mnt-reform2-hdmi.dtb' linux/arch/arm64/boot/dts/freescale/Makefile
sed -i '/imx8mq-mnt-reform2.dtb/a dtb-$(CONFIG_ARCH_MXC) += imx8mp-mnt-pocket-reform.dtb' linux/arch/arm64/boot/dts/freescale/Makefile
sed -i '/imx8mq-mnt-reform2.dtb/a dtb-$(CONFIG_ARCH_MXC) += imx8mp-mnt-reform2.dtb' linux/arch/arm64/boot/dts/freescale/Makefile
env --chdir=linux QUILT_PATCHES=debian/patches quilt add arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4-mnt-pocket-reform.dts
cp meson-g12b-bananapi-cm4-mnt-pocket-reform.dts linux/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4-mnt-pocket-reform.dts
env --chdir=linux QUILT_PATCHES=debian/patches quilt add arch/arm64/boot/dts/amlogic/Makefile
sed -i '/meson-g12b-bananapi-cm4-mnt-reform2.dtb/a dtb-$(CONFIG_ARCH_MESON) += meson-g12b-bananapi-cm4-mnt-pocket-reform.dtb' linux/arch/arm64/boot/dts/amlogic/Makefile
env --chdir=linux QUILT_PATCHES=debian/patches quilt add arch/arm64/boot/dts/rockchip/rk3588-mnt-reform2.dts
cp rk3588-mnt-reform2.dts linux/arch/arm64/boot/dts/rockchip/rk3588-mnt-reform2.dts
env --chdir=linux QUILT_PATCHES=debian/patches quilt add arch/arm64/boot/dts/rockchip/rk3588-mnt-reform2-dsi.dts
cp rk3588-mnt-reform2-dsi.dts linux/arch/arm64/boot/dts/rockchip/rk3588-mnt-reform2-dsi.dts
env --chdir=linux QUILT_PATCHES=debian/patches quilt add arch/arm64/boot/dts/rockchip/rk3588-mnt-pocket-reform.dts
cp rk3588-mnt-pocket-reform.dts linux/arch/arm64/boot/dts/rockchip/rk3588-mnt-pocket-reform.dts
env --chdir=linux QUILT_PATCHES=debian/patches quilt add arch/arm64/boot/dts/rockchip/rk3588-mnt-desktop-reform.dts
cp rk3588-mnt-desktop-reform.dts linux/arch/arm64/boot/dts/rockchip/rk3588-mnt-desktop-reform.dts
env --chdir=linux QUILT_PATCHES=debian/patches quilt add arch/arm64/boot/dts/rockchip/rk3588-mnt-reform-next.dts
cp rk3588-mnt-reform-next.dts linux/arch/arm64/boot/dts/rockchip/rk3588-mnt-reform-next.dts
env --chdir=linux QUILT_PATCHES=debian/patches quilt add arch/arm64/boot/dts/rockchip/Makefile
sed -i '/rk3588-mnt-reform2.dtb/a dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-mnt-reform2-dsi.dtb' linux/arch/arm64/boot/dts/rockchip/Makefile
sed -i '/rk3588-mnt-reform2-dsi.dtb/a dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-mnt-reform-next.dtb' linux/arch/arm64/boot/dts/rockchip/Makefile
sed -i '/rk3588-mnt-reform-next.dtb/a dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-mnt-pocket-reform.dtb' linux/arch/arm64/boot/dts/rockchip/Makefile
sed -i '/rk3588-mnt-reform2-dsi.dtb/a dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-mnt-pocket-reform.dtb' linux/arch/arm64/boot/dts/rockchip/Makefile
sed -i '/rk3588-mnt-pocket-reform.dtb/a dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-mnt-desktop-reform.dtb' linux/arch/arm64/boot/dts/rockchip/Makefile
sed -i '/rk3588-mnt-pocket-reform.dtb/a dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-mnt-reform-next.dtb' linux/arch/arm64/boot/dts/rockchip/Makefile
env --chdir=linux QUILT_PATCHES=debian/patches quilt refresh
cp linux/debian/patches/reform/dts.patch $out
'';
+9 -7
View File
@@ -26,7 +26,7 @@ let
src = fetchzip {
url = "mirror://kernel/linux/kernel/v${lib.versions.major modDirVersion}.x/linux-${modDirVersion}.tar.xz";
hash = "sha256-PLMxGXbKztn4MubhKVqSCSzf+UYL50NI48bikMxgghg=";
hash = "sha256-cdQbdColRBCzQPWojIVpLs6Rmuk91bBPtqf8DsmkSxU=";
};
kernelPatches =
@@ -101,10 +101,17 @@ let
ARM_IMX_CPUFREQ_DT = yes;
ARM_IMX_BUS_DEVFREQ = yes;
IMX_IRQSTEER = yes;
PWM_FSL_FTM = yes;
FSL_RCPM = yes;
VIDEO_DW100 = module;
IMX_AIPSTZ = module;
IMX_DSP = module;
IMX_REMOTEPROC = module;
IMX_DSP_REMOTEPROC = module;
PCI_MESON = yes;
DWMAC_MESON = module;
MDIO_BUS_MUX_MESON_G12A = yes;
MDIO_BUS_MUX_MESON_G12A = module;
I2C_MESON = yes;
PWM_MESON = yes;
USB_DWC3_MESON_G12A = yes;
@@ -113,9 +120,6 @@ let
MESON_DDR_PMU = yes;
RTW88_8822CS = module;
PWM_FSL_FTM = yes;
FSL_RCPM = yes;
ARCH_ROCKCHIP = yes;
# ARM_ROCKCHIP_CPUFREQ = module; # configuration option does not exist
DRM_PANTHOR = module;
@@ -134,8 +138,6 @@ let
REGULATOR_FIXED_VOLTAGE = yes;
GPIO_ROCKCHIP = yes;
PL330_DMA = yes;
DRM_ZYNQMP_DPSUB = no; # patches for 6.17 break this driver
};
}
// (args.argsOverride or { })
Loaded 100 of 156 files, more files were not shown because too many files have changed in this diff. Show more