Compare commits

..

1983 commits

Author SHA1 Message Date
Jörg Thalheim 52113c4f5c
Merge pull request #1668 from concatime/fix/rename-modules
Rename some modules to their correct names
2025-11-06 21:07:11 +00:00
Issam E. Maghni fc4c7c6ec7 meta: rename module to pcie-brcmstb
https://github.com/torvalds/linux/blob/v6.17/drivers/pci/controller/Makefile#L37
2025-11-06 15:05:04 -05:00
Issam E. Maghni 744975050f meta: rename module to usb-storage
https://github.com/torvalds/linux/blob/v6.17/drivers/usb/storage/Kconfig#L23-L24
> To compile this driver as a module, choose M here: the
> module will be called usb-storage.
2025-11-06 15:05:04 -05:00
Jörg Thalheim 24084931d8
Merge pull request #1661 from HyprGirl/master
asus/zephyrus/ga401iv: init
2025-11-06 11:05:22 +00:00
Jörg Thalheim 3e24540eb9
Merge pull request #1663 from concatime/feat/add-only-wireless-firmwares
raspberry-pi/4: add only wireless firmwares
2025-11-06 11:04:51 +00:00
Jörg Thalheim bd47664211
Merge pull request #1667 from concatime/feat/add-genet-module-to-initrd-if-netboot
raspberry-pi/4: add genet module to initrd if netboot
2025-11-06 11:04:33 +00:00
Jörg Thalheim be02d168e7
Merge pull request #1657 from NixOS/no-instantiate
speed up ci
2025-11-06 11:03:32 +00:00
Jörg Thalheim f34ca8045a mnt/reform: stop doing ifd 2025-11-06 11:27:57 +01:00
Jörg Thalheim ec18896955 librem/5r4/u-boot: update and use newer compiler 2025-11-06 11:21:16 +01:00
Jörg Thalheim 64269645d4 star64: add missing names to kernel patches 2025-11-06 11:14:48 +01:00
Jörg Thalheim d1ad892e3b helios4: add missing names to kernel patches 2025-11-06 11:14:03 +01:00
Issam E. Maghni ec135126c1 raspberry-pi/4: add genet module to initrd if netboot
This module is required to have Ethernet in initial RAM disk.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

```console
❯ nix flake lock --verbose
warning: updating lock file '"/home/pancho/sandbox/NixOS/nixos-hardware/flake.lock"':
• Removed input 'nixpkgs'
```
2025-08-08 07:17:15 +02:00
0x4A6F 26ed7a0d4b
Merge pull request #1552 from FrameworkComputer/framework-desktop
framework: Add Framework Desktop
2025-08-07 10:54:08 +00:00
0x4A6F cd88704818
Merge pull request #1551 from FrameworkComputer/framework12-tabletmode
framework/12-inch: Fix tabletmode
2025-08-07 10:53:29 +00:00
Daniel Schaefer df02f4f16a framework/12-inch: Fix tabletmode on some kernels
NixOS kernels don't have pinctrl_tigerlake built-in, we need to make
sure it loads before soc_button_array. Adding it to the initrd ensures
that.

Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2025-08-07 18:09:04 +08:00
Daniel Schaefer 659b41d59c framework/desktop: Add minimum kernel version
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2025-08-07 18:07:43 +08:00
Daniel Schaefer 9157552825 framework: Add Framework Desktop
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2025-08-07 18:07:18 +08:00
Nicky Mouha 8972e6538b
framework/13-inch/intel-core-ultra-series1: revert #1358 (fix intel_vpu firmware error -2) 2025-08-06 13:04:39 -04:00
0x4A6F 9368056b73
Merge pull request #1564 from 0x4A6F/master-framework-13-amd-ai-300-series-kernel-fixup
framework-amd-ai-300-series: mkDefault boot.kernelPackages
2025-08-04 14:07:56 +00:00
0x4A6F 547c96d797
framework-amd-ai-300-series: mkDefault boot.kernelPackages 2025-08-04 12:42:15 +02:00
Jörg Thalheim a872d98539
Merge pull request #1563 from 0x4A6F/master-framework-13-amd-ai-300-series-kernel
framework-amd-ai-300-series: bump kernel to latest for suspend support
2025-08-03 14:03:14 +00:00
0x4A6F d99ca4e5f4
framework-amd-ai-300-series: bump kernel to latest for suspend support 2025-08-03 14:07:00 +02:00
Flameopathic 26c9d90663 lenovo/yoga/7/14ILL10: update kernel version requirement 2025-08-02 22:53:06 -04:00
matthiasdotsh f30fc54b0e surface: linux 6.15.6 -> 6.15.9 2025-08-01 12:45:10 +02:00
florian c92f8fc536
style: apply formatter 2025-07-31 15:42:08 +02:00
suzana2314 28fc41508c
lenovo-legion-15ach6h: added hybrid and nvidia configurations 2025-07-28 18:51:21 +01:00
omeyemburg 85070738e9
macbook-pro/8-1: remove redundant line in readme 2025-07-27 11:50:21 +02:00
omeyemburg 1f7ed6211f
macbook-pro/12-1: remove redundant bracket in readme 2025-07-27 11:49:59 +02:00
Rituraj 37d0301b3c
Removed enableAllFirmware, BT doesn't rely on it 2025-07-26 18:13:24 +05:30
Ace-h121 c46bd952e9 Forgot to add lib.mkDefault 2025-07-23 23:13:43 -04:00
Ace-h121 25fdfb36a7 Adding Power Management on Asus fa507nv
I personally own this laptop, I am running gnome and on sleep the
graphics always corrupt without fail, this setting has been the only way
to correct it.
2025-07-23 23:07:00 -04:00
Aaron Adams 19b899ead6
Merge branch 'master' into dell-precision-5570 2025-07-24 10:33:29 +08:00
fidgetingbits b90855f92a
Added Dell Precision 5570 2025-07-24 10:31:11 +08:00
Jörg Thalheim cc66fddc6c
Merge pull request #1525 from shinishiho/patch-1
asus: fix charge-upto script
2025-07-21 18:32:21 +00:00
Jörg Thalheim e792f2f4ac
Merge pull request #1526 from pokon548/fix-flip_done-timeout
Add flip_done timeout workaround for 14IMH9
2025-07-21 18:31:26 +00:00
Jörg Thalheim 5efc6e9418
Merge pull request #1537 from LucasFA/init-nuc5i5RYB
init: NUC 5i5RYB
2025-07-21 18:13:43 +00:00
Jörg Thalheim 2b75e96d0d
Merge pull request #1538 from matthiasdotsh/ms-surface/update-kernel-6.15.6
surface: linux 6.15.3 -> 6.15.6
2025-07-21 18:13:16 +00:00
0x4A6F d1bfa8f6cc
Merge pull request #1527 from anna-oake/patch-1
framework-intel-core-ultra-series1: preset device name for audio enhancement
2025-07-16 11:50:37 +00:00
Anna Oake 95ee2804d7 framework-intel-core-ultra-series1: preset device name for audio enhancement 2025-07-15 13:31:45 +02:00
matthiasdotsh 8ea54c025e surface: linux 6.15.3 -> 6.15.6 2025-07-14 17:09:26 +02:00
LucasFA 9410081079 init: NUC 5i5RYB 2025-07-13 12:47:18 +01:00
Jörg Thalheim 7ced9122cf
Merge pull request #1532 from NixOS/add-missing-pr
added inspiron 3442 to the flake
2025-07-09 08:16:00 +00:00
Rituraj 323366c51c added inspiron 3442 to the flake 2025-07-09 09:56:25 +02:00
Jasper Chan 6015af43f3 raspberry-pi/4: support 4lane csi 2025-07-08 12:26:38 -07:00
Bu Kun 41f2cad3f9
Add flip_done timeout workaround for 14IMH9 2025-07-06 19:21:15 +08:00
Đỗ Quang Minh 1828627b08
asus: fix charge-upto script 2025-07-04 06:48:03 +07:00
Jörg Thalheim 497ae1357f
Merge pull request #1516 from RossComputerGuy/feat/system76-thelio-mega
Add System76 Thelio Mega module
2025-07-02 05:05:11 +00:00
Jörg Thalheim d2a1b158ac
Merge pull request #1522 from Rishabh5321/master
xiaomi/redmibook/15-pro-2021: fix declaration of device.
2025-07-02 05:04:43 +00:00
Tristan Ross 3b622ae6e6
Add System76 Thelio Mega module 2025-07-01 21:13:30 -07:00
Rishabh a724614b86 xiaomi/redmibook/15-pro-2021: fix flake.nix 2025-07-02 07:52:52 +05:30
florianvazelle 66e88bdcaa asus/rog-gl552vw: init 2025-07-01 22:15:31 +02:00
Jörg Thalheim f49bb3b410
Merge pull request #1521 from NixOS/add-git-blame-ignore-revs
Add git blame ignore revs
2025-07-01 18:18:26 +00:00
Jörg Thalheim e8bd6a44ac disable treefmt on riscv64 2025-07-01 20:02:30 +02:00
Jörg Thalheim 72cdb22463 add script to update nar hashes in tests 2025-07-01 19:31:14 +02:00
Jörg Thalheim 1ead2d05dd bump nixos-stable/nixos-unstable 2025-07-01 19:30:42 +02:00
Jörg Thalheim bd65595c6d Add .git-blame-ignore-revs file for auto-rebasing 2025-07-01 19:27:33 +02:00
Jörg Thalheim b2c7dee5c6 ci: support for merge queues 2025-07-01 19:19:15 +02:00
Jörg Thalheim a7600cef40 move treefmt to tests flake
this way we don't polute our consumers flake.lock with treefmt
2025-07-01 19:16:10 +02:00
Andre fe49c326d5 chore: add formatting job to GitHub Actions 2025-07-01 19:04:56 +02:00
Jörg Thalheim c26dd9b171
Merge pull request #1496 from 8bitbuddhist/nixfmt
chore: format repo using treefmt-nix and nixfmt-rfc-style
2025-07-01 19:03:13 +02:00
Andre c3f13f2610 Remove GitHub action requirement 2025-07-01 11:30:09 -04:00
Andre 9ac3df2a02 Remove GitHub action 2025-07-01 11:26:23 -04:00
Andre 6038f6ebd2 Merge remote-tracking branch 'upstream/master' into nixfmt 2025-07-01 11:26:06 -04:00
Jörg Thalheim 8b1f894089
Merge pull request #1510 from 8bitbuddhist/surface-kernel-6.15
feat: update Surface stable kernel to 6.15.3
2025-07-01 16:12:10 +02:00
Jörg Thalheim 5e1493ea8e
Merge pull request #1517 from soopyc/apple-t2-updates
apple/t2: kernel 6.14 -> 6.15; sync patches
2025-07-01 16:08:39 +02:00
Jörg Thalheim 2f60f86b35
Merge pull request #1518 from QuietSeeker/patch-1
Updated hybrid nvidia offload mode to include amd video drivers
2025-07-01 16:08:30 +02:00
QuietSeeker d4b603125e
Updated nvidia offload mode to include amd drivers 2025-06-26 19:49:43 +01:00
Cassie Cheung 42dedc0579
apple/t2: kernel 6.14 -> 6.15; sync patches 2025-06-25 17:43:58 +08:00
Jörg Thalheim 98236410ea
Merge pull request #1511 from pbsds/team-link
README: fix team url
2025-06-25 09:48:35 +02:00
Peder Bergebakken Sundt 3a17771215 README: fix team url 2025-06-23 01:51:09 +02:00
Andre 5c3827a686
Merge branch 'NixOS:master' into surface-kernel-6.15 2025-06-22 15:05:52 -04:00
Andre dcbb69f9bc feat: update Surface stable kernel to 6.15.3 2025-06-22 11:55:13 -04:00
Jörg Thalheim 1552a9f451 add community meetings to CONTRIBUTING.md 2025-06-20 15:00:36 +00:00
Andre 700dbb6c69 Merge remote-tracking branch 'upstream/master' into nixfmt 2025-06-20 10:18:49 -04:00
Jörg Thalheim 0bd5083d8f
Merge pull request #1504 from AlexAntonik/master
add module names to README, add missing modulle declaration, fix typos
2025-06-20 16:13:15 +02:00
AlexAntonik e9a0908c62 flake.nix: add more distinct common modules import support 2025-06-20 01:21:04 +03:00
AlexAntonik 66b2b86107 add module names to README, add missing modulle declaration, fix typos
Signed-off-by: AlexAntonik <antonikavv@gmail.com>
2025-06-18 22:48:44 +03:00
Jörg Thalheim 61837d2a33
Merge pull request #1501 from imxade/patch-1
removed explicit gpu mention as it's included in cpu profile
2025-06-16 16:16:41 +02:00
Jörg Thalheim 1914abc5bc
Merge pull request #1502 from Biaogo/lenovo-16iah7h
Add 16iah7h
2025-06-16 16:16:26 +02:00
Biaogo 9b86fa5d67 Add 16iah7h 2025-06-16 22:11:03 +08:00
Rituraj 16aad554b0
removed explicit gpu mention as it's included in cpu profile 2025-06-15 20:07:14 +05:30
Jörg Thalheim db030f62a4
Merge pull request #1500 from Rishabh5321/master
xiaomi/redmibook/15-pro-2021: init
2025-06-13 18:34:00 +02:00
Rishabh 88c842d260 xiaomi/redmibook/15-pro-2021: init 2025-06-13 19:48:44 +05:30
Jörg Thalheim b328aa7871
Merge pull request #1497 from imxade/patch-1
added inspiron 3442 to the flake
2025-06-13 11:52:36 +02:00
Jörg Thalheim fed1752842
Merge pull request #1498 from kip93/infinitybook-gen9-amd
Add support for TUXEDO InfinityBook Pro AMD Gen9
2025-06-13 11:52:12 +02:00
Jörg Thalheim a52bd9d655
Merge pull request #1499 from Weathercold/redmibook-16-pro-2024
xiaomi/redmibook/16-pro-2024: remove boot fix
2025-06-13 11:51:37 +02:00
Weathercold 62acc1db8e
xiaomi/redmibook/16-pro-2024: remove boot fix
This option was enabled in the NixOS kernel config in
https://github.com/NixOS/nixpkgs/pull/410324
2025-06-11 00:40:03 -04:00
Andre 511ea8f1e9 Merge remote-tracking branch 'upstream/master' into nixfmt 2025-06-07 11:30:37 -04:00
Leandro Reina ddd49b38e4 Forgot README 2025-06-06 20:03:11 +02:00
Leandro Reina 12b4b1a929 Add support for TUXEDO InfinityBook Pro AMD Gen9 2025-06-06 19:38:14 +02:00
Jörg Thalheim 4602f7e1d3
Merge pull request #1491 from s1syph0s/pr-3490
dell-precision-3490: add variant without nvidia GPU
2025-06-06 09:39:11 +02:00
Pasha Fistanto 293b5e472b dell-precision-3490: split into intel and nvidia configurations
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2025-06-06 09:13:21 +02:00
Rituraj 34762bf406
added inspiron 3442 to the flake 2025-06-06 08:12:58 +05:30
Andre 2b0ced06c1 chore: add formatting job to GitHub Actions 2025-06-04 13:39:40 -04:00
Jörg Thalheim 029bd66faa
Merge pull request #1495 from Malix-Labs/patch-2
enhance(docs): clarify confusing acronym
2025-06-04 18:59:41 +02:00
Andre 51e51e6014 chore: format repo using treefmt-nix and nixfmt-rfc-style 2025-06-04 12:35:54 -04:00
Malix 938f82a4a9
remove confusing acronym 2025-06-03 17:16:00 +02:00
Jörg Thalheim fc7c471412
Merge pull request #1493 from keanuk/lenovo-thinkpad-p14s-amd-gen5
Lenovo ThinkPad P14s AMD Gen 5: init
2025-06-03 11:14:01 +02:00
Jörg Thalheim 9d856ebdf1
Merge pull request #1494 from dannyfreeman/master
Address libusb rename in pinebook configuration for issue #1488
2025-06-03 11:13:41 +02:00
Danny Freeman fb5a14bdd9
Merge branch 'NixOS:master' into master 2025-06-02 08:45:30 -04:00
Keanu Kerr e9dcc95a38 Add config file 2025-06-01 07:05:03 -04:00
Keanu Kerr 773b49122a Added config file for Lenovo Thinkpad P14s AMD Gen 5 2025-06-01 07:04:26 -04:00
Jörg Thalheim daa628a725
Merge pull request #1490 from mcdonc/mcdonc-rpi4-gpio
add optional config that makes lgpio and pigpio work
2025-05-30 21:45:40 +02:00
Jörg Thalheim b9d69212b5
Merge pull request #1492 from rgueldem/x1-13th-gen
Add Lenovo Thinkpad X1 13th Gen
2025-05-30 16:00:22 +02:00
Ralf Gueldemeister 0985f25385 Add Lenovo Thinkpad X1 13th Gen 2025-05-29 22:41:03 -06:00
Chris McDonough 50c1d00e9d add optional config that makes lgpio and pigpio work 2025-05-28 20:32:58 -04:00
Jörg Thalheim 11f2d9ea49
Merge pull request #1489 from gngram/pr_imx_mkimage_hash
Update correct hash for imx mkimage utility
2025-05-22 09:55:41 +02:00
Ganga Ram 4ce6bba2f7 Update correct hash for imx mkimage utility
- Don't fetch dotGit directory.
- Dot git dir gets different object packs when it is pulled from
  different nixpkgs versions which causes hash mismatch.
- Patch Makefile not use git revision from .git.

Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2025-05-22 11:15:13 +04:00
Danny Freeman 03107726cd
Change libusb to libusb1 in pinebook keyboard updater
This error is shown after updating to nixos 24.11
> error: 'libusb' has been renamed to/replaced by 'libusb1'
2025-05-21 22:23:41 -04:00
Jörg Thalheim 2b9118883d
Merge pull request #1487 from spaceoden/patch-1
fix typo in framework audio.nix
2025-05-21 22:46:44 +02:00
spaceoden 4165eb0f79
fix typo in framework audio.nix 2025-05-21 11:18:34 -04:00
Jörg Thalheim 6ac6ec6fcb
Merge pull request #1482 from pokon548/IdeaPad_Pro_5_14IMH9
Add Lenovo Ideapad 5 Pro 14IMH9 / XiaoXin Pro 14IMH9 2024
2025-05-20 08:48:15 +02:00
Bu Kun ee94f43c05
Add Lenovo Ideapad 5 Pro 14IMH9 / XiaoXin Pro 14IMH9 2024 2025-05-20 14:06:33 +08:00
Jörg Thalheim 220761ec01
Merge pull request #1485 from FrameworkComputer/framework12
framework: Add framework12
2025-05-20 07:52:16 +02:00
Daniel Schaefer a9a7323a06 framework: Add framework12
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2025-05-20 09:35:06 +08:00
Jörg Thalheim e8f38b2c19
Merge pull request #1414 from moduon/nvidia-battery-saver
feat(nvidia-prime): automatic battery-saver specialisation
2025-05-19 21:49:27 +02:00
Jörg Thalheim c028fdea6f
Merge pull request #1481 from j0hax/master
TUXEDO Infinitybook: Enable bluetooth by default
2025-05-19 21:42:29 +02:00
Jörg Thalheim cb12a258c5
Merge pull request #1483 from wrmilling/lenovo-15ICH
lenovo/legion/15ich: Use Coffee Lake CPU
2025-05-19 21:42:01 +02:00
Jörg Thalheim 05112a3ebe
Merge pull request #1484 from bittner/feature/yoga-fingerprint-fwupdate
Enable fingerprint reader and FW update for Lenovo X1 Yoga models
2025-05-19 21:41:31 +02:00
Peter Bittner 687c8fcf68 X1 Yoga: Enable fingerprint reader and FW update 2025-05-19 13:54:40 +02:00
Winston R. Milling 45da8c8ad8
lenovo/legion/15ich: Use Coffee Lake CPU 2025-05-18 17:40:54 -05:00
Johannes Arnold f139290af1
TUXEDO Infinitybook: Enable bluetooth by default 2025-05-16 16:01:30 +02:00
Jörg Thalheim e81fd167b3
Merge pull request #1478 from NixOS/nixpkgs-update
tests: Nixpkgs update
2025-05-13 11:41:40 +02:00
Jörg Thalheim ff949f78d6 ideacentr-k330: include nvidia-fermi architecture 2025-05-13 11:41:12 +02:00
Jörg Thalheim 5aa1b0f049 dell-xps-15-9530-nvidia: include ada-lovelace profile 2025-05-13 08:21:52 +02:00
Jörg Thalheim 91dc75a805 fix system.stateVersion for tests 2025-05-13 08:14:44 +02:00
Jörg Thalheim d371c70b45 docs/CONTRIBUTING: replace bors with mergify 2025-05-13 08:14:44 +02:00
Jörg Thalheim b83e517bfc bump tests/flake.nix to 24.11 2025-05-13 08:14:44 +02:00
Jörg Thalheim d1d68fe8b0
Merge pull request #1476 from Michaelhess17/master
add asus-rog-strix-g533zw
2025-05-12 22:51:43 +02:00
Jörg Thalheim 87b30b517b
Merge pull request #1477 from Flameopathic/init-Lenovo-14ILL10
lenovo/yoga/7/14ILL10: init
2025-05-12 22:51:17 +02:00
Flameopathic 16023fe3d4 lenovo/yoga/7/14ILL10: init 2025-05-11 22:10:09 -04:00
Michael Hess 0d3ca75310 add asus-rog-strix-g533zw 2025-05-11 15:39:42 -04:00
Peter Bittner 3c5e126732 Add kvm-intel kernel module for XPS13 2025-05-09 18:12:19 +00:00
Peter Bittner c40135076d Ensure WiFi works out-of-the-box on XPS13
Inspired by https://github.com/NixOS/nixos-hardware/blob/master/dell/inspiron/3442/default.nix
2025-05-09 18:12:19 +00:00
Sandro 2ea3ad8a1f
Merge pull request #1472 from flyfloh/tp-e14-gen4 2025-05-07 14:36:01 +02:00
Florian Pester aaa8e548c3
E14-intel: add gen4 configuration 2025-05-07 14:09:01 +02:00
Or Dagmi 9b383cd3f4
Adding gen6 support for lenovo thinkpad e14 (#1470)
Co-authored-by: DiGMi <digmi@sentrycs.com>
2025-05-07 14:07:45 +02:00
Jörg Thalheim 6aabf68429
Merge pull request #1469 from bittner/feature/point-to-realpath
Replace symlink references by real path and delete symlink
2025-05-05 20:03:21 +02:00
Jairo Llopis 33d083f55b
feat(nvidia-prime): automatic battery-saver specialisation
This enables a boot option that switches off NVIDIA GPU. Allows for battery saving.

@moduon MT-9339
2025-05-05 12:54:08 +01:00
Peter Bittner 7d9552ef6b Replace symlink references by real path and delete symlink
The common/pc/laptop/ssd folder was apparently moved a level up and was
replaced by a symlink to keep things working. We can consolidate this now.
2025-05-05 11:17:15 +02:00
Andreas V. W. Zacchi a4bb30a900 add asus-zenbook-ux481 2025-05-05 06:40:42 +00:00
Jörg Thalheim e128b73252
Merge pull request #1447 from bittner/patch-1
Add Lenovo ThinkPad X1 Yoga Gen 8
2025-05-05 08:25:12 +02:00
Peter Bittner f5eedd65a3 Lenovo ThinkPad X1 Yoga Gen 8
Convertible laptop equipped with e.g. 13th Gen Intel Core i7-1365U × 12, 32 GiB RAM, and 512 MiB or 1 TiB SSD HDD
2025-05-05 00:03:46 +02:00
Sebastián Zavala Villagómez 0833dc8bbc gmktec/nucbox/g3-plus: init
Product page:
<https://www.gmktec.com/products/nucbox-g3-plus-enhanced-performance-mini-pc-with-intel-n150-processor>

This profile just configures the Intel Twin Lake N150 CPU and integrated
graphics for this mini-PC. fstrim is also enabled for the SSD. That's all this
seemed to need to function properly. As is now expected from Intel NUC systems,
it provides a solid "out-of-the-box" experience. No special quirks are apparent.

We import the Alder Lake modules since Twin Lake is just a refreshed version of
the Alder Lake-N series. Re-using those seems to be fine for this purpose.
2025-05-04 06:49:06 +00:00
Jörg Thalheim 6afacb3b10
Merge pull request #1413 from moduon/p16s
feat: add Lenovo ThinkPad P16s Intel Gen 2
2025-05-04 08:33:49 +02:00
Jairo Llopis 84eb0330ae
feat: add Lenovo ThinkPad P16s Intel Gen 2
@moduon MT-9339
2025-04-30 12:58:16 +01:00
Benedikt Rips 72081c9fbb dell-precision-3490: init module 2025-04-29 19:34:49 +00:00
Connor Prussin c06d50adeb Add Framework AMD AI 300 Series 2025-04-29 19:34:43 +00:00
Sebastián Zavala Villagómez 232c204afb omen/*: check kernel version through config instead of pkgs
The previous implementation was checking the kernel version through
`pkgs.linux`, which is only representative of the final system if
`boot.kernelPackages` is left as the default value of
`pkgs.linuxPackages`.

You can of course change this to other package sets, such as
`pkgs.linuxPackages_latest`. Instead, we now reference the kernel
through `config.boot.kernelPackages.kernel`.
2025-04-29 19:34:40 +00:00
Sebastián Zavala Villagómez 01f1548e40 lenovo/thinkpad/x13s: source kernel through config instead of pkgs
The previous implementation was sourcing the kernel through `pkgs.linux`,
which is only representative of the final system if `boot.kernelPackages`
is left as the default value of `pkgs.linuxPackages`.

You can of course change this to other package sets, such as
`pkgs.linuxPackages_latest`. Instead, we now reference the kernel
through `config.boot.kernelPackages.kernel`.
2025-04-29 19:20:24 +00:00
Sebastián Zavala Villagómez 6e80224000 lenovo/thinkpad/p14s: check kernel version through config instead of pkgs
The previous implementation was checking the kernel version through
`pkgs.linux`, which is only representative of the final system if
`boot.kernelPackages` is left as the default value of
`pkgs.linuxPackages`.

You can of course change this to other package sets, such as
`pkgs.linuxPackages_latest`. Instead, we now reference the kernel
through `config.boot.kernelPackages.kernel`.
2025-04-29 19:20:20 +00:00
Sebastián Zavala Villagómez 6267b43af9 hp/elitebook/830/g6: check kernel version through config instead of pkgs
The previous implementation was checking the kernel version through
`pkgs.linux`, which is only representative of the final system if
`boot.kernelPackages` is left as the default value of
`pkgs.linuxPackages`.

You can of course change this to other package sets, such as
`pkgs.linuxPackages_latest`. Instead, we now reference the kernel
through `config.boot.kernelPackages.kernel`.
2025-04-29 19:20:17 +00:00
Jörg Thalheim badf2f2f21
Merge pull request #1456 from NixOS/dell-precision-5530
dell-precision-5530: remove unnecessary default nvidia options
2025-04-29 21:04:47 +02:00
Relief Melone f1e52a0181 gu605my: enable zeph g16 backlight control 2025-04-29 06:11:24 +00:00
Relief Melone 342b1b319d gu605my: modsettings, fn keys and use laptop/ssd 2025-04-29 06:11:24 +00:00
Jörg Thalheim c56ef7b722 dell-precision-5530: remove unnecessary default nvidia options
In the nvidia module, we already disable the open source driver and
we default to the stable nvidia package
2025-04-29 07:55:06 +02:00
Johannes Arnold f16e0cd51c Add yt6801 driver for TUXEDO InfinityBook Pro 14 - Gen9 - INTEL 2025-04-29 05:54:48 +00:00
VuiMuich d07bb61449 lenovo-thinkpad-x1-2nd-gen 2025-04-29 05:36:52 +00:00
Jörg Thalheim f7bee55a5e
Merge pull request #1443 from 8bitbuddhist/surface/kernel-multiple-versions
feat: add kernel switching for Microsoft Surface devices
2025-04-24 16:02:29 +02:00
Jörg Thalheim b673d3a57b
Merge pull request #1444 from phodina/lenovo-thinpad-x13s
lenovo-thinkpad-x13s: Add support for aarch64 system
2025-04-24 16:00:55 +02:00
Petr Hodina 3fd285f386 lenovo-thinkpad-x13s: Add support for aarch64 system 2025-04-23 21:22:13 +02:00
Andre 306ff6c5f6 surface: revert longterm kernel to 6.12.19 2025-04-23 13:44:36 -04:00
Andre 34f02c326d Apply suggestions from code review - option name
Add `hardware` to option name

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2025-04-23 10:14:28 -04:00
Jörg Thalheim 8bf8a2a082
Merge pull request #1268 from NixOS/e14-intel
E14-intel: import intel comet lake
2025-04-23 09:10:33 +02:00
QuietSeeker 047799739c lenovo-legion-16arh7h: add integrated GPU only and hybrid configurations 2025-04-23 07:04:43 +00:00
Andre 0012cffb69 microsoft/surface: update stable linux-surface to 6.14.2 2025-04-20 12:08:18 -04:00
Jörg Thalheim 9a049b4a42
Merge pull request #1445 from gngram/pr__imx8_atf_build_issues
Pr  imx8 atf build issues
2025-04-14 14:24:20 +02:00
Ganga Ram e3a967ba29 Fixed build issues for imx8mq-evk
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2025-04-14 13:43:29 +04:00
Ganga Ram 48a8eaeac8 Fixed native build issues for imx8mp-evk atf
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2025-04-14 13:30:27 +04:00
Andre 33aa2d8399 microsoft/surface: decouple kernel source and linux-surface package versions 2025-04-12 11:28:09 -04:00
Andre 2034c5d2e7 microsoft/surface: rename 'lts' and 'latest' to 'longterm' and 'stable' 2025-04-12 10:42:29 -04:00
Andre dab2104c1f microsoft/surface: switch back to using sha256 instead of hash due to connection breaking 2025-04-12 10:39:52 -04:00
Andre bb295c09d9 microsoft/surface: remove repos.nix file and update README 2025-04-11 15:03:42 -04:00
Andre 9726adf371 microsoft/surface: add kernel source hash logic 2025-04-11 11:14:17 -04:00
Jörg Thalheim 1fe3cc2bc5
Merge pull request #1441 from gngram/pr__imx_atf_build_issue
[imx8mp-evk] fix firmware compilation issue
2025-04-11 12:22:25 +02:00
Ganga Ram c7034bb57b Fix compilation issue
Updated makeFlags as latest buildArmTrustedFirmware specifies CC and LD explicitly, which
doesn't work well with the nxp imx8mp-evk platform.

Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2025-04-11 12:56:20 +04:00
Andre 8141742b12 microsoft/surface: add kernel switching for LTS and latest kernels 2025-04-10 20:37:04 -04:00
Mads Rumle Nordstrøm de6fc55511 added intel whiskey lake 2025-03-31 11:35:42 +00:00
Mads Rumle Nordstrøm a3f63440fc added lenovo thinkpad p43s 2025-03-31 11:35:42 +00:00
steeb-k be7794e5a6 Added Lenovo Thinkpad P14s Gen 5 Intel config 2025-03-31 11:21:57 +00:00
Sandro Jäckel 085c9ada2d
intel-comet-lake: use intel-media-driver
It is new enough that we don't need or want intel-vaapi-driver.
2025-03-28 17:21:24 +01:00
Sandro Jäckel af7de84f85
E14-intel: import intel comet lake
The E14 has a i5-10210U which is from comet lake.

see https://www.intel.com/content/www/us/en/products/sku/195436/intel-core-i510210u-processor-6m-cache-up-to-4-20-ghz/specifications.html
2025-03-28 17:21:24 +01:00
Jörg Thalheim 0ed819e708
Merge pull request #1430 from soopyc/apple-t2-updates
apple/t2: sync patches
2025-03-28 14:12:57 +01:00
Cassie Cheung 32cd434259
apple/t2: sync patches
also made the update script use threading for speed
2025-03-26 15:29:11 +08:00
Jörg Thalheim ecaa2d911e
Merge pull request #1429 from bittner/fix/comment-lenovo-x1-yoga-7th
Make comment less intimidating (Lenovo X1 Yoga Gen 7)
2025-03-24 09:50:53 +01:00
Peter Bittner 97280e2440 Make comment less intimidating (Lenovo X1 Yoga Gen 7) 2025-03-23 19:54:37 +01:00
Léana 江 380ed15bcd framework: fix TRRS headphones modprobe 2025-03-22 08:20:01 +00:00
Jörg Thalheim daaae13dff
Merge pull request #1416 from horscchtey/x13-yoga-thunderbolt
lenovo/thinkpad/x13-yoga: add thunderbolt support
2025-03-19 10:26:01 +01:00
matthiasdotsh 4f4d97d7b7 surface: linux 6.12.18 -> 6.12.19 2025-03-17 13:15:07 +00:00
mkorje 36d0027ef4 apple/t2: add Wi-Fi and Bluetooth firmware option 2025-03-17 13:01:30 +00:00
Cassie Cheung e8c83f0759 apple/t2: sync patches
this includes a new touchpad driver which was tested and should feel
smoother. users may need to re-set touchpad settings in their DE.
2025-03-17 13:01:27 +00:00
Jörg Thalheim fad7119291
Merge pull request #1421 from soopyc/apple-t2/update-option
apple/t2: migrate renamed option
2025-03-17 13:46:08 +01:00
Cassie Cheung 05fa89d1c5
apple/t2: migrate renamed option 2025-03-17 15:23:27 +08:00
dependabot[bot] 113cd39166 build(deps): bump cachix/install-nix-action from 30 to 31
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 30 to 31.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v30...v31)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 02:58:53 +00:00
Eva Dengler 3970af5d58 lenovo/thinkpad/x13-yoga: add thunderbolt support 2025-03-14 11:40:45 +01:00
emergentmind e1f1215125 refactor: add model to outputs 2025-03-12 15:18:11 +00:00
emergentmind 09e97074ad refactor: add generic laptop spec 2025-03-12 15:18:11 +00:00
emergentmind 1b1acdc3e7 init 2025-03-12 15:18:11 +00:00
Marien Zwart de70a293ae Adjust README after suspend fix reimplementation
The README still referenced the systemd service we no longer need.
2025-03-12 15:18:05 +00:00
Marien Zwart b416c1d56f Simplify implementation of B550 suspend fix
Instead of using systemd oneshot services that have to be careful to not
toggle wakeups back on, use a udev rule to disable wakeups by device ID.

On a B550 Vision D, these do almost the same thing:

````
$ lspci -n | grep 1022:1483
00:01.1 0604: 1022:1483
00:01.2 0604: 1022:1483
00:03.1 0604: 1022:1483

$ cat /proc/acpi/wakeup
Device  S-state   Status   Sysfs node
...
GPP0      S4    *disabled  pci:0000:00:01.1
GPP8      S4    *disabled  pci:0000:00:03.1
````

Two of the three devices with the PCI vendor/device ID specified by the
udev rule correspond to devices previously disabled via ACPI (if I
understand correctly disabling these via either /proc/acpi/wakeup or
udev device attribute has the same effect).

The third device is (like the other two) using the "pcieport" driver.
Using a device connected via that port as a wakeup device still works.
2025-03-12 15:18:05 +00:00
matthiasdotsh 59314eb9f5 surface: linux 6.12.17 -> 6.12.18 2025-03-12 15:02:32 +00:00
Cryolitia PukNgae 14f45c1a63 gpd-win-max-2-2023/bmi260: 1.0.0 -> 1.1.0
fix: https://github.com/NixOS/nixos-hardware/issues/1352
2025-03-12 15:02:28 +00:00
Ryan Horiguchi d25dac1bd5 dell/xps/13-9350: use lunar-lake cpu config 2025-03-12 14:43:11 +00:00
Erik Alonso b48cc4dab0 pine64/rockpro64: HDMI output and Network in initrd 2025-03-07 05:24:54 +00:00
Johannes Karl Arnold ae546d018a Add support for TUXEDO InfinityBook Pro Intel Gen9 2025-03-07 05:24:51 +00:00
Cassie Cheung 71ab5581a0 apple/t2: update patches 2025-03-07 05:11:21 +00:00
Jörg Thalheim 5335d4303b README: fix typos in the examples and make formatting more consistent 2025-03-07 05:11:18 +00:00
ccritter 52cfc084ef dell/inspiron/7559: add + corresponding Skylake architecture configuration. 2025-03-07 05:11:18 +00:00
matthiasdotsh d23a3bc3c6 surface: linux 6.12.16 -> 6.12.17 2025-03-07 03:55:14 +00:00
Cassie Cheung 009b764ac9 apple/t2: update patches for the latest kernel 2025-02-27 14:16:47 +05:30
Nicky Mouha d58f642ddb Rename dell/e7240 to dell/latitude/e7240 2025-02-24 09:01:14 +00:00
shouya 55e9685ec6
Fix Gigabyte B650 suspend issue (#1385) 2025-02-24 09:29:57 +01:00
ZHANG Yuntian bbf25ca940 radxa: allow platformFirmware to be overridable
Previously, it was a product-level option with a default value.
2025-02-24 08:22:39 +00:00
ZHANG Yuntian 9430c63e02 radxa/rock-pi-e: init 2025-02-24 08:22:39 +00:00
ZHANG Yuntian 76a98e3958 rockchip/rk3328: init 2025-02-24 08:22:39 +00:00
ZHANG Yuntian 9d5dedae84 radxa: clarify that the interface may subject to more changes
We might refactor some parts again when we add Amlogic and Allwinner supports.
2025-02-24 08:22:39 +00:00
ZHANG Yuntian 0b2e2fe9b3 rockchip: support generic firmware installation 2025-02-24 08:22:39 +00:00
ZHANG Yuntian ab84bd93a3 radxa/rock-5b: init 2025-02-24 08:22:39 +00:00
ZHANG Yuntian 28f2a7454f rockchip/rk3588: init 2025-02-24 08:22:39 +00:00
ZHANG Yuntian 79bc209be8 radxa/rock-pi-4: init 2025-02-24 08:22:39 +00:00
ZHANG Yuntian 80340dcf86 rockchip/rk3399: reverse dependency order
This order works better when we have more SoCs.
2025-02-24 08:22:39 +00:00
Andrew Kvalheim 099d38a69e lenovo/thinkpad/p16s/amd/gen2: init
Notes:

- Tested on a model 21K9CTR1WW configured with:
  - AMD Ryzen 7 PRO 7840U with Radeon 780M Graphics
  - 64 GB soldered RAM
  - WQUXGA (3840×2400) OLED display
  - Qualcomm NFA765 wireless network adapter
  - BIOS version R2FET38W (1.18)
- The user guide is shared by:
  - ThinkPad P14s Gen 4
  - ThinkPad P16s Gen 2
  - ThinkPad T14 Gen 4
  - ThinkPad T16 Gen 2
2025-02-24 08:09:24 +00:00
Louis Opter 71cca26f33 Set Alder Lake support for the Aoostar R1 N100
In order to get micro-code updates, and select the right driver for
hardware transcoding on the integrated GPU.
2025-02-24 08:09:21 +00:00
Karolis Stasaitis 8f44cbb48c raspberry-pi-4: poe-hat: add PWM polarity value 2025-02-24 08:09:17 +00:00
Laureηt fb12c8270a dell/xps/13-9315: fix screen flickering 2025-02-24 08:09:14 +00:00
Cassie Cheung cda8312060 apple/t2: format with nixfmt 2025-02-24 08:09:11 +00:00
Cassie Cheung a0252d668c apple/t2: add option to select kernel release 2025-02-24 08:09:11 +00:00
Cassie Cheung d098b09500 apple/t2: refactor kernel package, add stable kernel
Refactors the kernel package to a generic one and adds support for the
lts kernel. Since nixpkgs' kernel packages provide the `kernelPatches`
override, utilizing that ensures that kernel updates are not delayed
too much due to having to PR them to nixos-hardware separately.

This comes at the expense of possible breakage when upstream updates
something that breaks the patches.

Because the T2 Linux project has a lot of patches which changes
periodically, including them in the repository directly is a maintenance
burden. Instead, this patch comes with an update script and JSON files
containing all of the patches to be downloaded (by fetchurl) and
applied.

The NixOS option to enable changing release versions will be added in
the next commit.
2025-02-24 08:09:11 +00:00
Cassie Cheung 04be27ce49 apple/t2: update docs to remove old option
The option was removed in a previous PR but the README was not updated.
Reduce confusion by removing references to the deleted option.
2025-02-24 08:09:11 +00:00
Nicky Mouha 9b49e20140
framework/13-inch/intel-core-ultra-series1: add check for hardware.enableRedistributableFirmware (#1367) 2025-02-24 08:54:44 +01:00
Manuel Transfeld f75203cc31
common/gpu/nvidia: remove a default value (#1373)
https://github.com/NixOS/nixpkgs/pull/326369 has been merged.
2025-02-24 08:48:14 +01:00
matthiasdotsh d2483459e8 surface: linux 6.12.14 -> 6.12.16 2025-02-24 07:44:52 +00:00
Matthieu 18e9f9753e
dell-xps-15-9570: fix imports, refactor (closer to recent profiles and more explicit) (#1331) 2025-02-21 05:07:31 +07:00
bashfulrobot 3e2ea8a49d feat: Add support for Dell XPS 15-9530 with NVIDIA graphics
- Added `default.nix` file for Dell XPS 15-9530 configuration
- Imported necessary files for CPU, laptop, SSD, and fingerprint
- Enabled thermald service
- Configured iwlwifi module with power saving option
- Removed commented out code for `disable_11ax` option
- Added `default.nix` file for NVIDIA configuration in Dell XPS 15-9530
- Imported `default.nix` file from parent directory and NVIDIA prime configuration file
- Configured `hardware.nvidia.prime` with Bus IDs of Intel and NVIDIA GPUs

[dell/xps/15-9530/default.nix]
- Add a new file `dell/xps/15-9530/default.nix`
- Import the following files: `../../../common/cpu/intel`, `../../../common/pc/laptop`, `../../../common/pc/laptop/ssd`, and `./fingerprint`
- Enable thermald service
- Add configuration for iwlwifi module with `options iwlwifi power_save=1`
- Remove commented out code for `disable_11ax` option
[dell/xps/15-9530/nvidia/default.nix]
- Added a new file `default.nix` in the directory `dell/xps/15-9530/nvidia/`
- The file `default.nix` includes two imports: `../default.nix` and `../../../../common/gpu/nvidia/prime.nix`
- Added a configuration for `hardware.nvidia.prime` which includes the Bus IDs of the Intel and NVIDIA GPUs.

Co-authored-by: Felix Svensson <klowdo.fs@gmail.com>
2025-02-17 13:20:39 +00:00
bashfulrobot 08c94a8b62 docs: Add README file for Dell XPS 15 9530
- Add new file `dell/xps/15-9530/README.wiki`
- Specify tested hardware
- Add notes section
- Add NVIDIA Offload section

[dell/xps/15-9530/README.wiki]
- Add a new file `dell/xps/15-9530/README.wiki`
- Specify the tested hardware:
CPU, RAM, HDD, Screen, Graphics, Input
- Add a section for notes
- Add a section for NVIDIA Offload

Co-authored-by: Felix Svensson <klowdo.fs@gmail.com>
2025-02-17 13:20:39 +00:00
⛧-440729 [sophie] e47365f377 purism/librem/5r4: kernel: 6.6.29-librem5 -> 6.6.74-librem5 2025-02-17 13:07:16 +00:00
⛧-440729 [sophie] ba37846397 purism/librem/5r4: update renamed pulseaudio option 2025-02-17 13:07:16 +00:00
matthiasdotsh 4f90da509b surface: linux 6.12.12 -> 6.12.14 2025-02-17 12:53:53 +00:00
Nicky Mouha 2eccff41ba framework/13-inch/intel-core-ultra-series1: Add Intel NPU firmware 2025-02-06 04:36:59 +00:00
Jörg Thalheim d1f201fc62 radxa: add remark about kernel. 2025-02-06 04:19:59 +00:00
ZHANG Yuntian 68cc7a876b radxa/rock-4c-plus: init 2025-02-06 04:19:59 +00:00
ZHANG Yuntian 52047449bf rockchip/rk3399: init 2025-02-06 04:19:59 +00:00
matthiasdotsh c5666d9cd6 surface: linux 6.12.11 -> 6.12.12 2025-02-06 04:19:56 +00:00
Wanja Hentze d85ec4b3c6 hardkernel/odroid-h4: init 2025-02-06 04:19:53 +00:00
aMerryElk 240f698fc8 Added profile for Dell G3 3579 laptop 2025-02-06 04:19:50 +00:00
Samuel d9819a6791 Update default.nix 2025-02-06 04:06:44 +00:00
Jörg Thalheim da7014af5d Revert "framework/13-inch/12th-gen-intel: add hdmi audio fix"
This reverts commit 8b5ef47338.

fixes https://github.com/NixOS/nixos-hardware/issues/1362

Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
2025-02-06 04:06:41 +00:00
Jörg Thalheim 9bdd53f590
Merge pull request #1332 from mkg20001/fwaudio
framework/13-inch/12th-gen-intel: add hdmi audio fix
2025-02-04 10:02:23 +07:00
Jörg Thalheim 537286c3c5
Merge pull request #1357 from tomfitzhenry/no-pbp-ownership
codeowners: remove tomfitzhenry from pinebook-pro
2025-02-02 11:52:41 +07:00
Tom Fitzhenry b8be6f78b0 codeowners: remove tomfitzhenry from pinebook-pro
I no longer use this.
2025-02-02 13:10:46 +11:00
XADE 34b64e4e1d dell-inspiron-3442: init 2025-02-01 06:32:00 +00:00
Cassie Cheung 21fa58535d apple/t2: kernel 6.12.4 -> 6.13 2025-02-01 06:18:21 +00:00
Cassie Cheung 95c8efc0cb apple/t2: remove apple_set_os loader option
the functionality of apple_set_os was upstreamed to the kernel a while
ago and the loader is no longer needed.
2025-02-01 06:18:21 +00:00
Joe 3009bcb058 lenovo/thinkpad/t490s: init 2025-02-01 06:18:18 +00:00
Alex Robbins dfad538f75 dell/latitude/7420: init 2025-01-24 20:47:19 +00:00
M. Ian Graham 7659093598 gpd/pocket-4: default kernel version to 6.12 to fix amdgpu error 2025-01-24 20:47:16 +00:00
Alexander Sosedkin c2aa5756c0 onenetbook/4: update stylus patch for 6.12 2025-01-24 20:47:13 +00:00
matthiasdotsh 3a123626d9 surface: linux 6.12.9 -> 6.12.11 2025-01-24 20:33:51 +00:00
Sandro cbefe8bde7 Fix doc build by adding missing defaultText 2025-01-24 20:33:48 +00:00
Jörg Thalheim 9368027715
Merge pull request #1336 from brianmcgillion/imx8-all
imx8: fix the unused module error accross all imx8
2025-01-23 01:08:30 +01:00
Brian McGillion 6209032a7c
fix the unused module error accross all imx8
this fixes the unused modules error that wad introduced by https://github.com/NixOS/nixpkgs/pull/366004

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
2025-01-23 01:45:56 +04:00
Jörg Thalheim 5f052b2663
Merge pull request #1335 from brianmcgillion/imx8-fix
nxp-imx: fix unused modules errors
2025-01-22 21:42:38 +01:00
Brian McGillion 63c0f02ce5
nxp-imx: fix unused modules errors
https://github.com/NixOS/nixpkgs/pull/366004
introduced a breaking change that if a module is declared but it is not
being used it will fail.

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
2025-01-23 00:17:20 +04:00
Maciej Krüger 8b5ef47338
framework/13-inch/12th-gen-intel: add hdmi audio fix
See https://community.frame.work/t/hdmi-audio-output/9523/23 for more details

Tested on framework 13th gen
Would need somebody to test this on 12th gen aswell
2025-01-21 20:45:47 +01:00
Václav Klecanda 61c79181e7 feat: HP probook 440G5 config 2025-01-20 07:56:42 +00:00
BohdanQQ b539957839 update readme to mention power profile / nvidia-powerd troubleshooting 2025-01-20 07:42:40 +00:00
BohdanQQ 1f23785afe lenovo-legion-16ach6h: enable nvidia.powerd to unlock more gpu power 2025-01-20 07:42:40 +00:00
Jörg Thalheim ce98bebf0f
Merge pull request #1029 from xeniarose/framework-amd-kmod
framework: refactor kmod for improved AMD support
2025-01-20 08:25:41 +01:00
Jörg Thalheim e7ac747157
Merge pull request #1319 from LucasFA/omen-15-ce002ns
omen/15-ce002ns: Init
2025-01-20 08:25:17 +01:00
Jörg Thalheim c3e369baa6
Merge pull request #1317 from miangraham/gpd-pocket-4-init
gpd/pocket-4: init
2025-01-20 08:23:00 +01:00
Nicky Mouha cb3173dc5c
include Dell Latitude 549 in flake.nix (#1316) 2025-01-19 18:07:52 +01:00
Jörg Thalheim f8d5f4ea3e
Merge pull request #1322 from Weathercold/redmibook-16-pro-2024
xiaomi/redmibook/16-pro-2024: init
2025-01-19 18:05:03 +01:00
Weathercold abe22227d7
xiaomi/redmibook/16-pro-2024: init 2025-01-19 14:25:00 +00:00
M. Ian Graham 3883dfe5ee
gpd/pocket-4: init 2025-01-17 10:11:37 +09:00
LucasFA b31613ae10
omen/15-ce002ns: Init 2025-01-16 14:33:54 +00:00
โทสตัล b678606690 lenovo-z13-gen2: networking.networkmanager.fccUnlockScripts → networking.modemmanager.fccUnlockScripts
Fixes evaluation warning
2025-01-15 22:00:06 +00:00
Jörg Thalheim 91c1069cba
Merge pull request #1310 from Gabgobie/lenovo-ideacentre-k330
Lenovo ideacentre k330
2025-01-15 22:44:29 +01:00
Gabgobie 06c52bbc79 Lenovo IdeaCentre K330 2025-01-11 12:17:58 +01:00
matthiasdotsh 8870dcaff6 surface: linux 6.12.8 -> 6.12.9 2025-01-09 16:55:05 +00:00
Jörg Thalheim e315f86472
Merge pull request #1311 from matdibu/tigerlake-disable-xe
gpu/intel/tiger-lake: don't try to use Xe by default
2025-01-09 17:40:44 +01:00
Matei Dibu d73a04dabf gpu/intel/tiger-lake: don't try to use Xe by default
it doesn't work without a force_probe anyway

see https://github.com/NixOS/nixos-hardware/issues/1278
2025-01-09 16:44:32 +02:00
Samuel 4f339f6be2 oversight 2025-01-07 21:04:53 +00:00
heydoyouknowme0 ca30f8501a asus: init fa506ic 2025-01-07 08:16:54 +00:00
Jörg Thalheim 75a920536c rpi2: switch to extlinux bootloader 2025-01-07 08:16:49 +00:00
Jörg Thalheim 95a812557b update flake.lock 2025-01-07 08:16:49 +00:00
LucasFA 4c5c3be74d Slimbook/hero: Init 2025-01-07 07:44:41 +00:00
Samuel d3b4fe46c8 Adding support for GV302X* 2023 (#1285) 2025-01-07 07:44:38 +00:00
Jörg Thalheim b98df1827a framework/13-inch/7040-amd: remove fprint workaround
fixes https://github.com/NixOS/nixos-hardware/issues/1256
2025-01-07 07:29:08 +00:00
Sebastián Zavala Villagómez 8a2a2ef294 lenovo/yoga/7/14IAH7: init
- Added `lenovo-yoga-7-14IAH7-integrated`
- Added `lenovo-yoga-7-14IAH7-hybrid`
2025-01-07 07:10:14 +00:00
Felix Buehler 90ecc4a20c raspberry-pi.4.leds.{eth,pwr}: fix target rename 2025-01-07 07:10:09 +00:00
Felix Buehler c422baea26 raspberry-pi.4.leds: enable overlays-dtmerge 2025-01-07 07:10:09 +00:00
matthiasdotsh 178ff0c3f5 surface: linux 6.12.7 -> 6.12.8 2025-01-07 07:10:06 +00:00
matthiasdotsh 76dcc45ea6 Bump linux-surface patches to arch-6.12.7-1 2025-01-07 07:10:06 +00:00
Tristan Ross 3713545aca starfive visionfive2: allow uboot and opensbi patches overrides 2025-01-07 06:56:13 +00:00
Tristan Ross 7eab0aa0b7 starfive visionfive2: allow uboot and opensbi source overrides 2025-01-07 06:56:13 +00:00
Anton Tetov a2861aa696 fix: remove intel from services.xserver.videoDrivers due to deprecation in 24.11 2025-01-07 06:56:09 +00:00
matthiasdotsh 7c674c6734 surface: linux 6.12.6 -> 6.12.7 2024-12-28 12:17:01 +00:00
Jörg Thalheim def1d472c8
Merge pull request #1267 from kowale/master
enable acpi.ec_no_wakeup in Thinkpad T14 AMD Gen 5
2024-12-23 12:49:57 +01:00
Jörg Thalheim d613cf3265
Merge pull request #1279 from matdibu/precision5560
dell-precision-5560: remove redundant config and enable fwupd
2024-12-23 12:49:20 +01:00
Jörg Thalheim 4fdd18ae24
Merge pull request #1281 from matthiasdotsh/ms-surface/update-kernel-6.12.6
surface: linux 6.12.4 -> 6.12.6
2024-12-23 12:47:55 +01:00
Jörg Thalheim e8516a2352
Merge pull request #1283 from javigomezo/master
raspberry-pi-4: add tv-hat overlay
2024-12-22 11:17:24 +01:00
javigomezo f6abeb027b raspberry-pi-4: fix devicetree filter 2024-12-21 12:51:24 +01:00
javigomezo 5e6a546334 raspberry-pi-4: add tv-hat overlay 2024-12-21 12:23:01 +01:00
matthiasdotsh 1db3c42d93 surface: linux 6.12.4 -> 6.12.6 2024-12-19 22:07:18 +01:00
Matei Dibu 73866b4326 dell-precision-5560: enable fwupd 2024-12-18 12:37:41 +02:00
Matei Dibu 6828304671 dell-precision-5560: remove redundant i915.modeset=1 2024-12-18 12:37:13 +02:00
matthiasdotsh b12e314726 microsoft/surface: Update to kernel 6.12.4 2024-12-16 12:35:17 +00:00
Cassie Cheung cf737e2eba apple/t2: kernel 6.12.2 -> 6.12.4 2024-12-10 20:07:42 +00:00
Cassie Cheung e563803af3 apple/t2: bump kernel from 6.11.7 to 6.12.2 2024-12-06 10:37:37 +00:00
Cassie Cheung 2297628136 apple/t2: remove tiny-dfr and related options 2024-12-06 10:23:26 +00:00
Konstanty Kowalewski 9988a79f27 add Thinkpad T14 AMD Gen 5 to readme 2024-12-03 09:12:23 +00:00
Konstanty Kowalewski bad8e79410 enable acpi.ec_no_wakeup in Thinkpad T14 AMD Gen 5 2024-12-03 09:12:23 +00:00
Jörg Thalheim cceee0a31d
Merge pull request #1266 from NixOS/acpi_call
drop acpi_call from nixos-hardware
2024-12-03 10:11:45 +01:00
Jörg Thalheim ff73b80a6e
Merge branch 'master' into acpi_call 2024-12-02 12:41:01 +01:00
Jörg Thalheim c6cddc7bb2 fix eval 2024-12-02 12:37:38 +01:00
Jörg Thalheim c6c90887f8 drop acpi_call from nixos-hardware
fixes https://github.com/NixOS/nixos-hardware/issues/1114 and tlp also
no longer recommands it.
2024-12-02 12:33:14 +01:00
xenia 4c0d42b582 framework: refactor kmod for improved AMD support
Changes several aspects of framework-laptop-kmod support:
- default value has been changed to true when NixOS >= 24.05 and
  linux kernel >=6.10, and false otherwise
- adds required patch for framework AMD enablement when kernel <6.10
- add README section describing usage
2024-12-01 23:04:16 -05:00
Thomas Leon Highbaugh fe01780d35 Update flake.nix
added missing reference
2024-12-01 15:22:03 +00:00
Mic92 9318325957 」 feat(Dell Precision 5530): Added Nvidia support and some other feature (#1254)
」 feat(Dell Precision 5530): Added Nvidia support and some other feature

* Update dell/precision/5530/default.nix

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-12-01 15:22:00 +00:00
Jörg Thalheim 893d255bed
Merge pull request #1262 from joshprk/master
Fix typo in Lenovo IdeaPad 16AHP9 URL
2024-12-01 16:06:24 +01:00
Joshua Park acdc2cd815
Fix typo in Lenovo IdeaPad 16AHP9 URL 2024-11-25 22:31:14 -05:00
Jörg Thalheim 45348ad6fb
Merge pull request #1260 from joshprk/master
Added Lenovo Ideapad 16AHP9 to Flake.nix
2024-11-24 22:20:21 +01:00
Joshua Park 10c399bbac
Added Lenovo Ideapad 16AHP9 to Flake.nix 2024-11-22 19:54:23 -05:00
Miklós Tóth (Mike) 672ac2ac86 framework: Add hardware.framework.laptop13.audioEnhancement option
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-11-16 22:44:58 +00:00
Alexey Abel c2c275fbb2 Add information on Gigabyte B650M Aorus Elite AX 2024-11-16 07:08:17 +00:00
adjoly 0c657fd134 feat(Intel CoffeeLake): Added support 2024-11-16 06:54:23 +00:00
Hannes dd93bef722 Reference intel core ultra in flake 2024-11-16 06:33:53 +00:00
Daniel Schaefer ccc638b24f framework: Add Intel Core Ultra Series 1
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2024-11-16 06:33:53 +00:00
Julian Stecklina f6581f1c3b framework: workaround display issues on AMD GPUs 2024-11-12 09:27:24 +00:00
Cassie Cheung 863e3ca998 apple/t2: bump kernel from 6.11 to 6.11.7 2024-11-12 09:27:21 +00:00
Sandro 184687ae1a
Merge pull request #1237 from miketth/framework-fix-kernel-version-comparison 2024-11-11 14:37:04 +01:00
Miklós Tóth (Mike) f3049523c0
framework: Fix kernel version comparison for preventWakeOnAC
The comparison previously used the default kernel's version instead of the selected kernel's version.
2024-11-10 18:13:24 +01:00
Cassie Cheung e1cc1f6483 apple/t2: deprecate enableTinyDfr option and conflict with hardware.apple.touchBar
* Adds a deprecation warning to hardware.apple-t2.enableTinyDfr as it has
  been upstreamed to nixpkgs already. The package and option can be
  removed at the next release cycle to hopefully not break people's setup.

* Adds an assertion to conflict hardware.apple-t2.enableTinyDfr with
  hardware.apple.touchBar. Having both enabled causes both tiny-dfr to
  fight for the same display device.
2024-11-06 18:57:38 +00:00
Cassie Cheung 912e5b8a00 tuxedo/aura/15-gen1: migrate renamed option 2024-11-06 17:49:51 +00:00
Cassie Cheung 36ed775c1e tests: update flake lock 2024-11-06 17:49:51 +00:00
Felipe Micaroni Lalli 90642a0dea Adding a sound speaker fix. Issue #1039 2024-11-06 09:54:22 +00:00
Felipe Mica 684d64c67d Apply suggestions from code review
Accepting suggestions. 16irx8h should be fixed as well.

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-11-06 09:54:22 +00:00
Felipe Micaroni Lalli 1881126e2d Adding the Legion Pro 7 16IRX9H model. Initially, I simply copied it from the 16IRX8H, but I am still having issues with WiFi and sound (to be resolved).
Ref.: https://psref.lenovo.com/Product/Legion/Legion_Pro_7_16IRX9H
2024-11-06 09:54:22 +00:00
Jörg Thalheim 12ad8c1bf1 apple/macbook-pro/11-1: add comment why we include broadcom driver 2024-11-06 06:21:21 +00:00
Johannes Arnold 7a9364e705 apple: init MacBookPro11,1 2024-11-06 06:21:21 +00:00
Jörg Thalheim f372fa6cfa fix eval with 24.05 2024-11-06 05:49:31 +00:00
Jörg Thalheim 2e78b1af80
Merge pull request #1212 from 8bitbuddhist/ms-surface/update-kernel-6.11.4
microsoft/surface: Update to kernel 6.11.4
2024-11-05 18:45:50 +01:00
Jörg Thalheim 1b0b927860
Merge pull request #1226 from soopyc/fix-tests
tests: fix unused importPath in unfreeNixpkgs function
2024-11-05 10:02:02 +01:00
Cassie Cheung 2e22e4ad70
tests: fix unused importPath in unfreeNixpkgs function
* originally importPath in the unfreeNixpkgs function was not used at all.
  this commit fixes the issue, allowing the function to work as intended.
2024-11-03 00:58:49 +08:00
Andre df8450fa26 microsoft/surface: Remove old kernel version 2024-11-02 10:40:15 -04:00
Vittorio Robecchi f6e0cd5c47 Updated README 2024-11-02 08:58:38 +00:00
Vittorio Robecchi bcf80dc17c Added Lenovo Ideadpad Slim 5 16IAH8 2024-11-02 08:58:38 +00:00
Vittorio Robecchi 8a906c9d34 Added Lenovo Ideadpad 16AHP9 2024-11-02 08:58:38 +00:00
eum3l d3986e7885 minisforum/v3: init
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-11-02 04:05:17 +00:00
Jörg Thalheim be00f01542 framework/bluetooth.nix: add EOL remark 2024-11-02 03:52:24 +00:00
Adam Dinwoodie e4ad9ce38f Framework: add workaround for Bluetooth device issues
Framework have published a workaround for a bug that affects the
MediaTek Bluetooth and Wi-Fi cards used in their laptops on kernel
version 6.11.  Their workaround assumes a writable /etc/systemd
directory, so reimplement the workaround for NixOS.

For the Framework version of the workaround, see:
eab0148ae8/hibernation/kernel-6-11-workarounds
2024-11-02 03:52:24 +00:00
Tau da14839ac5 remove broadcom_sta since it was likely already added by nixos-generate-hardware 2024-10-31 09:53:19 +00:00
Bit Borealis 8cf35efba1 macbook air 7 2024-10-31 09:53:19 +00:00
onurmercury 4048e9ce2d Fix "nividia" typo 2024-10-31 09:22:48 +00:00
Andre b486ff2d75 Revert "common/gpu/intel: Disable intel-ocl due to web.archive.org outage"
This reverts commit e8a2f6d551.
2024-10-31 09:09:53 +00:00
Sandro 07d15e8990
Merge pull request #1210 from 1nv0k32/master
lenovo/z/gen2/z13: Add modem fcc unlock
2024-10-29 01:29:40 +01:00
Sandro 6906ac67a1
Merge pull request #1209 from NixOS/lib.literalExpression
Set missing lib.literalExpression
2024-10-27 23:33:11 +01:00
Armin e907785673 lenovo/z/gen2/z13: Add modem fcc unlock 2024-10-27 03:45:47 +01:00
Sandro Jäckel 59b6e11bea
Set missing lib.literalExpression
this allows generating a options.json without setting any module option
2024-10-26 23:26:01 +02:00
Andre 097c476b07 microsoft/surface: Update to kernel 6.11.4 2024-10-24 17:07:29 -04:00
Gavin John e8a2f6d551 common/gpu/intel: Disable intel-ocl due to web.archive.org outage 2024-10-24 03:58:40 +00:00
Sergey Yelin 64d900abe4
Unload brcmfmac_wcc (if loaded) before brcmfmac (#1200)
Module brcmfmac cannot be unloaded with rmmod when brcmfmac_wcc is loaded.
This leads brcmfmac to crash on wake up.

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-10-23 15:42:09 +02:00
Jörg Thalheim 22e8de2729
Merge pull request #1197 from NixOS/lunar-lake
common/gpu/intel/lunar-lake: enable xe driver
2024-10-22 21:14:45 +02:00
Jörg Thalheim be900587c3 update test flakes 2024-10-22 18:27:18 +02:00
Jörg Thalheim 8c3e99bfa5 cpu/intel: make sure we import the local cpu-only profiles 2024-10-22 18:27:18 +02:00
Jörg Thalheim 6e486f2812 common/gpu/intel/lunar-lake: enable xe driver
Starting with lunarlake this driver no longer needs to force probe:

ad46e8f95e/drivers/gpu/drm/xe/xe_pci.c (L339)

Co-authored-by: Gavin John <gavinnjohn@gmail.com>
2024-10-22 18:27:09 +02:00
Jörg Thalheim cc2d3c0e06 flake.nix: don't expose alder-lake module 2024-10-21 11:22:17 +00:00
André Silva 77ec51c21c common-gpu-intel-kaby-lake: enable HuC firmware loading 2024-10-21 11:22:17 +00:00
André Silva 796768cbc4 flake: add common-cpu-intel-alder-lake 2024-10-21 11:22:17 +00:00
André Silva 6791578c4b common-cpu-intel-alder-lake: init 2024-10-21 11:22:17 +00:00
André Silva 8140e8252a lenovo-thinkpad-x1-6th-gen: use cpu architecture-specific module 2024-10-21 11:22:17 +00:00
Gavin John 7495e87753 treewide: Switch from gpu/intel to cpu/intel where applicable 2024-10-21 09:00:57 +00:00
Gavin John c058019ce1 common/cpu/intel: add architecture-specific modules 2024-10-21 09:00:57 +00:00
Peder Bergebakken Sundt 9fcf30fccf Make starfive-visionfive-2 merge with sd-image module 2024-10-20 20:14:35 +00:00
Jörg Thalheim 9da64c8fd9 dell/xps/15-9520: add alder-lake gpu profile 2024-10-20 19:56:39 +00:00
Jörg Thalheim 3854ace106 Revert "dell/xps/15-9520: use alder-lake gpu profile"
This reverts commit 8f38d8a475.

This was added to the wrong laptop model.
2024-10-20 19:56:39 +00:00
Pádraic Ó Mhuiris 8f38d8a475 dell/xps/15-9520: use alder-lake gpu profile 2024-10-20 09:44:21 +00:00
Jörg Thalheim be33295d69 gpu/intel/tiger-lake: simplify conditionals 2024-10-20 09:44:21 +00:00
Gavin John 86a33c3e32 common/gpu/intel: update modules to use new options 2024-10-20 09:44:21 +00:00
Gavin John 184091915d common/gpu/intel: add vaapi configuration options 2024-10-20 09:44:21 +00:00
Gavin John 0ccdd27056 common/gpu/intel: reformat 2024-10-20 09:44:21 +00:00
Daniel Green 3827903417 Add Asus Zenbook ux535 2024-10-19 10:22:50 +00:00
Cryolitia PukNgae f682fedae0 gpd-win-max-2-2023/bmi260: 0.0.2 -> 1.0.0 2024-10-19 09:47:07 +00:00
Erkka Heinilä 99918dfbd7 dell-precision-5490: make force_probe conditional 2024-10-19 09:47:05 +00:00
Erkka Heinilä b2f6701f91 dell-precision-5490: fix tests and update README 2024-10-19 09:47:05 +00:00
Erkka Heinilä 2d125b6c56 Add basic dell precision 5490 2024-10-19 09:47:05 +00:00
mexisme a825917ead README tidy-up 2024-10-19 09:34:30 +00:00
mexisme 98a46074e8 Deprecation warning for QCA6174 firmware 2024-10-19 09:34:30 +00:00
mexisme efb12d7f46 Remove archived repo 2024-10-19 09:34:30 +00:00
mexisme 3e40c44916 microsoft/surface/go: Add comment about obsolete kvalo/ath10k-firmware repo 2024-10-19 09:34:30 +00:00
Rayan Nakib (ريان نقيب) 963cf21d30 enable thermald, the temperature management daemon. 2024-10-19 09:34:27 +00:00
Glauber Santana a8dd1b2199
add dell inspiron 7460 (#1177)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-10-12 12:39:41 +02:00
Reid "reidlab 6f71da566f apple/t2: add tiny-dfr option 2024-10-12 10:16:28 +00:00
Johannes Fleck ca0662edb0 fix ordering
fix ordering
2024-10-12 09:35:02 +00:00
Johannes Fleck 664b784722 add tuxedo aura 15 gen1 2024-10-12 09:35:02 +00:00
dependabot[bot] ecfcd787f3 build(deps): bump cachix/install-nix-action from 29 to 30
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 29 to 30.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v29...v30)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-07 02:45:38 +00:00
Laureηt b7ca02c756 add dell xps 9315 2024-10-04 15:36:56 +00:00
Jörg Thalheim a46a7094ff
Merge pull request #1161 from Pandapip1/enable-t480s-gpu-acceleration
Enable t480s gpu acceleration
2024-10-04 17:20:41 +02:00
dependabot[bot] 11c43c830e build(deps): bump cachix/install-nix-action from V28 to 29
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from V28 to 29. This release includes the previously tagged commit.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/V28...v29)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 03:01:22 +00:00
Gavin John a53ca667df
lenovo/thinkpad/t480s: add hardware acceleration support 2024-09-29 16:34:23 -07:00
Gavin John 7200fdc70f
comon/gpu/intel: Add VAAPI support for older iGPUs 2024-09-29 16:33:55 -07:00
Jörg Thalheim f5c239fa9a asus/zephyrus/ga402x/shared.nix: no need to override default of mkEnableOption 2024-09-29 12:41:13 +00:00
Jörg Thalheim 1bc47d8abf asus/zenbook/ux371: enable xe driver explicitly 2024-09-29 12:41:11 +00:00
Vladimir Panteleev 9fe0e21c99 thinkpad/x1-extreme/gen3: add module 2024-09-29 12:28:51 +00:00
Adam Dinwoodie 25e16f6c66 Framework 16: udev rules for keyboard config
Add a udev rule to allow the keyboard modules to be reconfigured.
2024-09-29 12:14:40 +00:00
Adam Dinwoodie e88d37154f Framework 16: use upstream libinput keyboard detection
Use the upstream libinput keyboard detection quirks configuration to ensure Framework 16 laptop keyboards are detected and treated as internal keyboards. Notably, this means that non-ANSI Framework keyboards are correctly detected and treated as being internal keyboards rather than external ones.

Also add a comment noting that this configuration is part of more recent upstream libinput releases, and that it can be removed once we no longer need to support older versions of libinput. That probably means once NixOS 24.05 is out of support.
2024-09-29 08:29:29 +00:00
Rayan Nakib (ريان نقيب) 8e8c6cbad1 Add new profile for HP Laptop 14s dq2024nf 2024-09-29 07:37:18 +00:00
Jörg Thalheim fb08bde00c
Merge pull request #1122 from matdibu/dell-precision-5560
dell-precision-5560: init
2024-09-28 18:19:19 +02:00
mexisme c1f051bf03 Add 'mkDefault' to several settings for Asus Zephyrus GA402X 2024-09-28 13:01:43 +00:00
mexisme 1c62abd2dd Disable USB wakeup on the 8295 ITE Device on Asus Zephyrus GA402X laptop 2024-09-28 13:01:40 +00:00
Matei Dibu 2061ba2611 dell-precision-5560: remove redundant config 2024-09-27 18:45:07 +03:00
Aaron Honeycutt d830ad47cc feat: add galp5-1650 2024-09-27 11:39:19 +00:00
Jörg Thalheim 21a769ae60
Merge pull request #1140 from superherointj/asus-rog-strix-x570-troubleshooting-bluetooth
asus-rog-strix-x570: add troubleshooting notice for bluetooth device missing
2024-09-27 13:05:14 +02:00
Jörg Thalheim 7ce24f7590
Merge pull request #1141 from NixOS/hidpi-fonts
only incrase font size for older kernel
2024-09-27 13:04:54 +02:00
Jörg Thalheim 89fbccf399
Merge pull request #1143 from pdlloyd/master
Remove fonts.fontconfig.dpi in Lenovo Thinkpad X1 6th Gen QHD
2024-09-27 13:04:29 +02:00
Patrick D. Lloyd f4d60b3777
Remove fonts.fontconfig.dpi in Lenovo Thinkpad X1 6th Gen QHD 2024-09-26 15:28:09 -07:00
Jörg Thalheim 8d839c1672 only incrase font size for older kernel 2024-09-24 19:14:41 +02:00
superherointj b169e35bee asus-rog-strix-x570: add troubleshooting notice for bluetooth device missing 2024-09-24 11:31:42 -03:00
Matei Dibu a4e69fc9ba dell-precision-5560: add README 2024-09-23 15:57:33 +03:00
Matei Dibu c97623b428 dell-precision-5560: cleanup 2024-09-23 12:48:34 +03:00
Nick Cao d0cb432a9d
Merge pull request #964 from onny/starfive2-mainline
starfive visionfive2: use mainline kernel
2024-09-22 17:27:24 -04:00
Jonas Heinrich 230536ce88 update tests flake lock 2024-09-22 20:44:38 +00:00
Jonas Heinrich cbcd0302c7 starfive visionfive2: use mainline kernel
Co-authored-by: NickCao <nickcao@nichi.co>
2024-09-22 20:44:38 +00:00
Jörg Thalheim b493dfd4a8 update flakes 2024-09-21 08:02:24 +00:00
Jörg Thalheim 1e27e79ab2 CONTRIBUTING.md: Update testing instructions
fixes https://github.com/NixOS/nixos-hardware/issues/1135
2024-09-21 08:02:24 +00:00
Jörg Thalheim d64ae01653 test/run: format file and remove unused variable 2024-09-21 08:02:24 +00:00
superherointj 10d5e0ecc3 asus-rog-strix-x570: add nct6775 kernel module for temperature and fan sensor 2024-09-19 05:41:49 +00:00
Jörg Thalheim 82975afdfe
Merge pull request #1132 from zachcoyle/t2-linux-6.11.0
apple/t2: bump kernel to 6.11
2024-09-19 07:27:33 +02:00
Zach Coyle 1c8c4f2c79 apple/t2: bump kernel to 6.11 2024-09-18 23:54:32 -04:00
Jörg Thalheim abb448608a
Merge pull request #1119 from Jdogzz/master
lenovo-yoga-6-13ALC6: add mkDefault for bluetooth
2024-09-18 11:05:30 +02:00
Jörg Thalheim 270ddd7512
Merge pull request #1127 from Frontear/fix-apple-t2-ifd
apple-t2: remove ifd and cleanup drv
2024-09-18 11:01:05 +02:00
Sandro dc8b0296f6
Merge pull request #1125 from quatquatt/framework-fix-documentation 2024-09-16 14:23:08 +02:00
dependabot[bot] b9ab7e57c5 build(deps): bump cachix/install-nix-action from V27 to 28
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from V27 to 28. This release includes the previously tagged commit.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/V27...V28)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 02:37:33 +00:00
Ali Rizvi 32f4fb0b11
apple-t2: remove ifd and cleanup drv 2024-09-15 13:22:44 -04:00
quatquatt 4ee6bd22af
framework: fix outdated documentation on fw-ectool 2024-09-14 19:14:19 -04:00
Matei Dibu 06c46e3902 dell-precision-5560: init 2024-09-12 19:23:35 +03:00
flakeuser 23a4ea7a0d lenovo-yoga-6-13ALC6: add mkDefault for bluetooth 2024-09-09 05:49:52 -07:00
flakeuser 166dee4f88 formatting: use nixfmt to format flake.nix 2024-09-09 12:35:00 +00:00
Relief Melone 755813cba8 asus/zephyrus/gu605my: enable asusd by default and fix mic mute button 2024-09-09 10:03:52 +00:00
Relief Melone cfb3537b15 asus/zephyrus/gu605my: fixed architecture and added dynamic boost as enabled by default 2024-09-09 10:03:52 +00:00
Dietrich Daroch aac7c50858 malibal/aon/s1: Add initial intel-only support. 2024-09-09 09:49:19 +00:00
M. Ian Graham 04a1cda0c1 starlabs: init, add starlite 5 tablet 2024-09-07 13:39:37 +00:00
Rayan Nakib (ريان نقيب) 502e0aed31 apple-macbook-pro-8-1: add README.md
explaning to users how they can enable installtion of free packages
needed for b43-firmware to work
2024-09-07 13:23:33 +00:00
Rayan Nakib (ريان نقيب) 1b3a547126 Treewide: Add new profile for Apple MacBook Pro 8,1
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-09-07 13:23:33 +00:00
Jörg Thalheim 880be1ab83
Merge pull request #1107 from Lyndeno/nvidia_fix
Treewide: Add Nvidia Architecture
2024-09-04 21:22:08 +02:00
Lyndon Sanche c50dd00a78
system76-gaze18: Add nvidia architecture 2024-09-04 11:40:04 -06:00
Lyndon Sanche 75ac0969d8
omen-16-n0280nd: Add nvidia architecture 2024-09-04 11:39:48 -06:00
Lyndon Sanche d6e07be2cd
omen-15-en1007sa: Add nvidia architecture 2024-09-04 11:39:33 -06:00
Lyndon Sanche b00ea30831
omen-15-en0010ca: Add nvidia architecture 2024-09-04 11:39:18 -06:00
Lyndon Sanche 2a638da50f
omen-15-en0002np: Add nvidia architecture 2024-09-04 11:39:05 -06:00
Lyndon Sanche a68390425c
omen-14-fb0798ng: Add nvidia architecture 2024-09-04 11:38:55 -06:00
Lyndon Sanche 4588e111d1
msi-gl62: Add nvidia architecture 2024-09-04 11:38:36 -06:00
Lyndon Sanche ded3bdaa58
focus-m2-gen1: Add nvidia architecture 2024-09-04 11:38:19 -06:00
Lyndon Sanche 561fe843e1
apple-macbook-pro-10-1: Add nvidia architecture 2024-09-04 11:38:04 -06:00
Lyndon Sanche 2aa46f02e2
apple-imac-14-2: Add nvidia architecture 2024-09-04 11:37:51 -06:00
Lyndon Sanche 7ea5daa492
common-gpu-nvidia: Add kepler 2024-09-04 11:27:08 -06:00
Jdogzz ace1cedf3e
msigl65: add initial configuration (#1106)
Co-authored-by: Mic92 <96200+Mic92@users.noreply.github.com>
2024-09-04 19:24:00 +02:00
Lyndon Sanche 5fdecbf814
lenovo-yoga-7-14ARH7: Add nvidia architecture 2024-09-04 11:22:10 -06:00
Lyndon Sanche ab6053dff3
lenovo-thinkpad-p52: Add nvidia architecture 2024-09-04 11:22:00 -06:00
Lyndon Sanche 2fc1e10076
lenovo-thinkpad-p51: Add nvidia architecture 2024-09-04 11:21:52 -06:00
Lyndon Sanche 595a4a84a1
lenovo-thinkpad-p50: Add nvidia architecture 2024-09-04 11:21:44 -06:00
Lyndon Sanche 3ffa6a4dea
lenovo-thinkpad-p14s-intel-gen3: Add nvidia architecture 2024-09-04 11:21:34 -06:00
Lyndon Sanche 80598d9043
lenovo-thinkpad-e470: Add nvidia architecture 2024-09-04 11:21:16 -06:00
Lyndon Sanche efc4789f66
lenovo-legion-t526amr5: Use nvidia open 2024-09-04 11:21:01 -06:00
Lyndon Sanche 3cb0b3a708
lenovo-legion-16ithg6: Add nvidia architecture 2024-09-04 11:20:35 -06:00
Lyndon Sanche ab4beae174
lenovo-legion-16irx8h: Add nvidia architecture 2024-09-04 11:20:18 -06:00
Lyndon Sanche 06355153e5
lenovo-legion-15ich: Add nvidia architecture 2024-09-04 11:20:04 -06:00
Lyndon Sanche ec5e8f29ff
lenovo-legion-15ach6h: Add nvidia architecture 2024-09-04 11:19:06 -06:00
Lyndon Sanche feb83f6cd2
lenovo-legion-15ach6: Add nvidia architecture 2024-09-04 11:18:44 -06:00
Lyndon Sanche d4c8e7fc42
lenovo-ideapad-16ach6: Add nvidia architecture 2024-09-04 11:16:45 -06:00
Lyndon Sanche b890093a86
lenovo-ideapad-15arh05: Add nvidia architecture 2024-09-04 11:16:19 -06:00
Lyndon Sanche bf95efcbea
lenovo-ideapad-15ach6: Add nvidia architecture 2024-09-04 11:15:55 -06:00
Jörg Thalheim 858107998e
Merge pull request #1103 from relief-melone/feature.asus-zephyrus-g16-GU605MY
Adding Asus Zephyrus G16 GU605MY
2024-09-04 15:48:29 +02:00
Jörg Thalheim ecba07ce13
Merge pull request #1104 from DontEatOreo/lenovo-legion-15arh05h-nvidia-arch
lenovo-legion-15arh05h: add NVIDIA architecture
2024-09-04 15:47:26 +02:00
DontEatOreo 3b6e461e6d
lenovo-legion-15arh05h: add NVIDIA architecture 2024-09-04 16:07:12 +03:00
Relief Melone 6776df50ee Adding Asus Zephyrus G16 GU605MY
- added module to asus/zephyrus/gu605my
- added entry to flake outputs
- added entry in README table
2024-09-04 15:05:15 +02:00
Jörg Thalheim ba7bb3761c
Merge pull request #1099 from Jdogzz/master
gpd/win-mini/2024: add initial configuration
2024-09-04 09:52:25 +02:00
Jörg Thalheim 354916bf26
Merge pull request #1101 from eg-ayoub/16ach6h_nvidia_arch
lenovo-legion-16ach6h: Add nvidia architecture
2024-09-04 09:50:03 +02:00
Ayoub Nasr 19fba44ece
lenovo-legion-16ach6h: Add nvidia architecture
Signed-off-by: Ayoub Nasr <ayoub.nasr@scality.com>
2024-09-04 09:23:19 +02:00
Jörg Thalheim 8b9c4a7142
Merge pull request #1102 from Lyndeno/asus_nvidia
Asus: Add Nvidia architectures
2024-09-04 08:01:11 +02:00
flakeuser a5e2826fc2 Set mkDefault for enabling bluetooth. 2024-09-03 17:35:08 -07:00
Lyndon Sanche aa3739f4ab
asus-zephyrus-gu603h: Add nvidia architecture 2024-09-03 15:11:55 -06:00
Lyndon Sanche 249f33df8b
asus-zephyrus-ga503: Add nvidia architecture 2024-09-03 15:11:32 -06:00
Lyndon Sanche a38b5d1286
asus-zephyrus-ga502: Add nvidia architecture 2024-09-03 15:11:25 -06:00
Lyndon Sanche 5c04dd453b
asus-zephyrus-ga402x: Add nvidia architecture 2024-09-03 15:11:16 -06:00
Lyndon Sanche 45e5bcc7d5
asus-zephyrus-ga401: Add nvidia architecture 2024-09-03 15:11:05 -06:00
Lyndon Sanche 537992d884
asus-rog-strix-g733qs: Add nvidia architecture 2024-09-03 15:10:37 -06:00
Lyndon Sanche 9b17be344e
asus-rog-strix-g713ie: Add nvidia architecture 2024-09-03 15:10:23 -06:00
Lyndon Sanche 910e61b27d
asus-rog-strix-g513im: Add nvidia architecture 2024-09-03 15:10:10 -06:00
Lyndon Sanche 59894d5e56
asus-fa507rm: Add nvidia architecture 2024-09-03 15:09:38 -06:00
Mic92 b978e8c903 Add GPD Win Mini 2024 to the configuration list. (#1099)
Add GPD Win Mini 2024 to the configuration list. (#1099)
lenovo: fix unstable wifi on Yoga laptops

Add extra modprobe options to fix unstable wifi on Yoga laptops.

* Merge branch 'NixOS:master' into master

* Add basic GPD Mini configuration.

* Merge branch 'NixOS:master' into master

* flake: Restore flake.nix to original format

Restore the flake.nix file to the original format from nixos-hardware master.
2024-09-03 20:18:57 +00:00
Jörg Thalheim f7e31ff8ef
Merge pull request #1098 from Lyndeno/dell_nvidia
Dell: Add Nvidia Architectures
2024-09-03 20:34:56 +02:00
Lyndon Sanche 12acfdefc1
dell-xps-17-9700: Add nvidia architecture 2024-09-03 12:17:32 -06:00
Lyndon Sanche dec757bf4e
dell-xps-15-9560: Add nvidia architecture 2024-09-03 12:17:17 -06:00
Lyndon Sanche 9f9cf89d33
dell-xps-15-9550: Add nvidia architecture 2024-09-03 12:17:02 -06:00
Lyndon Sanche 3058433601
dell-xps-15-9520: Add nvidia architecture 2024-09-03 12:16:52 -06:00
Lyndon Sanche c75b52ace8
dell-xps-15-9510: Add nvidia architecture 2024-09-03 12:16:41 -06:00
Lyndon Sanche 32979d223a
dell-xps-15-9500: Add nvidia architecture 2024-09-03 12:16:31 -06:00
Lyndon Sanche b1ee64a4ea
dell-g3-3779: Add nvidia architecture 2024-09-03 12:16:12 -06:00
Lyndon Sanche 6d6022faac
tests: Update flake.lock 2024-09-03 12:15:39 -06:00
Jörg Thalheim 366ddc33ff flake.nix: don't expose nvidia modules
we don't want to increase the api further.
2024-09-03 17:29:09 +00:00
Bradley Nelson ca005ac1e8 fix: spelling errors 2024-09-03 17:29:09 +00:00
Bradley Nelson 04567f4ebc fix: Update NVIDIA GPU configurations to use mkOverride 2024-09-03 17:29:09 +00:00
Bradley Nelson 5cbf79226b feat: Add support for NVIDIA microarchitecture to xps 7590 and 9570 2024-09-03 17:29:09 +00:00
Bradley Nelson 4ac7150415 feat: Add configurations for nvidia microarchitectures with configs for the open source drivers 2024-09-03 17:29:09 +00:00
Jdogzz 24bc1f98d8 lenovo: fix unstable wifi on Yoga laptops
Add extra modprobe options to fix unstable wifi on Yoga laptops.
2024-09-03 17:00:10 +00:00
Pol Dellaiera 95c3dfe6ef Apple iMac 14,2: init 2024-08-28 20:49:03 +00:00
Luna c4e1b82a91 gpu/intel: cleanup vdpau variable 2024-08-28 16:36:54 +00:00
Pol Dellaiera 9fc19be21f doc: add missing Apple iMac entry 2024-08-25 08:50:05 +00:00
4JX 1c84c314db 16ach6h: Use the hardware.display module 2024-08-24 10:34:12 +00:00
Daniel Șerbănescu d3600fc296 xps13-9380: enable fwupd 2024-08-24 10:14:37 +00:00
Olli Helenius 59bcb4c4e1 lenovo/p14s/intel: init with gen3 2024-08-24 10:14:34 +00:00
Jörg Thalheim 851a39248f
Merge pull request #1084 from jaredmontoya/master
🛠 Fix intelgpu.loadInInitrd (it now does something)
2024-08-24 11:59:10 +02:00
jaredmontoya 83dfb51306 fix: intelgpu.loadInInitrd now does something 2024-08-24 01:33:08 +02:00
Skyler Mäntysaari b09c46430f Add Dell Latitude 5490 2024-08-19 11:36:55 +00:00
Stig Palmquist feefc78fbc surface: linux 6.10.3 -> 6.10.5 2024-08-19 11:36:52 +00:00
Jörg Thalheim 144a825160
Merge pull request #1079 from NixOS/ci
mergify: merge in batches of 5
2024-08-19 13:11:49 +02:00
Jörg Thalheim 15c3e00913 mergify: merge in batches of 5 2024-08-19 13:10:42 +02:00
Gabriel Nützi b887ec296a fix: update fix to a closer version which fixes this 2024-08-19 11:07:10 +00:00
Jörg Thalheim 966ed3f8eb
Merge pull request #1078 from NixOS/fix-ci
Fix ci and make it reproducible
2024-08-19 11:07:52 +02:00
Jörg Thalheim 70e7e3fa14 update mergify 2024-08-19 11:07:30 +02:00
Jörg Thalheim a3efd46620 apple/imac/18-2: fix gpu import path 2024-08-19 10:39:18 +02:00
Jörg Thalheim 15c8c47fe2 kobol/helios4: fix eval 2024-08-19 10:39:18 +02:00
Jörg Thalheim 04a366f28c fix ci and make it reproducible 2024-08-19 10:39:18 +02:00
mexisme c54cf53e02 Tidy-up idents 2024-08-10 17:15:28 +00:00
mexisme 569b23fd82 Simplify the diff, by moving the (mkIf ...) for the keyboard.autosuspend.enable option to within the associated services.udev.extraRules attr-set 2024-08-10 17:15:28 +00:00
mexisme 6f38f8576c Test the kernel version, rather than the NixOS release version
Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com>
2024-08-10 17:15:28 +00:00
mexisme d1966ef874 Clarify doc-comments 2024-08-10 17:15:28 +00:00
mexisme ddebede974 On ASUS Zephyrus GA402X, make enabling auto-suspend on the keyboard optional
- On kernels before 6.9.x, default to disabling auto-suspend
- On more-recent kernels, default to enabling auto-suspend
2024-08-10 17:15:28 +00:00
Andre dfe45103b6 lenovo/legion/16arha7: fix kernel check for speaker patch 2024-08-10 17:03:31 +00:00
Andy3153 72b83c838d asus-fx506hm: use nvidia-open by default
Uses Nvidia open source kernel modules if driver version is higher than
555

Motivation:
1. Nvidia themselves will be using the open source kernel modules by
   default for drivers above version 555 and for boards that support it
   (like the one in this laptop)
2. this fixes kernel panics I've been having for months
2024-08-10 16:52:19 +00:00
kurogeek 6ed5521636 thinkpad-t14-gen1: add a kernel param for touchpad to work properly 2024-08-10 16:40:58 +00:00
Cassie Cheung f568ffb601 apple/t2: bump kernel to 6.10.3 2024-08-10 16:29:06 +00:00
Stig Palmquist 107bb46eef surface: linux 6.9.12 -> 6.10.3 2024-08-08 20:44:18 +00:00
Stig Palmquist e6d16f1b6b surface: linux-surface arch-6.9.9-1 -> arch-6.10.3-1 2024-08-08 20:44:18 +00:00
Ali Rizvi 14c333162b treewide: remove uses of lib.mdDoc 2024-07-30 09:47:52 +00:00
Stig Palmquist eab049fe17 surface: linux 6.9.9 -> 6.9.12 2024-07-29 18:38:25 +00:00
Jörg Thalheim e67b60fb1b
Merge pull request #1060 from ericthomasca/master
fix link text for Omen 14-fb0798ng
2024-07-27 23:15:37 +02:00
Eric Thomas b7b55739f7
fix link text for Omen 14-fb0798ng 2024-07-26 20:53:48 -02:30
Tracteur Blindé 0b4d40f95a surface: linux 6.9.3 -> 6.9.9 2024-07-26 18:19:19 +00:00
Tracteur Blindé 1091743811 surface: linux-surface arch-6.9.3-1 to arch-6.9.9-1 2024-07-26 18:19:19 +00:00
Guanran Wang d3c993c851 Lenovo ThinkPad X1 (12th Gen): init 2024-07-25 12:45:38 +00:00
mexisme 60d3bae384 Add deprecation explanation 2024-07-25 12:33:47 +00:00
mexisme 13d6cbde4d Create asus-zephyrus-ga402x-amdgpu and asus-zephyrus-ga402x-nvidia entries
- Previous attr-set style providing "amdgpu" and "nvidia" is broken by PR #1046
- Add deprecation assertion for asus-zephyrus-ga402x
2024-07-25 12:33:47 +00:00
mexisme 5bd0371d3f Create lenovo-yoga-7-14ARH7-amdgpu and lenovo-yoga-7-14ARH7-nvidia entries
- Previous attr-set style providing "amdgpu" and "nvidia" is broken by PR #1046
- Add deprecation assertion for lenovo-yoga-7-14ARH7
2024-07-25 09:35:27 +00:00
Jörg Thalheim 0550809b07
Merge pull request #1020 from paepckehh/master
apple-macbookpro-14-1: update, apple-imac-18-2: add
2024-07-25 11:23:10 +02:00
Majiir Paktu 226e517854 surface: fix default kernel version 2024-07-25 09:22:23 +00:00
Majiir Paktu 39ac67a5fe surface: fix isVersionOf check 2024-07-25 09:22:23 +00:00
Tobias Mayer a7432ebaef framework/16-inch: Mark keyboard as internal for libinput
This addition tells libinput that the built-in keyboard is indeed
internal, allowing the "Disable-While-Typing" setting to take effect.

The method is explained at
https://linuxtouchpad.org/libinput/2022/05/07/disable-while-typing.html.
2024-07-24 16:48:33 +00:00
Arne Cuperus b501c5fbf6 Add configuration for Lenovo IdeaPad Gaming 3 15ach6 2024-07-24 16:36:32 +00:00
mexisme 405b654893 Add Lenovo Thinkpad T14 Gen5
- Which is basically the same as Gen4 ...
2024-07-23 17:03:44 +00:00
mergify[bot] 217b5812a2
Merge branch 'master' into master 2024-07-19 18:22:04 +00:00
Lyndon Sanche ab165a8a6c codeowners: Add Lyndeno for XPS-9560
This is my daily driver and I foresee this to be the case for a long
while.

Contributions directly to this model:
- #691
- #696

Contributions indirectly affecting this model:
- #692
2024-07-19 18:22:01 +00:00
Jörg Thalheim 05672b50f7 dell/xps/15-9560: fix graphics options 2024-07-19 18:10:23 +00:00
Jörg Thalheim 6a4ecebce5 dell/xps/15-9560: use graphics option 2024-07-19 18:10:23 +00:00
liamwb 42577dbb0f removed parts that are included in other modules 2024-07-19 18:10:23 +00:00
liamwb 19e9c2fb7a naively pasted code from our forum discussion 2024-07-19 18:10:23 +00:00
Nico Elbers ece5b12014 update README for omen 16-n0280nd 2024-07-19 17:58:34 +00:00
Nico Elbers 89a33c8e93 omen 16-n0280nd: init 2024-07-19 17:58:34 +00:00
Jörg Thalheim a70fa1ac5b
Merge branch 'master' into master 2024-07-19 19:50:48 +02:00
superherointj 71b92eab15 asus-rog-strix-x570: init
Spec: https://rog.asus.com/motherboards/rog-strix/rog-strix-x570-e-gaming-model/spec/
2024-07-19 16:05:41 +00:00
Dom Rodriguez d8bfbbf614 fix: Add more aliases to 24.05-compat
We're using these options too, which breaks builds without this commit.

Fixes: #1045
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2024-07-19 15:41:46 +00:00
Niklas Gollenstede 3501b9c096 flake.nix: export paths instead of imported files 2024-07-19 15:29:10 +00:00
❄️ bb90787ea0
Merge pull request #1041 from jjtt/x260
Remove BTRFS related setting for ThinkPad x260
2024-07-18 16:45:12 -03:00
jjtt 108f27f71e Remove BTRFS related setting
The note about BTRFS has been removed from the linked Arch wiki page in January 2021 with a comment:

> Removing note about problems with Btrfs and ALPM, since issues have been fixed in the kernel (4.15 -> https://www.spinics.net/lists/linux-btrfs/msg101833.html))

See: https://wiki.archlinux.org/index.php?title=TLP&oldid=650059
2024-07-18 21:58:17 +03:00
❄️ ede1f14cc2
Merge pull request #1037 from Sigmanificient/master
asus-rog-strix-g713ie: init
2024-07-18 14:20:32 -03:00
Sigmanificient 9a816e3d1c asus-rog-strix-g713ie: init
update README for asus rog-strix g713ie
2024-07-18 19:06:24 +02:00
toastal 9a187879f4
lenovo-thinkpad-z13-gen2: move to asound.conf
`sound.*` was removed upstream in Nixpkgs
2024-07-18 14:03:33 -03:00
Michael Paepcke 37d3f20674
Update README.md
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-07-15 19:35:43 +00:00
Michael Paepcke ea9f6719b1
Update README.md
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-07-15 19:35:33 +00:00
Michael Paepcke 6187754bdd
Update README.md
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-07-15 19:35:23 +00:00
Jörg Thalheim c5013aa7ce common/gpu/nvidia: use lib.mkDefault for hardware.nvidia.modesetting 2024-07-11 22:43:18 +00:00
seth 6b745e2331 common-gpu-nvidia: enable modesetting by default
This is commonly required for many applications. As of
https://github.com/NixOS/nixpkgs/pull/324921 this will also enable
`nvidia-drm.fbdev=1`, fixing issues such as
https://github.com/NixOS/nixpkgs/issues/302059
2024-07-11 22:43:18 +00:00
seth c5925d86de common-gpu-nvidia: drop libva-vdpau-driver
libva-vdpau-driver has not seen a new release in over a decade and is a
common cause for bugs in some applications. NixOS has also been using
the now preferred nvidia-vaapi-driver since
https://github.com/NixOS/nixpkgs/pull/162660, so there isn't much reason
to keep this
2024-07-11 22:43:18 +00:00
Lyndon Sanche a111ce6b53 flake: Deprecate Intel generation-specific outputs
See #992 for more information.
2024-07-09 09:05:35 +00:00
Lyndon Sanche ba8294c0a1 common: Move Intel generation-specific config from cpu to gpu
These modules only included gpu configuration, so belong in that
location.
2024-07-09 09:05:35 +00:00
Tobias Kündig 72d3c00702 Added new model to flake.nix and README 2024-07-08 09:00:58 +00:00
Tobias Kündig 00f9c4bb06 Fix Lenovo Thinkpad T14s not powering off 2024-07-08 09:00:58 +00:00
Cassie Cheung da0aa7b533 apple/t2: bump kernel to 6.9.8 2024-07-07 17:11:37 +00:00
Cassie Cheung c1cdb2f828 apple/t2: update patches repo ref 2024-07-07 17:11:37 +00:00
Cassie Cheung f75ab8b22c apple/t2: factor out kernel definition for improved readability 2024-07-07 17:11:37 +00:00
xenia 6e253f12b1 pine64/pinebook-pro: remove obsolete issue docs
this issue has been fixed upstream since kernel 5.14, and per #882 this
commit removes it entirely from the readme
2024-07-02 04:50:00 +00:00
Michael Paepcke c6b440dcd6
apple/macbook-pro/14-1/README.md: use markdown checkboxes 2024-06-30 08:14:43 +00:00
Jörg Thalheim d403b7f6ae
apple/imac/18-2/README.md: use markdown checkboxes 2024-06-30 09:29:16 +02:00
Jörg Thalheim a59f00f5ac raspberry-pi/3: remove ttyAMA0 from console list 2024-06-29 17:24:25 +00:00
pinage404 43ea86cc8c remove probably not necessary library
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-06-29 17:24:25 +00:00
pinage404 8d5e6d9278 Raspberry Pi 3: try to fix tests 2024-06-29 17:24:25 +00:00
pinage404 d11eeae766 Raspberry Pi 3: init 2024-06-29 17:24:25 +00:00
Lyndon Sanche 231274268f gpu/amd: Remove loadInInitrd option
Option is now in nixpkgs under `hardware.amdgpu.initrd.enable` as of
NixOS/nixpkgs@6a0b6a6b74
2024-06-29 07:55:37 +00:00
Paepcke, Michael d33e3e7147
apple-imac-18-2: add flake support 2024-06-28 22:49:56 +02:00
Paepcke, Michael 40e296b2b3
apple-imac-18-2: add imac, add imac-18-2 2024-06-28 22:38:31 +02:00
Paepcke, Michael d3ef6d0c7c
apple-macbookpro-14-1: update info, simplify and fix config 2024-06-28 20:05:46 +02:00
me00001 3980e7816c
enable bluetooth support for Yoga 6 13ALC6. (#1013)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-06-28 07:30:54 +02:00
x123 14aadcba1a common/gpu/nvidia: vaapiVdpau -> libva-vdpau-driver 2024-06-27 11:28:16 +00:00
Jörg Thalheim 901bc809b5 asus/zephyrus/ga402x: drop redundand vdpau drivers 2024-06-26 14:50:27 +00:00
Jörg Thalheim b7d8d5c788 lenovo/yoga/7/14ARH7: remove redundant vdpau packages
amd doesn't need them and nvidia already includes them
2024-06-26 14:50:27 +00:00
Jörg Thalheim a5abf3379d zephyrus/ga402x: switch to amd gpu module 2024-06-26 14:50:27 +00:00
Jörg Thalheim 5fe1583567 gpu/amd: remove unused pkgs 2024-06-26 14:50:27 +00:00
Jörg Thalheim 4677bf5e89 gpu/intel: remove outdated libvdpau-va-gl driver
the existing drivers should provide video accelerations since broadwell.
This driver also caused a crash in the past in VLC:
https://github.com/NixOS/nixpkgs/issues/283083
2024-06-26 14:50:27 +00:00
Jörg Thalheim ae13b3761c lenovo/yoga/6/13ALC6: drop video acceleration driver
Those are not useful for AMD.
According to https://wiki.nixos.org/wiki/Accelerated_Video_Playback all
we need is enabling opengl drivers.
2024-06-26 14:50:27 +00:00
pinage404 f140ca626b Dell Optiplex 3050: init 2024-06-26 14:30:13 +00:00
Gabriel Nützi aab67495e3 fix: Add an upgrade 2024-06-26 08:50:14 +00:00
Gabriel Nützi 1a59c3d5ac fix: Improve doc for Tuxedo Pulse Gen3 power issues 2024-06-26 08:50:14 +00:00
Gabriel Nützi caabc42556 feat: Update CODEOWNERS for Tuxedo Pulse Laptops 2024-06-25 13:39:33 +00:00
Paepcke, Michael c3e48cbd88 update macbookpro14,1 to 24.01 (2024) 2024-06-23 12:27:44 +00:00
Jörg Thalheim 3fff0d97d1
Merge pull request #1004 from Flameopathic/iptsd
surface: remove broken iptsd and surface-control configuration
2024-06-23 14:16:23 +02:00
Jörg Thalheim 755815160a
Merge branch 'master' into iptsd 2024-06-23 14:05:16 +02:00
Jörg Thalheim 8c144a7789
Merge pull request #1005 from Flameopathic/spi-thermald
surface pro intel: thermald configuration
2024-06-23 14:04:06 +02:00
Jörg Thalheim c5cdfd2a49
Merge pull request #1007 from NixOS/joerg-ci
add new tests to mergify configuration
2024-06-23 14:02:06 +02:00
Jörg Thalheim 0cf592f520 add new tests to mergify configuration 2024-06-23 14:01:12 +02:00
Flameopathic 7d87afd10b feat: spi thermal conf 2024-06-22 13:51:28 -04:00
Flameopathic 5159ef2fa0
Merge branch 'NixOS:master' into iptsd 2024-06-22 13:03:32 -04:00
Jörg Thalheim e8232c132a
Merge pull request #1001 from NixOS/improve-compat
common/gpu/24.05-compat: don't create conflicts with user configuration
2024-06-22 17:17:10 +02:00
Jörg Thalheim 4e59e4c9e9 common/gpu/24.05-compat: don't create conflicts with user configuration
fixes https://github.com/NixOS/nixos-hardware/issues/1000
2024-06-22 13:22:07 +02:00
Jörg Thalheim e6d40db892
Merge pull request #999 from NixOS/remove-dri
Fix and test 24.05 evaluation
2024-06-22 00:04:00 +02:00
mergify[bot] 4325ebb800
Merge branch 'master' into remove-dri 2024-06-21 22:01:40 +00:00
Jörg Thalheim 63e77982fc
Merge pull request #998 from zachcoyle/t2-linux-6.9.4
apple/t2: update to kernel 6.9.4
2024-06-22 00:01:32 +02:00
Jörg Thalheim 584a5e5518 fix 24.05 evaluation 2024-06-21 23:50:11 +02:00
toastal cc634b69c8 remove driSupport, opengl → graphics 2024-06-21 16:38:07 +00:00
Flameopathic 27487bcd12
change iptsd and system-control to nixpkgs versions - fixes iptsd bug 2024-06-20 20:45:41 -04:00
Zach Coyle 68ef79e804 apple/t2: update to kernel 6.9.4 2024-06-20 17:37:43 -04:00
Jörg Thalheim 083823b790 gpu/amd: drop hardware.amdgpu.opencl option
This now conflicts with nixpkgs.
2024-06-20 14:48:13 +00:00
Jörg Thalheim 2f893e185c
Merge pull request #994 from NixOS/modules-cleanup
common: remove deprecated modules
2024-06-20 16:30:23 +02:00
Jörg Thalheim 144f53f534 common: remove deprecated modules 2024-06-20 15:51:13 +02:00
Jörg Thalheim 0307a32b55 system76/gaze18: add comment about implication of adding driSupport32Bit 2024-06-20 11:36:25 +00:00
Jörg Thalheim 4d6b7dfa61 system76/gaze18: drop redundant driSupport 2024-06-20 11:36:25 +00:00
Matteo Bongiovanni 972f0149f2 System76 Gaze18 nvidia not loaded fix and remove modesetting
System76 Gaze18 remove modesetting
2024-06-20 11:36:25 +00:00
Matteo Bongiovanni d23f980d75 System76 Gaze18 cleanup 2024-06-20 11:36:25 +00:00
Matteo Bongiovanni 49705fd839 add system76 Gaze18 to README 2024-06-20 11:36:25 +00:00
Matteo Bongiovanni b34b292547 System76 Gaze18 cleanup 2024-06-20 11:36:25 +00:00
Matteo Bongiovanni f5a5916b35 System76 mkDefault 2024-06-20 11:36:25 +00:00
Matteo Bongiovanni 28684889c8 System76 Gaze18 nvidia
System76 Gaze18 flake

System76 Gaze18 fix

System76 Gaze18 fix
2024-06-20 11:36:25 +00:00
Jörg Thalheim 5864256026
Merge pull request #993 from NixOS/hdd
deprecate commons/hdd
2024-06-20 13:25:05 +02:00
Jörg Thalheim 56e370b342 deprecate commons/hdd module
We havent't had anything meaningful configuration in this module for a while.
So let's deprecate it.
2024-06-20 12:09:44 +02:00
Jörg Thalheim acb4f0e9bf link to matrix room 2024-06-19 14:22:30 +00:00
Ayoub NASR cde8f7e11f Lenovo 16ACH6H: use zenpower kernel module 2024-06-16 14:33:34 +00:00
John Titor 0cd5621572 amd/cpu/raphael-igpu: enable scatter/gather for kernel 6.6+
Scatter/gather was introduced in 6.2 kernel and caused flickering
and various issues when running iGPU on Ryzen 7000-series CPUs.
This issue is not observed in kernel 6.6 or newer versions
so we can enable it for kernel 6.6 and newer versions.
2024-06-15 13:46:28 +00:00
Jörg Thalheim 239c3864fe
Merge pull request #977 from K900/drop-amdvlk
treewide: drop hardware.amdgpu.amdvlk option
2024-06-15 07:28:14 +02:00
xunuwu ae5c8dcc4d fix unbalanced quoting 2024-06-14 07:16:00 +00:00
xunuwu 62d41cb488 add gigabyte-b550 to flake outputs 2024-06-14 07:16:00 +00:00
Silvan Mosberger d75003136c framework: Better firmware update instructions and troubleshooting 2024-06-13 08:04:06 +00:00
K900 291c3ee610 treewide: drop hardware.amdgpu.amdvlk option
This is now provided in nixpkgs (see https://github.com/NixOS/nixpkgs/pull/318175).
2024-06-13 09:51:03 +03:00
Jan Heidbrink 9e848e173c add Dell Latitude 9430 2024-06-12 15:50:30 +00:00
Brieuc Dubois f17f79c796 rpi4: bluetooth fix 2024-06-12 15:40:09 +00:00
Stig Palmquist 5ca7d128e6 surface: linux 6.8.9 -> 6.9.3 2024-06-12 15:29:31 +00:00
Stig Palmquist 7738cb40f6 surface: linux-surface arch-6.8.6-1 -> arch-6.9.3-1 2024-06-12 15:29:31 +00:00
Jörg Thalheim 43e369c6d5 chuwi/minibook-x: add comment why we specify kernelParams 2024-06-12 15:18:05 +00:00
Glenn McDonald 3b5f843e92 Add Chuwi MiniBook X 2024-06-12 15:18:05 +00:00
Sophie Tauchert 624f88c6c0 purism librem5r4: fix uboot build 2024-06-12 15:06:51 +00:00
Sophie Tauchert 7e148208c4 purism librem5r4: linuxPackages_librem5: 6.6.6-librem5 -> 6.6.29-librem5 2024-06-12 15:06:51 +00:00
Arthur Rump 58b52b0dd1 Add configuration for Lenovo IdeaPad 5 Pro 16ACH6 2024-06-10 04:55:29 +00:00
Cassie Cheung 35f2177d66 apple/t2: update to kernel 6.9.3
* also updates the patches kernel to include the apfs module
2024-06-10 04:44:27 +00:00
Jörg Thalheim 057a7996d0 hidpi: drop legacy options 2024-06-08 06:29:16 +00:00
Cassie Cheung d6c6cf6f5f apple/t2: update to kernel 6.9.2 2024-06-05 08:00:23 +00:00
V7 82b2e20fbf Update Inspiron 5509 2024-06-04 15:34:27 +00:00
Nick Cao 7b49d39676 starfive visionfive2: drop dtb overlay for 8GB version
u-boot is able to automatically set the correct memory size in fdt
on VisionFive 2 boards by reading their EEPROM since v2023.10.

This allows our image to work with either variant of the boards.

Reference: 38d900b409
Reference: 43177705ab
2024-06-01 13:21:35 +00:00
Nick Cao 69fe256333 starfive visionfive2: let u-boot set device tree name
u-boot is able to automatically set the correct device tree name
on VisionFive 2 boards by reading their EEPROM since v2023.10.

This allows our image to work with either revision of the boards.

Reference: 16dbe3d9d4
2024-06-01 13:21:35 +00:00
Jörg Thalheim 8251761f93
Merge pull request #961 from NixOS/revert-958-visionfive2-mainline
Revert "starfive visionfive2: use mainline kernel"
2024-05-29 14:51:56 +02:00
Nick Cao 9e06031346
Revert "starfive visionfive2: use mainline kernel"
This reverts commit 413452614f.
2024-05-28 18:18:58 -04:00
Nick Cao 1e3c2a85da
Revert "starfive visionfive2: enable required drivers"
This reverts commit 03e1d2d584.
2024-05-28 18:18:58 -04:00
xtrm 806e9d4a93 Fix typo for IdeaPad 3 15alc6 in README.md
Signed-off-by: xtrm <oss@xtrm.me>
2024-05-28 07:25:21 +00:00
xtrm d664fb04de add Lenovo IdeaPad 3 15alc6
Signed-off-by: xtrm <oss@xtrm.me>
2024-05-28 07:25:21 +00:00
Nick Cao a44ddc27b1 Revert "starfive visionfive2: Increase mtd0 to fit spl"
This reverts commit 87e3122b67.
2024-05-28 07:14:52 +00:00
Nick Cao 03e1d2d584 starfive visionfive2: enable required drivers 2024-05-28 07:14:52 +00:00
Nick Cao 413452614f starfive visionfive2: use mainline kernel 2024-05-28 07:14:52 +00:00
Stian Sørby 9a20e17a73 added lenovo legion 15ach6h to README 2024-05-27 08:25:06 +00:00
Stian Sørby 6d24140f51 added lenovo legion 15ach6h to flake.nix 2024-05-27 08:25:06 +00:00
fidgetingbits 2e7d6c5680 asus/zenbook/ux371: init 2024-05-26 09:23:05 +00:00
Andre d789d9a2de Add Surface Pro 9 to Readme 2024-05-26 08:54:19 +00:00
Andre 1af5ef1546 Add Readme for Surface Pro 9 2024-05-26 08:54:19 +00:00
Andre 7caa5b2a35 Add Surface Pro 9 with Intel PSR disabled 2024-05-26 08:54:19 +00:00
Andy3153 449b3abafa fix error 2024-05-26 08:44:07 +00:00
Andy3153 d946893c3b add config for ASUS TUF FX506HM 2024-05-26 08:44:07 +00:00
Andre 888d915fe8 Update readme for 16arha7 2024-05-26 08:34:32 +00:00
Andre 816528f00e Add kernel version check for Lenovo 16ARHA7 speaker fix 2024-05-26 08:34:32 +00:00
Bradon Kanyid (rattboi) 33026a05f4 framework: Add framework-laptop-kmod for 16" model as well
in https://github.com/NixOS/nixos-hardware/pull/903 , the
framework-laptop-kmod was added, and automatically setup for 13" models.
The 16" model will also be able to take advantage of the kmod, once the
6.10 kernel patches are in place.

Kernel Patchset: https://lore.kernel.org/chrome-platform/20231005160701.19987-1-dustin@howett.net/
2024-05-26 08:24:30 +00:00
Mic92 cedb27beb1 Added config for Huawei Matebook X Pro (2020) (#957)
Created a config file for Huawei Matebook X Pro (2020). This file should work on all versions other than MACHC-WAH9L as that one does not include the Nvidia MX250 dGPU.
2024-05-26 08:14:11 +00:00
dependabot[bot] d9e0b26202 build(deps): bump cachix/install-nix-action from 26 to 27
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 26 to 27.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v26...V27)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 02:47:54 +00:00
Quinn X. J. f0cf568780 common/gpu/intel: add extraPackages32 2024-05-19 18:00:23 +00:00
Tad Fisher e85c7a78d2 lenovo/thinkpad/t14/amd/gen3: enable amd_pstate 2024-05-19 17:50:52 +00:00
Tad Fisher 81f1457023 lenovo/thinkpad/t14/amd/gen2: enable amd_pstate 2024-05-19 17:50:52 +00:00
Tad Fisher 55f8e366f0 lenovo/thinkpad/p14s/amd/gen2: enable amd_pstate 2024-05-19 17:50:52 +00:00
Tad Fisher 2659a52d7a lenovo/thinkpad/t14/amd/gen4: init 2024-05-19 17:50:52 +00:00
Tad Fisher 0d3eafc014 lenovo/thinkpad/p14s/amd/gen4: init 2024-05-19 17:50:52 +00:00
Tad Fisher 79cb5c5df6 lenovo/thinkpad/p14s/amd/gen3: init 2024-05-19 17:50:52 +00:00
Tad Fisher d526edb79b lenovo/thinkpad/p14s/amd/gen1: init 2024-05-19 17:50:52 +00:00
Tad Fisher 050f52eb55 lenovo/thinkpad/p14s: align with Thinkpad T14 configs 2024-05-19 17:50:52 +00:00
Matz Momme Klint 2a964239f6 omen/14-fb0798ng: init 2024-05-19 17:41:22 +00:00
fidgetingbits 0a944f8c68 dell/precision/7520: init 2024-05-19 17:31:50 +00:00
Robin Wils 6e7667c75d
Add hardware config for lenovo t5 26amr5 (#938)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-05-19 19:19:36 +02:00
Jörg Thalheim 1a1fa391d5
Merge pull request #939 from Artoria2e5/patch-1
cpu/amd/zenpower: new
2024-05-19 19:15:57 +02:00
Cassie Cheung b55712de78 apple/t2: update to kernel 6.9 2024-05-18 12:08:09 +00:00
Timo ff1be1e3cd Add missing default xps-15-9570 module to flake.nix 2024-05-16 17:51:52 +00:00
Emre Cebi d68be3e5e2 Fixed error 2024-05-16 17:42:37 +00:00
Emre Cebi 9f7302060c Made modifications related to AMD CPU and nvidia GPU changes 2024-05-16 17:42:37 +00:00
Ganga Ram 772de835d5 Remove buildUBoot function from U-Boot build
The buildUBoot function is intended for internal use and is dedicated
for Raspberry Pi platforms. With latest nixpkgs it is causing
build failure in older uboot(prior to v2023.07) due to a Raspberry Pi patch.

Now this function is not used for the U-Boot build.

More Information:
https://github.com/NixOS/nixpkgs/pull/311614
https://github.com/NixOS/nixpkgs/pull/146634

Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2024-05-16 16:04:12 +00:00
Mingye Wang 557645a9da
fixup! zenpower flake 2024-05-11 14:30:59 +08:00
Mingye Wang 9fe6b53cf0
cpu/amd/zenpower: new
The zenpower module provides much more detailed data than k10temp on Zen CPUs. Use it.
2024-05-11 14:29:46 +08:00
Jörg Thalheim a4e2b7909f helios4: remove need for overlay
Note that the linux kernel can and should be accessed through
config.kernelPackages.kernel.
2024-05-08 06:06:35 +00:00
Jörg Thalheim 6cb18a6649 purism/librem/5r4: make it usuable without an overlay
In larger installations nixpkgs.overlays adds significant overhead
because it's harder to share nixpkgs between different NixOS machines
i.e. using nixpkgs.pkgs
2024-05-08 06:06:35 +00:00
Eve Katsumuki d1659c9eb8 Update flake.nix for ThinkPad A475 2024-05-06 15:50:55 +00:00
Eve Katsumuki 00e73a4509 Update README.md for ThinkPad A475 2024-05-06 15:50:55 +00:00
katsu-chan 1a77057745 added thinkpad a470 2024-05-06 15:50:55 +00:00
pinage404 e148ccbecb framework: install framework-tool 2024-05-06 08:28:51 +00:00
pinage404 88eb241bbd framework/16-inch: moved out of the CPU folder
as it doesn't only define configuration for the CPU
2024-05-06 08:28:51 +00:00
Jörg Thalheim 8a4adfe48b raspberry-pi/5: don't use overlay 2024-05-06 07:04:32 +00:00
leo60228 1d11c10800 raspberry-pi/5: add kernel version assertion 2024-05-06 07:04:32 +00:00
leo60228 11d92d2444 raspberry-pi/5: add to flake.nix 2024-05-06 07:04:32 +00:00
leo60228 7a7f2ea0f2 raspberry-pi/5: add nvme module
Co-authored-by: Sergey Kazenyuk <kazenyuk@pm.me>
2024-05-06 07:04:32 +00:00
leo60228 67b979143d raspberry-pi/5: add xserver configuration 2024-05-06 07:04:32 +00:00
leo60228 c4fa85b9df raspberry-pi/5: init 2024-05-06 07:04:32 +00:00
Andre 753176b57b Add fingerprint support for Lenovo Legion 16ARHA7 2024-05-05 05:03:35 +00:00
Stig Palmquist d623635bb7 surface: linux 6.8.6 -> 6.8.9 2024-05-05 04:53:45 +00:00
Daniel Olsen 3f01731119 lenovo/thinkpad/l480: init 2024-05-03 14:27:04 +00:00
Emre Cebi 68d680c1b7 Changed the kernel parameter 2024-04-30 08:19:58 +00:00
Emre Cebi fc738b1ff6 kernel mkDefault added for kernel 2024-04-30 08:19:58 +00:00
Emre Cebi 627652ae64 Updated read me 2024-04-30 08:19:58 +00:00
Jörg Thalheim 5c0b7f47f4 common-gpu-nvidia-sync: fix typos 2024-04-30 08:19:58 +00:00
Emre Cebi 0cbc36e245 ASUS TUF FA507NV added. 2024-04-30 08:19:58 +00:00
Milo Oien-Rochat cdbb5bb040
HP Elitebook 830 G6 (#904)
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2024-04-30 10:09:35 +02:00
Matei Dibu 53db5e1070 protectli/vp4670: add Super I/O kernel module 2024-04-27 07:05:32 +00:00
Matei Dibu 9821d2c543 asus/pro-ws-x570-ace: init 2024-04-27 06:56:44 +00:00
Nick Cao 1bcf716420 starfive visionfive2: use nixpkgs default u-boot version 2024-04-27 06:47:52 +00:00
Marcus Wågberg 7e3a3f3170 apple/t2: add tiny-dfr service 2024-04-27 06:39:03 +00:00
Marcus Wågberg 17ad09c30c apple/t2: update to kernel 6.7.7 2024-04-27 06:39:03 +00:00
Jörg Thalheim 504ebfbffb
Merge pull request #903 from NixOS/refactor_fw0424
framework-12th-gen-intel: Refactor
2024-04-27 08:29:42 +02:00
Jörg Thalheim 406ce62ea8
Merge pull request #923 from NixOS/joerg-ci
hp elitebook: fix eval
2024-04-27 08:21:10 +02:00
Jörg Thalheim 74b75a9598 hp elitebook: fix eval 2024-04-27 08:18:59 +02:00
Sebastian Sellmeier 8cde8633d4
framework/12th-gen-intel: Refactor module
https://github.com/NixOS/nixos-hardware/pull/897
https://github.com/NixOS/nixos-hardware/pull/846
https://github.com/NixOS/nixos-hardware/issues/894
2024-04-23 15:44:18 +02:00
Sebastian Sellmeier f8e89e4e84
framework: Add framework-laptop-kmod as default for NixOS >= 24.05 2024-04-23 15:44:18 +02:00
Sebastian Sellmeier 0335d1a093
common/gpu/intel: Make initrd - i915 an option 2024-04-23 15:44:17 +02:00
Benedikt Ritter 797f8d8082 TUXEDO Pulse 14 Gen3: init
Add relevant modules for TUXEDO Pulse 14 Gen3. The device is equipped
with an AMD Ryzen 7 7840HS with integrated AMD Radeon M780 iGPU.
2024-04-23 09:26:55 +00:00
Jörg Thalheim 3611e8823c
Merge pull request #919 from NixOS/mergify
fix mergify configuration
2024-04-23 11:21:55 +02:00
Jörg Thalheim c056352c4c fix mergify configuration 2024-04-23 11:19:54 +02:00
Jacob Osborne 5d48925b81 Removed commented dpi settings 2024-04-19 10:19:21 +00:00
Jacob Osborne 3638bc8fab Redirected users to the fwupd wiki page 2024-04-19 10:19:21 +00:00
Jacob Osborne 6f1e7c4237 added framework 16 2024-04-19 10:19:21 +00:00
Tracteur Blindé 6f976e5375 surface: linux-surface to 6.8.6 2024-04-18 11:51:15 +00:00
Tracteur Blindé 699723a728 surface: linux-surface to 6.8.1 2024-04-18 11:51:15 +00:00
0x4A6F f2d364de65
Merge pull request #917 from jopejoe1/wiki
link offical wiki page instead of unoffical
2024-04-17 20:08:40 +02:00
jopejoe1 53f978f270 link offical wiki page instead of unoffical 2024-04-17 19:34:02 +02:00
Pol Dellaiera f58b25254b macmini4: init 2024-04-12 08:19:19 +00:00
Mic92 e1c4bac14b Lenovo ThinkPad Z13 Gen 2 (#844)
lenovo-thinkpad-z: remove HiDPI

* lenovo-thinkpad-z: move z13 to gen1/z13, leave generic settings

* lenovo-thinkpad-z-gen2: add z13

* Update lenovo/thinkpad/z/gen2/default.nix

* Update lenovo/thinkpad/z/gen2/default.nix
2024-04-10 14:46:44 +00:00
K900 79a20e2ac0 common/pc: remove libinput.enable
Has been default in nixpkgs for a long time now.
2024-04-10 14:22:23 +00:00
Andre 805adee81c
Add Lenovo legion 16ARHA7 (#906)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-04-10 10:52:19 +02:00
Jörg Thalheim 05aa46a1f3
Merge pull request #905 from stigtsp/surface-kernel-bump-9
surface: linux 6.6.13 -> 6.6.25
2024-04-09 22:46:47 +02:00
Jörg Thalheim 1e3b3a35b7
Merge pull request #902 from skeuchel/milkv-pioneer
milkv/pioneer: init
2024-04-08 10:48:28 +02:00
Jörg Thalheim 218ab789fd milkv/pioneer: fix u-root cross-compilation
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
2024-04-08 06:34:49 +02:00
Stig Palmquist 41e6854df7 surface: linux 6.6.13 -> 6.6.25 2024-04-06 17:49:02 +02:00
yuannan f3b959627b removed edid 2024-04-05 13:47:45 +00:00
yuannan a7825c5b9a 15ach6h 2024-04-05 13:47:45 +00:00
Benedikt Ritter a3746a14c1 feat: add dell latitude 7280 module 2024-04-05 13:41:45 +00:00
deirn e1cbffcf3a ga401: use mkDefault for dynamicBoost 2024-04-05 13:36:28 +00:00
Steven Keuchel f4a07223a3 milkv/pioneer: init 2024-04-05 13:35:18 +00:00
Raito Bezarius cac934beb3 fix(pine64/star64): resolve conflicting definition for Linux 5.15
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-04-05 15:30:34 +02:00
Ryan Lahfa 400688fb2c
Merge pull request #898 from matdibu/master
protectli vp4670
2024-04-05 06:18:38 -07:00
Matei Dibu adcd458b55 protectli/vp4670: init 2024-03-25 19:40:30 +02:00
Matei Dibu 823a82200c common/cpu/intel/comet-lake: init 2024-03-25 12:24:34 +02:00
Jörg Thalheim 9a763a7acc
Merge pull request #880 from jalseth/x13-amd
Add Thinkpad X13 Gen1 AMD variant
2024-03-25 08:45:45 +01:00
Nire Bryce 474549f841
gigabyte b550: suspend fix (#884)
fixes b550 suspend bug by setting up systemd services that disable GPP0 and GPP8 in /proc/acpi/wakeup

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-03-25 08:40:22 +01:00
Jörg Thalheim 7559df1e4a
Merge pull request #892 from piousdeer/yes-edid
16ach6h: re-enable edid for internal display only
2024-03-24 11:04:31 +01:00
mergify[bot] 3ba071c120
Merge branch 'master' into yes-edid 2024-03-18 17:43:36 +00:00
kevinlmadison 1e679b9a99 Update readme 2024-03-18 17:42:08 +00:00
kevinlmadison 5bf55b8532 Add msi-b350-tomahawk module to flake 2024-03-18 17:42:08 +00:00
kevinlmadison 1568f005e1 add support for MSI B350 TOMAHAWK Motherboard 2024-03-18 17:42:08 +00:00
piousdeer b081de56df 16ach6h: re-enable edid for internal display only 2024-03-18 22:30:49 +07:00
Jörg Thalheim 968952f950
Merge pull request #890 from yaoshiu/no-edid
fix: comment out the edid module for legion-16ach6h
2024-03-16 21:46:44 +01:00
Fay Ash 74967732a5
fix: comment out the edid module for legion-16ach6h
It seems to break extra monitor modes
2024-03-16 00:48:04 +08:00
dependabot[bot] ad2fd7b978 build(deps): bump cachix/install-nix-action from 25 to 26
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 25 to 26.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v25...v26)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 02:13:45 +00:00
James Alseth 19e5d3c9d9 Add Thinkpad X13 Gen1 AMD variant 2024-03-04 08:54:30 -08:00
koalp 59e37017b9 Add msi B550 a pro motherboard 2024-03-02 20:16:23 +00:00
Bit 33a97b5814 add w520 to readme 2024-02-28 19:19:50 +00:00
Bit Borealis ce93797a42 add w520 ( copy of t520 ) 2024-02-28 19:19:50 +00:00
Vinetos 01467901ec dell-xps-15-9570: init 2024-02-28 08:59:50 +00:00
Ganga Ram f12e5fd7ec nxp imx8mp-evk/imx8mq-evk documentation
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2024-02-28 08:54:14 +00:00
Ganga Ram 53e2a96a9e nxp imx8m quad evaluation platform support
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2024-02-28 08:54:14 +00:00
Ganga Ram 5c2a5c00a0 nxp imx8mp-evk platform support
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2024-02-28 08:54:14 +00:00
Jörg Thalheim a597c4ad63
Merge pull request #875 from gangaram-tii/pr/icicle-kit-doc
microchip icicle-kit README update
2024-02-28 09:46:51 +01:00
Ganga Ram 55b794ba77 microchip icicle-kit README update
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2024-02-27 16:17:03 +04:00
Ashwin Belbase 3f7d0bca00 Add links to FA507RM 2024-02-22 09:39:13 +00:00
Ashwin Belbase 27cca741bf Add files for Asus TUF A15 (FA507RM) 2024-02-22 09:39:13 +00:00
V7 3610be0dca Import Intel GPU module 2024-02-22 09:33:01 +00:00
Luflosi 106d3fec43 framework AMD 7040: work around white screen / flickering issue on newer kernels
Fixes #817.

Updating the kernel if it is too old is already done by `common/cpu/amd/raphael/igpu.nix`, so I removed the redundant code.
2024-02-16 13:49:10 +00:00
Luflosi a377fb23dc cpu/amd/igpu: change condition to check actually used kernel version
Change condition to check actually used kernel version instead of which kernel version is the default.
Without this change, if a user changes the kernel version to a newer version, the kernel parameter will not actually be added.
2024-02-16 13:49:10 +00:00
Ganga Ram f1b2f71c86 Update repository path for nxp/imx
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2024-02-13 16:36:44 +00:00
Cryolitia 2b68ccd747 gpd-win-max-2-2023: enable iio subsystem 2024-02-13 10:56:22 +00:00
Cryolitia c1db24a14b gpd-win-max-2-2023: init BMI260 driver 2024-02-13 10:56:22 +00:00
Cryolitia d1117dcf09 gpd-win-man-2-2023: init README 2024-02-13 10:56:22 +00:00
Cryolitia 61d602f428 gpd-win-max-2-2023: remove udev rule disabling PCI wakeup
fixed in linux kernel mainline and backported
805c74eac8
2024-02-13 10:56:22 +00:00
queer-bird 7220f26a7c Missed a curly bracket 2024-02-13 10:50:48 +00:00
queer-bird 8be74baad0 Fix audio interference in headphone jack on Thinkpad x1 Nano Gen 1 2024-02-13 10:50:48 +00:00
mexisme 6e5cc385fc Extract AMD-GPU from Nvidia, to make it easier to choose either 2024-02-06 09:25:57 +00:00
mexisme 5a8ed531f9 Initial config. for Lenovo Yoga Slim 7 Pro-X (14ARH7)
- Add entry to README.md and flake.nix
2024-02-06 09:25:57 +00:00
mexisme 06e919ac07 Update README.md and flake.nix 2024-02-06 09:20:31 +00:00
mexisme b5c4fb6b89 Add a config for Asus Zephyrus GA402X* (2023) series
- Disable power-saving for the keyboard on the Asus Zephyrus GA402X series (2023)
- Add more-aggressive roaming rules for Asus Mediatek cards when using IWD
  - Add note about potentially needing more-aggressive roaming rules for Asus Mediatek cards when using WPA-Supplicant
  - Make enabling the higher scanning optional
- Split-up the AMD-GPU and Nvidia configs
- Add switch for AMD-GPU recovery mode
- Add switch for AMD-GPU sg_display (Scatter/Gather) mode
- Add switch for AMD-GPU PSR support
2024-02-06 09:20:31 +00:00
Samuel Cobb fc8d1ebb82 Rename Omen model 2024-02-06 09:11:04 +00:00
Jörg Thalheim 83e571bb29
Merge pull request #851 from mexisme/microsoft/surface/kernel-6.6
Rewrite the microsoft/surface `linuxPackage` function to make it simpler to use
2024-02-02 07:49:42 +07:00
mergify[bot] 76cea60f68
Merge branch 'master' into microsoft/surface/kernel-6.6 2024-02-02 00:47:25 +00:00
4JX cc65e27670 Better default for amdgpuBusId 2024-02-01 10:14:09 +00:00
4JX ed01236ece 16ach6h: Comment out failing edid line
Fixes #795
2024-02-01 10:14:09 +00:00
4JX 07e43b0530 16ach6h: Fix X11 setup
Fixes #628
2024-02-01 10:14:09 +00:00
4JX 58b17dc234 16ach6h: Do not duplicate nvidia config 2024-02-01 10:14:09 +00:00
Guillaume Girol 3b54f86b53 dell inspiron 5515: add early kms
since the update to 23.11, the screen would remain black frequently on
boot. Pressing alt+sysrq+k would make the display manager start.
Empirically, setting early kms up has solved the issue.
2024-02-01 10:08:38 +00:00
ChaosAttractor 83ce5906a5 ga401: disable hardware.nvidia.powerManagement.enable 2024-02-01 10:01:33 +00:00
ChaosAttractor 80223acd7f ga401: enable nvidia.dynamicBoost 2024-02-01 10:01:33 +00:00
Nick Cao 42d7e50677 starfive visionfive2: update kernel to 6.6.0 2024-02-01 06:00:43 +00:00
mexisme 88712a124b Pick a better name than "versionsOfOption" 2024-01-31 21:36:14 +13:00
mexisme 85a2b5542e Restore the "majorVersion" functionality 2024-01-31 21:33:40 +13:00
mexisme c5214dc06a Add some functions to allow for a major.minor kernel version to be able to auto-allow the major.minor.patch to be auto-selected 2024-01-31 21:33:39 +13:00
mexisme 606b6a270e Drop the kernel version override for Surface Go hardware 2024-01-31 12:04:04 +13:00
mexisme 7def533968 Drop the deprecated "linuxPackage1" function, rename "linuxPackage2" to "linuxPackage" 2024-01-31 12:00:03 +13:00
mexisme f2fbed9ce6 Merge branch 'master' into microsoft/surface/kernel-6.6 2024-01-31 11:53:54 +13:00
mexisme 32ed8e5b86 Merge branch 'microsoft/surface/kernel-6.6' of github.com:mexisme/nixos-hardware into microsoft/surface/kernel-6.6 2024-01-26 11:37:48 +13:00
mexisme b4f54f34ed Merge branch 'master' into microsoft/surface/kernel-6.6 2024-01-26 11:37:25 +13:00
Jörg Thalheim f84eaffc35
Merge pull request #839 from damianoognissanti/patch-3
Make so that kernel configs are actually read when compiling for microsoft surface devices.
2024-01-25 12:30:38 +01:00
Jörg Thalheim e756ff62c2
Merge pull request #843 from stigtsp/surface-kernel-bump-8
surface: linux 6.6.10 -> 6.6.13
2024-01-24 09:32:37 +01:00
Stig Palmquist abff72bb97 surface: linux 6.6.10 -> 6.6.13 2024-01-24 09:25:36 +01:00
Nick Cao ff16da3a6b starfive visionfive2: update u-boot to 2024.01 2024-01-24 08:01:14 +00:00
damianoognissanti e57f8c264a
Update default.nix
Needed to make kernel build if options from patch are missing.
2024-01-16 18:41:29 +01:00
damianoognissanti 6b5d311cb6
Fix patches.nix
As discussed here: https://github.com/NixOS/nixos-hardware/issues/523

1) `structuredExtraConfig` is called `extraStructuredConfig` when using `kernelPatches`

2) STREAMING_MEDIA should be STAGING_MEDIA
2024-01-16 18:28:45 +01:00
mexisme 6cf457a2ec Merge branch 'master' into microsoft/surface/kernel-6.6 2024-01-15 22:54:37 +13:00
Domen Kožar bee2202bec Add support for Yoga Slim 7 Gen8 2024-01-15 09:51:25 +00:00
mexisme 921c09c127 Merge branch 'master' into microsoft/surface/kernel-6.6 2024-01-15 22:50:33 +13:00
dependabot[bot] a63273ffc7 build(deps): bump cachix/install-nix-action from 24 to 25
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 24 to 25.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v24...v25)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 03:02:08 +00:00
Lena Fuhrimann ef811636cc Add fwupd to Dell XPS 13 7390 config 2024-01-13 23:04:19 +00:00
Jörg Thalheim b34a6075e9 xps-15-9560: disable broken bumblebee for now
Looks like it fails to evaluate in nixpkgs just now
2024-01-09 07:46:34 +00:00
Jörg Thalheim af21850d3d
Merge pull request #833 from tlvince/patch-3
framework amd: only apply suspend workaround on <6.7
2024-01-09 08:23:39 +01:00
Tom Vincent fe76fc35f7
framework amd: only apply suspend workaround on <6.7 2024-01-08 18:25:06 +00:00
Stig Palmquist c478b3d569 surface: remove linux 6.1 2024-01-07 13:04:10 +00:00
Stig Palmquist 34bcc25fcd surface: set default kernel to major version 6.6 2024-01-07 13:04:10 +00:00
Stig Palmquist 5a721ef5f1 surface: linux 6.6.8 -> 6.6.10 2024-01-07 13:04:10 +00:00
Mika Tammi 1723853180 microchip icicle-kit: Fixes to kernel
* Improve by changing from legacy extraConfig to the
  structuredExtraConfig style kerenl configuration.
* Remove few unneeded kernel modules from default configuration.
* Make kernelPatches, structuredExtraConfig and extraMeta overrideable.
* Change callPackage-style function to actually take the individual
  attributes from pkgs.
* Get rid of recursive syntax.

Signed-off-by: Mika Tammi <mika.tammi@unikie.com>
2024-01-05 12:36:28 +00:00
Tom Vincent 03e0033603 framework amd: add pkgs import 2024-01-05 08:59:57 +00:00
Tom Vincent 3a6288ef83 framework amd: apply headset mic fix on older kernels 2024-01-05 08:59:57 +00:00
Astrid Yu 50944cf036 Add majorVersion option to 6.6.x 2024-01-05 08:54:55 +00:00
RTUnreal 7fd5585e07 framework AMD 7040: add instructions on how to update fingerprint fw
These are copied from the 13th-gen intel Framework README.
They the same way.
2024-01-05 08:49:05 +00:00
mexisme 6e43a42577 Merge branch 'master' into microsoft/surface/kernel-6.6 2024-01-04 09:33:48 +13:00
Nick Cao 8e34f33464 starfive visionfive2: write u-boot.itb to mtd2 2024-01-03 07:27:55 +00:00
Nick Cao dd78777e12 starfive visionfive2: rework firmware build/update scripts 2024-01-03 07:27:55 +00:00
Nick Cao 637fba0942 starfive visionfive2: use upstream u-boot v2024.01-rc5 2024-01-03 07:27:55 +00:00
Nick Cao db4589c6aa starfive visionfive2: adjust opensbi build params to match u-boot doc 2024-01-03 07:27:55 +00:00
mevatron 5bf829d72c Update lenovo/legion/16aph8/default.nix
Thanks for the tip!

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-01-02 20:44:50 +00:00
Will Lucas a5028e96cc Small cleanup 2024-01-02 20:44:50 +00:00
Will Lucas 0f29eb0b0f Force to only "nvidia" for xserver.videoDrivers to avoid blank screen issues 2024-01-02 20:44:50 +00:00
Will Lucas d10b795823 Disable modesetting 2024-01-02 20:44:50 +00:00
Will Lucas 158afdeaf8 Corrected nix-info from an earlier build 2024-01-02 20:44:50 +00:00
Will Lucas c2f991b91e Added support for Lenovo Legion Slim 5 (16APH8)
Added PPD after researching the Framework laptops with AMD 7000 series
2024-01-02 20:44:50 +00:00
Keanu Kerr f752581d67 Added file for HP EliteBook 845 G8 and updated flake and README 2024-01-01 15:50:33 +00:00
Lena Fuhrimann 316bc98323 Add TUXEDO InfinityBook Pro 14 - Gen7 config 2023-12-31 22:27:27 +00:00
Nick Cao 062e4810d8 starfive visionfive2: update u-boot to SDK version v5.10.3 2023-12-31 22:22:21 +00:00
Sebastian Klähn 22ae59fec2 Update dell/xps/13-9310/default.nix 2023-12-29 19:45:20 +00:00
Sebastian Klähn 72fea2077c Update config for xps-13-9010
Add configuration for finger print
2023-12-29 19:45:20 +00:00
Jörg Thalheim 9c3a412578 framework/13-inch/13th: document on how to get the fingerprint sensor to work 2023-12-29 13:19:35 +00:00
Dominic Egginton 1bace8cedd feat: add dell latitude 7390 module 2023-12-29 11:43:26 +00:00
Sophie Tauchert 8ae5b3ff81 purism librem5r4: linuxPackages_librem5: 6.5.6-librem5 -> 6.6.6-librem5 2023-12-29 11:38:20 +00:00
Jörg Thalheim a15b6e525f apple-t2: avoid import-from-derivation 2023-12-25 22:57:21 +00:00
Jörg Thalheim 65753f5d11 speed up ci using nix-eval-jobs 2023-12-25 22:57:21 +00:00
Jörg Thalheim 05fc10e093 add pyproject.toml for ruff lints 2023-12-25 20:49:59 +00:00
Jörg Thalheim e91914c6cc apply ruff lints 2023-12-25 20:49:59 +00:00
Jörg Thalheim 453896efd8 tests/run.py: reformat with ruff 2023-12-25 20:49:59 +00:00
MayNiklas 3e3571c832 add lenovo/thinkpad/x13/yoga/3th-gen 2023-12-25 20:39:21 +00:00
Jörg Thalheim b7747f0f60 remove unused variables with deadnix 2023-12-25 20:25:23 +00:00
Stig Palmquist 249a94e715 surface: linux 6.6.6 -> 6.6.8
- linux-surface: arch-6.6.4-1 -> arch-6.6.6-1
2023-12-25 20:10:28 +00:00
Alojzy Leszcz 51c532cc50
Lenovo Legion 16achg6: Fix gpu configuration to work with both x11/wayland (#802)
Co-authored-by: Alojzy Leszcz <aleszcz@pm.me>
2023-12-25 20:59:25 +01:00
Cryolitia e4ded1ec8e gpd-win-max-2-2023: init 2023-12-25 19:56:15 +00:00
Alojzy Leszcz 7763c6fd1f
Lenovo Legion 16achg6 support (#796) 2023-12-13 08:40:08 +01:00
Stig Palmquist fef05bf9c8 surface: linux 6.5.11 -> 6.6.6
- linux-surface: arch-6.6.1-1 -> arch-6.6.4-1
- update config for 6.6
2023-12-11 23:13:10 +00:00
waltz 030edbb68e lenovo: add ideapad s145-15api to readme.md 2023-12-10 21:59:40 +00:00
waltz b32113560a lenovo: reference ideapad s145-15api on flake.nix 2023-12-10 21:59:40 +00:00
waltz c78145fc51 lenovo: add config for ideapad s145-15api 2023-12-10 21:59:40 +00:00
dependabot[bot] fa194fc484 build(deps): bump cachix/install-nix-action from 23 to 24
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v23...v24)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 02:21:25 +00:00
Astrid Yu a89745edd5 surface: Allow specifying major versions for kernel 2023-12-03 10:14:31 +00:00
Archit Gupta eb4e574360 framework intel: Disable cros-usbpd-charger 2023-12-03 10:04:19 +00:00
Ivor Wanders 8772491ed7 Minimize whitespace changes. 2023-11-29 09:42:58 +00:00
Ivor Wanders 6c114d0ccf Change linux-surface rev to tag. 2023-11-29 09:42:58 +00:00
Ivor Wanders b236a7817a Write iptsd configuration file. 2023-11-29 09:42:58 +00:00
Reed Riley 4461209624 FW13 7040: workaround for SuspendThenHibernate bug 2023-11-29 09:33:05 +00:00
Ivor Wanders b006ec52fc Bump linux-surface to a6eafcad32dc789ae92f42636b11e9aae6e7c879. 2023-11-26 17:47:40 +00:00
mexisme 62b6776b46 Fix rev and sha256 for the current linux-surface patches 2023-11-26 20:58:28 +13:00
mexisme 7dcae71f61 Fix typos 2023-11-26 13:01:52 +13:00
mexisme 0e169f3d58 Use kernel 6.6.2 by default 2023-11-26 12:44:19 +13:00
mexisme 0516b82287 Add kernel 6.6 2023-11-26 12:43:48 +13:00
mexisme 8605f354e2 Use a new linuxPackage function 2023-11-26 12:42:11 +13:00
Kourosh Tafreshi c3abafb01c chore: Add switcheroo service for Dual GPU 2023-11-21 09:32:36 +00:00
Kourosh Tafreshi fc126177f6 chore: Activate nvidia powermanagement 2023-11-21 09:32:36 +00:00
Cabia Rangris 82cf9ae3f6 framework/13-inch/12th-gen-intel: ec crash fix 2023-11-21 09:15:47 +00:00
Jörg Thalheim 2b00bc76dc
Merge pull request #780 from Stunkymonkey/raspberry-pi-4-leds
raspberry-pi/4: add LED-disable overlay
2023-11-19 12:12:33 +01:00
Felix Buehler 89e6821370 add and use mkDisableOption 2023-11-18 15:44:54 +01:00
Nick Cao 1721da31f9 starfive visionfive2: update kernel to 6.6.0 2023-11-18 13:55:35 +00:00
Nick Cao e27bf85b46 starfive visionfive2: update u-boot to SDK version v3.8.2 2023-11-18 13:45:52 +00:00
Jörg Thalheim 5b37cf8665
Merge pull request #778 from tlvince/patch-1
Add suspend workaround for Framework AMD
2023-11-18 14:35:28 +01:00
Tom Vincent eb903ed873
Update README.md 2023-11-16 10:54:41 +00:00
Tom Vincent efdbca2413
Merge pull request #1 from endgame/amd-7040-configurable-sleep-fix
framework AMD 7040: Add config option for wake-on-AC fix
2023-11-16 10:51:42 +00:00
Jack Kelly f2d7c0b23c framework AMD 7040: Add config option for wake-on-AC fix 2023-11-16 10:19:02 +10:00
Naufal Fikri 5689f3ebf8 Fixed broken links in deprecation assertions for framework and surface modules. 2023-11-14 21:35:07 +00:00
Felix Buehler a742fe3a04 raspberry-pi/4: add led disable overlay 2023-11-14 20:48:59 +01:00
Felix Buehler 9d09a7452c raspberry-pi/4: format 2023-11-14 20:47:59 +01:00
Tom Vincent a437c98a90
Merge branch 'master' into patch-1 2023-11-14 10:11:06 +00:00
Stig Palmquist df9bb8a436 surface: linux 6.5.7 -> 6.5.11 2023-11-14 09:30:45 +00:00
Stig Palmquist 8bb2d5ca13 surface: linux 6.1.57 -> 6.1.62 2023-11-14 09:30:45 +00:00
Stig Palmquist 27ac7d57bc surface: linux 6.1.55 -> 6.1.57 2023-11-14 09:30:45 +00:00
Stig Palmquist 9eb41407ab surface: linux 6.5.5 -> 6.5.7 2023-11-14 09:30:45 +00:00
Jörg Thalheim 9f8e88ff95
Merge pull request #776 from kjhoerr/fw-rework
Framework profiles rework
2023-11-14 10:18:33 +01:00
Tom Vincent c0fa269fe9
Update README.md 2023-11-13 22:40:45 +00:00
Tom Vincent a6426241a5
feat(framework): add suspend udev hint 2023-11-13 22:32:05 +00:00
Kevin J Hoerr 502d05fcf6
framework: Add notice to README.md 2023-11-11 17:19:50 -05:00
Kevin J Hoerr ec3609cc59
Explicitly speak of 11th gen Intel Framework new profile 2023-11-11 16:32:26 -05:00
Kevin J Hoerr a14a7746f9
Fix module paths for common framework modules 2023-11-11 16:25:20 -05:00
Kevin J Hoerr 87d3381c78
Add assertion for default framework import 2023-11-11 10:42:55 -05:00
Kevin J Hoerr de0c9310d3
Move common modules into folder 2023-11-11 10:42:55 -05:00
Kevin J Hoerr 5f6b875273
Fix common module imports for fw13 common module 2023-11-11 10:42:55 -05:00
Kevin J Hoerr da7e364c3d
Reorganize current framework modules into 13-inch directory 2023-11-11 10:42:55 -05:00
Kevin J Hoerr b689465d0c Add note to mark change as temporary 2023-11-11 11:10:45 +00:00
Kevin J Hoerr 55b4caf931 Add 13-inch directory to framework and move new module 2023-11-11 11:10:45 +00:00
Kevin J Hoerr 376cecdbb2 Do not suggest sudo for running fwupdmgr 2023-11-11 11:10:45 +00:00
Kevin J Hoerr 24596674bb Remove unnecessary configuration for FW13 7040; use linux_latest above 6.1 2023-11-11 11:10:45 +00:00
Kevin J Hoerr edc1a8ecbc FW13 7040: Add configuration as default.nix 2023-11-11 11:10:45 +00:00
Leah Amelia Chen 9f40c1088f feat(asus/zephyrus): add GU603H (2021 Zephyrus M16) 2023-11-11 11:00:25 +00:00
Jörg Thalheim 627bc9b882
Merge pull request #774 from fgaz/star64/fbdev-force-no
star64: linux: force disable DRM_FBDEV_EMULATION
2023-11-05 05:44:06 +01:00
Francesco Gazzetta 0c53ac44db star64: linux: force disable DRM_FBDEV_EMULATION
It was enabled in this nixpkgs commit:
e00c606455
2023-11-04 19:34:50 +01:00
Kourosh Tafreshi 87f8403371 chore: Add OPENGL settings 2023-11-03 20:49:21 +00:00
Kourosh Tafreshi ce6068070b chore: Tunning WiFi 2023-11-03 20:49:21 +00:00
Jörg Thalheim 25aa9d38f8
Merge pull request #769 from bhetman/hp-elitebook-g7
Add HP Elitebook 845 g7 configuration
2023-11-03 21:38:59 +01:00
bhetman 097764c893 Add HP Elitebook 845 g7 configuration 2023-11-02 02:01:55 -04:00
Alexander Sieg 11d50c5d52 raspberrypi."4": add DigiAMP+ overlay 2023-11-01 15:43:04 +00:00
srestegosaurio 71e0de7199 feat(asus/rog-strix/g513im): added profile 2023-11-01 15:22:25 +00:00
Jörg Thalheim 3162c7c134
Merge pull request #770 from samtinel/patch-1
pine64-rockpro64: add fancontrol
2023-11-01 15:57:50 +01:00
Samtinel f40197be9a pine64-rockpro64: add fancontrol
rk3399's operating temps are -20 to 80°C. It has sensors for CPU and GPU.
The MINSTART/-STOP values are a result of empirical testing.
2023-10-31 15:00:51 +01:00
NAHO 80d98a7d55 feat(tuxedo/pulse/15/gen2): use default 'hardware.amdgpu.loadInInitrd' 2023-10-23 09:31:10 +00:00
NAHO cdf849625b refactor(tuxedo/pulse/15/gen2): simplify device expression
This reverts commit 7b569a25fe.
2023-10-23 09:31:10 +00:00
NAHO ccf6368108 refactor(tuxedo/pulse/15/gen2): revert device expression simplification
This reverts commit 6eeede605f.
2023-10-23 09:31:10 +00:00
NAHO 0de78480a2 refactor(tuxedo/pulse/15/gen2): simplify device expression
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-10-23 09:31:10 +00:00
NAHO ae8f623d5b refactor(tuxedo/pulse/15/gen2): use 'builtins' instead of 'lib' 2023-10-23 09:31:10 +00:00
NAHO dd18dc7714 fix(tuxedo/pulse/15/gen2): prevent 'Secure display: Generic Failure' warning 2023-10-23 09:31:10 +00:00
NAHO 256f598a1b fix(tuxedo/pulse/15/gen2): properly suspend the system 2023-10-23 09:31:10 +00:00
NAHO b93eed7525 feat(tuxedo/pulse/15/gen2): import common functionality 2023-10-23 09:31:10 +00:00
NAHO f9acbf645e feat(tuxedo/pulse/15/gen2): add flake output 2023-10-23 09:31:10 +00:00
NAHO 6856dab060 docs(tuxedo/pulse/15/gen2): include in README 2023-10-23 09:31:10 +00:00
NAHO cf64d8064c docs(tuxedo/pulse/15/gen2): reference official webpage 2023-10-23 09:31:10 +00:00
NAHO e07351b303 docs(tuxedo/pulse/15/gen2): add code owner 2023-10-23 09:31:10 +00:00
Jakob Leifhelm 72d53d5170 starfive visionfive2: combine 8gb dtb overlays 2023-10-19 20:46:52 +00:00
Sophie Tauchert 32264b21bb purism/librem5r4: linuxPackages_librem5: 6.5.4-librem5 -> 6.5.6-librem5 2023-10-19 20:29:22 +00:00
Sophie Tauchert 82804ab710 purism/librem5r4: linuxPackages_librem5: 6.4.14-librem5 -> 6.5.4-librem5 2023-10-19 20:29:22 +00:00
Jonatan Steuernagel e40b26d814 ROG Ally: Add basic config as default.nix 2023-10-19 20:14:49 +00:00
Samuel Cobb 6e1fd3d5c2
Add amd pstate to all omen laptops (#763) 2023-10-19 20:54:11 +01:00
Bernardo Meurer fb6af288f6 fix(common/gpu/amd): use new rocmPackages 2023-10-12 08:54:10 +00:00
Ganga Ram 3d4a18fac8 Microchip Icicle Kit BSP update
- Kernel upadated to 6.1.43
- Uboot updated to 2023.07.02

Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2023-10-12 08:40:19 +00:00
Tom Fitzhenry d6b554a85c pine64-pinebook-pro: remove superfluous ap6256-firmware package
I have been running for >1 year with the upstream linux-firmware
package (i.e. just hardware.enableRedistributableFirmware = true)

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/WHENCE#n2767
2023-10-11 18:36:41 +00:00
Tom Fitzhenry 922926aa1f pine64-pinebook-pro: add initrd modules for boot-from-NVMe 2023-10-11 18:36:41 +00:00
Tom Fitzhenry a6eecb4d85 pine64-pinebook-pro: remove udev quirk for "keyboard mouse"
It's not clear what this is for, and other distros (
e9029c9153
) are now relying solely on upstream udev.
2023-10-11 18:36:41 +00:00
Tom Fitzhenry 0e1e24d2fd pine64-pinebook-pro: remove "internal keyboard" libinput quirk
This quirk has been upstreamed, and thus we longer need to keep it in
nixos-hardware: c053d7b078
2023-10-11 18:36:41 +00:00
Mic92 c1ebe3b471 init: omen-16-n0005ne (#749)
added omen 16-n0005ne profile

* removed /common/pc/ssd

* added /common/pc/ssd

* removed /common/pc/laptop from omen 16 config

* added /common/pc/laptop

* Merge remote-tracking branch 'upstream/master'

* Merge remote-tracking branch 'upstream/master'

* chore: Add DELL XPS 9510

* chore: Add Dell XPS 15 9510

* starfive visionfive2: update u-boot to SDK version v3.7.5

* added omen 16-n0005ne profile

* removed /common/pc/ssd

* added /common/pc/ssd

* removed /common/pc/laptop from omen 16 config

* added /common/pc/laptop

* Merge branch 'master' of github.com:GamingTesh/nixos-hardware

* fixed error in flake.nix caused by git
2023-10-11 18:21:54 +00:00
Florian c2bbfcfc3d
fix compileDTS overlay for raspberry-pi (#754)
* fix compileDTS overlay

due to https://github.com/NixOS/nixpkgs/pull/251898
the compileDTS function has been moved to `device-tree`

nixos-hardware has an own overlay for the raspberry-pi
which needs the `compileDTS` function now, too.

This commit adds it.

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>

* apply review comments

Co-authored-by: Majiir Paktu <majiir@nabaal.net>
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>

---------

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
Co-authored-by: Majiir Paktu <majiir@nabaal.net>
2023-10-10 23:58:03 +02:00
Nick Cao 6ea13c2df4 starfive visionfive2: update u-boot to SDK version v3.7.5 2023-10-10 15:31:36 +00:00
Kourosh Tafreshi bb2db418b6 chore: Add Dell XPS 15 9510 2023-10-06 17:41:06 +00:00
Kourosh Tafreshi 455496f1b4 chore: Add DELL XPS 9510 2023-10-06 17:41:06 +00:00
Jacob Hrbek 93fcc5fb82 OLIMEX Teres-I: Init
Initial declaration of the device
2023-10-06 17:27:28 +00:00
Tom Fitzhenry f4ef5df944 pine64-rockpro64: init 2023-10-06 12:02:27 +00:00
Samuel Cobb b31be8f114 edit readme 2023-10-06 11:43:34 +00:00
Samuel Cobb d79fe3a25c add to flake 2023-10-06 11:43:34 +00:00
Samuel Cobb 2eb2fc2889 init: omen/15-en1007sa 2023-10-06 11:43:34 +00:00
Kiara Grouwstra a149e3d37e Lenovo IdeaPad Slim 5: init
note this is to be distinguished from e.g. the slim 5i, which uses intel
2023-10-06 11:30:06 +00:00
Stig Palmquist de516d0dee surface/surface-go: set kernel to 6.1.55 2023-10-06 11:16:50 +00:00
Stig Palmquist afc5a2949b surface: linux 6.4.16 -> 6.5.5 2023-10-06 11:16:50 +00:00
Stig Palmquist 3b14571fc9 surface: linux-surface 32c55fe0 -> b82e8acd 2023-10-06 11:16:50 +00:00
Stig Palmquist ca0cd502fb surface: linux 6.1.53 -> 6.1.55 2023-10-06 11:16:50 +00:00
Francesco Gazzetta 6d05cccc80 star64: set governor to schedutil
By default it's "performance"
2023-10-05 06:44:00 +00:00
Francesco Gazzetta 89c6109adc star64: linux: 5.15.128 -> 5.15.131 2023-10-05 05:29:34 +00:00
Tom Fitzhenry 0ab3ee718e CODEOWNERS: add tomfitzhenry to Pine64 Pinebook Pro
Prior contributions:

* https://github.com/NixOS/nixos-hardware/pull/444
* https://github.com/NixOS/nixos-hardware/pull/445
* https://github.com/NixOS/nixos-hardware/pull/446

Pending contributions:

* https://github.com/NixOS/nixos-hardware/pull/743
2023-10-01 13:05:39 +01:00
Michael Stanley adcfd6aa86 Thinkpad X1 11th Gen: init 2023-09-28 07:59:35 +00:00
Edmund Miller 89ec952fd2 chore: Add @emiller88 to CODEOWNERS for framework 2023-09-28 07:43:06 +00:00
Maciej Krüger 61283b30d1 framework/*: add fw-ectool for led control, etc
This adds a patched ectool, to interact with the Embedded Controller
Can be used to interact with leds from userspace, etc.
Not part of a nixos release yet, so package only gets added if it exists.
2023-09-24 07:36:59 +00:00
the-furry-hubofeverything 08add92f17 Enabling hp-wmi driver after PR merge
nixos/nixpkgs#255846
2023-09-24 07:22:39 +00:00
the-furry-hubofeverything 061785322d Add Omen 15-en0010ca 2023-09-24 07:22:39 +00:00
Alexandre Acebedo cb4dc98f77 asus-zephyrus-ga402: remove unused kernel parameter 2023-09-19 07:47:07 +00:00
Jörg Thalheim f6bb34a52a only trigger ci on master branch and pull requests 2023-09-19 05:54:25 +00:00
Jörg Thalheim cf88c13ca6 tests: set linux_latest as the default kernel 2023-09-19 05:40:50 +00:00
Giorgio Gallo 161b027169 Fix typo in README.md 2023-09-18 10:46:15 +00:00
Guanran928 d53069def4 fix: enable enableOffloadCmd in prime.nix only when offload is enabled 2023-09-18 10:02:00 +00:00
Guanran928 504893e091 chore: replace writeShellScriptBin in prime.nix with enableOffloadCmd
introduced in this commit:
2a7130d13a
2023-09-18 10:02:00 +00:00
Stig Palmquist 0cc0f97212 surface: cleanup, remove linux 5.19.17 and 6.0.17 2023-09-18 09:44:12 +00:00
Stig Palmquist 455453f48d surface: linux 6.1.18 -> 6.1.53 2023-09-18 09:44:12 +00:00
Stig Palmquist 55fc5e69cb surface: linux 6.4.14 -> 6.4.16 2023-09-18 09:44:12 +00:00
Jörg Thalheim 77d8ac78a6 build-profile: also accept nvidia license
There seems to be recursive dependencies between adding video drivers and checking if the unfree flag is set.
2023-09-18 09:25:39 +00:00
Jörg Thalheim b0f82bcf52 replace bors with mergify
bors no longer works for merge queues.
2023-09-18 10:57:17 +02:00
Francesco Gazzetta 570256327e star64: fix boot from eMMC 2023-09-14 16:51:56 +00:00
Francesco Gazzetta 850b04d59c star64: use stable opensbi release
Same as 7f1836531b
2023-09-14 10:57:53 +02:00
Francesco Gazzetta 16b8c06fd3 star64: add mmc firmware updater
And make the sd one actually write to the sd
2023-09-14 10:57:44 +02:00
Nick Cao 3ccd87fcda starfive visionfive2: update u-boot to SDK version v3.6.1 2023-09-13 09:46:51 +02:00
Olof Sandell e158702cb8 refactor: use nixpkgs naming conventions 2023-09-13 09:46:20 +02:00
Olof Sandell c49c1210d6 docs: add info about the default enabling 2023-09-13 09:46:20 +02:00
Olof Sandell 5e6fa0d4ae feature: enable the iGPU by default 2023-09-13 09:46:20 +02:00
Olof Sandell 5dbebb7cfa feat: copy bootloader to temp location
This is a precaution to make sure we have enough disk space before renaming original bootloader.
2023-09-13 09:46:20 +02:00
Olof Sandell c8cd4f7ef4 feat: integrate into t2 module 2023-09-13 09:46:20 +02:00
Olof Sandell bb215e68e5 feat: add installer for apple-set-os-loader-installer 2023-09-13 09:46:20 +02:00
Nick Cao 128c044298 starfive visionfive2: update kernel to 6.5.0 2023-09-13 09:44:50 +02:00
Andrii Panasiuk 12a6f30214 Import module 2023-09-13 09:44:33 +02:00
Andrii Panasiuk f8d3c75462 Implement dt overlay for enabling built-in xhci controller 2023-09-13 09:44:33 +02:00
dependabot[bot] ca41b8a227 build(deps): bump cachix/install-nix-action from 22 to 23
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 13:38:44 +02:00
Oxters Wyzgowski 2d1a0da5e3
asus/zephyrus/ga401: fix keymapping
Mapped fn+LeftArrow to be home key and fn+RightArrow to be end key.
The Asus Zephyrus GA401 does not have any home end functionality originally.
2023-09-11 12:38:26 +01:00
Sophie Tauchert bec613e179 purism librem5r4: update README and install u-boot-install-librem5 as system package 2023-09-11 13:36:56 +02:00
Sophie Tauchert ab68d63b92 purism librem5r4: firmware-imx: 8.15 -> 8.20 2023-09-11 13:36:56 +02:00
Sophie Tauchert e507801ba7 purism librem5r4 linux: 6.4.5-librem5 -> 6.4.14-librem5 2023-09-11 13:36:56 +02:00
Stig Palmquist 4cd9ced7fa surface: linux 6.4.12 -> 6.4.14 2023-09-11 13:36:49 +02:00
[object Object] 88348cb5c1 framework laptop 11th gen: change mem_sleep_default=deep kernel parameter to acpi_osi="!Windows 2020" (fixes a regression in s2idle, making it more power efficient than deep sleep) 2023-09-11 13:36:39 +02:00
dependabot[bot] 9e28985b44 build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 13:35:44 +02:00
Astrid Yu edf8986157 surface: Remove 0015-intel-thread-director.patch 2023-09-11 13:35:37 +02:00
Sophie Tauchert 793de77d9f purism librem5r4: add configuration option for audio 2023-09-03 07:29:12 +02:00
Sophie Tauchert 3284d0605c purism librem5r4: update uboot 2023-09-03 07:29:12 +02:00
Sophie Tauchert 6a1fb21810 purism librem5r4: update kernel to 6.4.5 2023-09-03 07:29:12 +02:00
Alexander Bantyev 658064ce36 Apply suggestions from @louib 2023-09-03 07:29:12 +02:00
Alexander Bantyev 9070d2340c Add config for Librem 5 2023-09-03 07:29:12 +02:00
Alan Pearce 50dc4ef928 friendlyarm/nanopi-r5s: init config 2023-09-03 07:22:07 +02:00
Francesco Gazzetta 7ed4fdbdb5 Add fgaz to star64 codeowners 2023-09-03 07:21:41 +02:00
Stig Palmquist 416249d1ba surface: add kernel 6.4.12 2023-09-03 07:21:26 +02:00
Yannick Mayeur 1ed1234ad6 feat: add initial support for odroid-h3 hardware
This should work for both odroid-h3 and h3+ as they both have a jasper
lake CPU (N5105 and N6005).
2023-09-03 07:20:32 +02:00
Yannick Mayeur 19cf623e48 feat: add common config for intel elhart-lake and jasper-lake
The option added is based on this ticket: https://gitlab.freedesktop.org/drm/intel/-/issues/8080

Other relevant documentation: https://jellyfin.org/docs/general/administration/hardware-acceleration/intel/#known-issues-and-limitations
2023-09-03 07:20:32 +02:00
networkException 6f081cd52a apple/t2: update to kernel 6.5 2023-09-03 07:10:17 +02:00
bors[bot] fe0ea731b8
Merge #707
707: star64: linux: 5.15.115 -> 5.15.128 r=fgaz a=fgaz



Co-authored-by: Francesco Gazzetta <fgaz@fgaz.me>
2023-09-01 17:14:49 +00:00
Francesco Gazzetta ba8a6e0612 star64: linux: 5.15.115 -> 5.15.128 2023-08-31 12:53:25 +02:00
Lyndon Sanche 817e297fc3 Dell XPS 9560: More formatting in README 2023-08-25 09:31:26 +01:00
Lyndon Sanche 79a189283e Dell XPS 9560: Fix README headers 2023-08-25 09:31:26 +01:00
Lyndon Sanche 2455827f55 Dell XPS 9560: Fix README links 2023-08-25 09:31:26 +01:00
Lyndon Sanche 4cc314ad67 Dell XPS 9560: Add information and tweak config 2023-08-25 09:31:26 +01:00
Nick Cao 7f1836531b starfive visionfive2: use stable opensbi release 2023-08-18 16:38:08 +01:00
Nick Cao d5bd79a48b starfive visionfive2: drop outdated kernel patches 2023-08-18 16:37:22 +01:00
Yureka 430a56dd16 raspberry-pi/4: fix modesetting on 6.1 kernels 2023-08-12 21:22:22 +01:00
networkException 33052d5cad apple/t2: update to kernel 6.4.9 2023-08-12 21:22:09 +01:00
Francesco Gazzetta ca062b3e6c star64: remove unused flake input from README 2023-08-12 21:20:25 +01:00
Alexander Shpilkin f61352cf80 framework: add 13th gen to flake.nix 2023-08-11 06:11:50 +01:00
Alexander Shpilkin 161c91c01a framework: fix references to 13th gen in README 2023-08-11 06:11:50 +01:00
Lyndon Sanche 8ff521acd2 XPS 9560: Remove lib.mkDefault on mergable options 2023-08-09 08:43:19 +01:00
Lyndon Sanche 1b3c128388 common/nvidia disable: Remove lib.mkDefault 2023-08-09 08:42:35 +01:00
Baffle 5426a95071 inspiron 14 5420: more tlp info in README 2023-08-06 08:02:29 +01:00
Baffle a5a696f281 inspiron 14 5420: add to flake.nix 2023-08-06 08:02:29 +01:00
bagelwaffle a75e04b259 inspiron 14 5420: remove TLP 2023-08-06 08:02:29 +01:00
bagelwaffle ae71259624 inspiron 14 5420: initial 2023-08-06 08:02:29 +01:00
Jakob Leifhelm 87e3122b67 starfive visionfive2: Increase mtd0 to fit spl 2023-08-04 21:10:16 +01:00
Nick Cao e8159d4e3d starfive visionfive2: update kernel to 6.5.0-rc1 2023-08-04 21:09:51 +01:00
networkException 258b9faff0 apple/t2: update to kernel 6.4.8 2023-08-04 21:09:00 +01:00
Matthieu Dubuget b4f1105b9c Update default.nix: removing the fwupd line 2023-08-04 21:08:48 +01:00
Matthieu Dubuget 6dcf1381ec Adding Dell XPS 13 9333 2023-08-04 21:08:48 +01:00
Daniel Schaefer 24f9162b26 framework: Clarify 13th Gen Intel Core support
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-08-02 07:18:53 +01:00
Christoph Charles 353829048c microsoft-surface: update default kernel to 6.1.18 2023-08-02 07:18:18 +01:00
Dom Rodriguez af694376e2 p14s: Add common/{cpu,gpu}/amd to imports
This is my first upstream contribution (intend to contribute configs for
my NUC, GPD, and ClockworkPi uConsole/DevTerm). Essentially, this change
resolves #492, by adding the `common/{cpu,gpu}/amd` Nix fragments to the
`imports` list for the Thinkpad P14s.
2023-08-02 07:18:07 +01:00
Dom Rodriguez 9910c69856 GPD-P3: Remove S2 sleep kernel param, use S3 instead
It seems S3 works on NixOS without this option now. I have tested this
on NixOS 22.11/23.05, without issues.

Removing this option ensures better battery life whilst the UMPC is in
sleep mode, and reduces the chances of overheating whilst in transit.
2023-08-02 06:42:35 +01:00
dadada 96e5a0a0e8 t14s: reformat 2023-07-30 09:06:37 +01:00
dadada 67b0b87fd8 p14s, t14s: remove linux-firmware version check
nixpkgs is currently using the `unstable-` version

See beb6196e9e
2023-07-30 09:06:37 +01:00
Matt Layher ba9650b14e deciso/dec: init, tested with DEC2750
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2023-07-24 13:12:20 +01:00
Alexandre Acebedo 20f2efe651 ga402: remove useless kernel flags 2023-07-24 13:11:54 +01:00
CodeChomper 70325e398b Added Asus Zephyrus GA502 2023-07-24 13:11:36 +01:00
Jörg Thalheim d4ea64f206 Revert "framework: switch to power-profiles-daemon"
This reverts commit bc2ab72bec.

This was accidentially pushed to master instead to a PR.
2023-07-14 09:42:36 +02:00
Jörg Thalheim bc2ab72bec framework: switch to power-profiles-daemon 2023-07-14 09:42:08 +02:00
bors[bot] 44bc025007
Merge #661
661: Microchip uboot build failure with nixpkgs 23.05 r=Mic92 a=codehub8



Co-authored-by: Ganga Ram <Ganga.Ram@tii.ae>
Co-authored-by: Ganga Ram <131853076+codehub8@users.noreply.github.com>
2023-07-11 07:30:19 +00:00
SnIcK 39eac9bf9a
added 16IRX8H Lenovo Legion 7i Pro (2023) (#660)
* added 16IRX8H Lenovo Legion 7i Pro (2023)

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-07-11 08:20:24 +01:00
Ganga Ram bb7ba40a67
Update microchip/common/bsp/uboot.nix
Added branch name, for better trackability.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-07-10 10:12:50 +04:00
bors[bot] f0984a5a30
Merge #663
663: apple/t2: update to kernel 6.4.2 r=Mic92 a=networkException



Co-authored-by: networkException <git@nwex.de>
2023-07-10 05:27:13 +00:00
bors[bot] 4af66a486f
Merge #667
667: lenovo legion 7 slim 15ach6: remove brightness service r=Mic92 a=rhoriguchi



Co-authored-by: Ryan Horiguchi <ryan.horiguchi@gmail.com>
2023-07-10 05:17:32 +00:00
Ryan Horiguchi 7f46848ea6 lenovo legion 7 slim 15ach6: remove brightness service 2023-07-09 23:39:48 +02:00
networkException 4259025da1
apple/t2: update to kernel 6.4.2 2023-07-08 16:39:40 +02:00
bors[bot] 47dca15d86
Merge #630 #649 #650 #652 #654 #656 #657
630: starfive visionfive2: update kernel to 6.4.0 r=Mic92 a=NickCao



649: macbook-air-6: remove mba6x_bl kernel module r=Mic92 a=DanielSiepmann



650: apple/t2: init r=Mic92 a=networkException



652: build(deps): bump cachix/install-nix-action from 21 to 22 r=Mic92 a=dependabot[bot]



654: fixing iptsd not able to find DEVICE r=Mic92 a=buttergrillcorn



656: treewide: avoid alias usage for intel-vaapi-driver based on nixos version r=Mic92 a=lilyinstarlight



657: Added more blocked Nvidia kernel modules to fix the dGPU not being disabled r=Mic92 a=spacebanana420



Co-authored-by: Nick Cao <nickcao@nichi.co>
Co-authored-by: Daniel Siepmann <coding@daniel-siepmann.de>
Co-authored-by: kekrby <kekrby@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: buttergrillcorn <126628446+buttergrillcorn@users.noreply.github.com>
Co-authored-by: Lily Foster <lily@lily.flowers>
Co-authored-by: Space Banana <tomasbessa@protonmail.com>
2023-07-08 06:38:34 +00:00
bors[bot] 7dd20636fb
Merge #662
662: star64: init r=Mic92 a=fgaz



Co-authored-by: Francesco Gazzetta <fgaz@fgaz.me>
2023-07-08 06:29:08 +00:00
Francesco Gazzetta 30f71ba6e0 star64: init
Mostly based on the visionfive 2 config.
No GPU yet.
2023-07-07 21:54:40 +02:00
Ganga Ram e5ea582133 Microchip uboot build failure with nixpkgs 23.05
Fix for https://github.com/NixOS/nixpkgs/issues/235179
Update Microchip uboot version to linux4microchip+fpga-2023.06

Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2023-07-05 13:18:54 +04:00
Nick Cao ff35653b14
starfive visionfive2: update kernel to 6.4.0 2023-07-01 17:50:17 +08:00
Space Banana 289a5af77e
Additional blocked nvidia kernel modules 2023-06-28 00:55:39 +01:00
kekrby 8e28b9ee43
apple/t2: init
Co-authored-by: networkException <git@nwex.de>
2023-06-28 00:04:56 +02:00
Lily Foster 1d0b3cf27b
treewide: avoid alias usage for intel-vaapi-driver based on nixos version 2023-06-23 07:38:13 -04:00
buttergrillcorn ef7a2674a7
Update default.nix 2023-06-20 15:49:07 +01:00
dependabot[bot] ba74676d67
build(deps): bump cachix/install-nix-action from 21 to 22
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 21 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v21...v22)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 02:56:32 +00:00
bors[bot] 429f232fe1
Merge #612
612: Add Microchip Icicle-kit board support. r=Mic92 a=codehub8



Co-authored-by: Ganga Ram <Ganga.Ram@tii.ae>
2023-06-15 14:16:07 +00:00
Daniel Siepmann 2d54ea30cf
macbook-air-6: remove mba6x_bl kernel module
This does not compile against 6.x Kernel.
This is also no longer necessary for 6.x Kernel.
One can use "acpi_video0" device instead of "mba6x_backlight" device.
2023-06-13 16:54:30 +02:00
bors[bot] 2a807ad6e8
Merge #647
647: Add Lenovo Thinkpad X1 Nano Gen1 r=Mic92 a=brsvh



Co-authored-by: Burgess Chang <bsc@brsvh.org>
2023-06-11 02:57:46 +00:00
Burgess Chang a2ca907b42
lenovo-thinkpad-x1-nano-gen1: init
Signed-off-by: Burgess Chang <bsc@brsvh.org>
2023-06-11 01:11:59 +08:00
bors[bot] 70d5f55fae
Merge #645
645: starfive visionfive2: Add firmware update script. r=Mic92 a=leifhelm



Co-authored-by: Jakob Leifhelm <jakob.leifhelm@gmail.com>
2023-06-10 11:20:27 +00:00
bors[bot] 3ea17585aa
Merge #636
636: hp.14-df0023: init r=Mic92 a=tomodachi94



Co-authored-by: Tomo <68489118+Tomodachi94@users.noreply.github.com>
2023-06-10 11:09:25 +00:00
Jakob Leifhelm cc94292391
starfive visionfive2: Add firmware update script. 2023-06-08 20:24:13 +02:00
Tomo 54cc1a6c79 hp.14-df0023: init 2023-06-08 09:44:24 -07:00
bors[bot] e4b34b90f2
Merge #632 #638 #639
632: Framework 12th gen: add keys workaround r=Mic92 a=ggPeti



638: build(deps): bump cachix/install-nix-action from 20 to 21 r=Mic92 a=dependabot[bot]



639: lenovo-thinkpad-x1-6th-gen: swap throttled with thermald r=Mic92 a=dawidd6



Co-authored-by: Peter Ferenczy <ggpeti@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
2023-06-08 09:42:30 +00:00
bors[bot] e6bf3d33e4
Merge #644
644: starfive visionfive2: u-boot: update to SDK version v3.0.4 r=Mic92 a=NickCao



Co-authored-by: Nick Cao <nickcao@nichi.co>
2023-06-08 09:31:00 +00:00
Nick Cao cacf82c2b1
starfive visionfive2: u-boot: update to SDK version v3.0.4 2023-06-08 10:53:58 +08:00
Dawid Dziurla 468a7a1081
lenovo-thinkpad-x1-6th-gen: swap throttled with thermald 2023-05-31 08:29:51 +02:00
dependabot[bot] 61509d052c
build(deps): bump cachix/install-nix-action from 20 to 21
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 21.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v21)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 02:56:39 +00:00
bors[bot] 4cc688ee71
Merge #633
633: [FocusGen1M2] Disable TPM interrupt due to upstream bug r=Mic92 a=ghostbuster91



Co-authored-by: ghostbuster91 <ghostbuster91@users.noreply.github.com>
2023-05-24 03:40:33 +00:00
bors[bot] f6792e7c7a
Merge #634
634: starfive visionfive2: replace 8GB memory patch with overlay r=Mic92 a=leifhelm



Co-authored-by: Jakob Leifhelm <jakob.leifhelm@gmail.com>
2023-05-24 03:29:39 +00:00
Jakob Leifhelm e2864d99fd
starfive visionfive2: replace 8GB memory patch with overlay 2023-05-23 20:31:37 +02:00
ghostbuster91 ee1055d80c
[FocusGen1M2] Disable TPM interrupt due to upstream bug 2023-05-23 07:29:46 +02:00
Peter Ferenczy d569ff4fcf
Framework 12th gen: add keys workaround 2023-05-21 21:53:56 +03:00
Ganga Ram 2ed58e3fa2 Removed extra overlay for kernel
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2023-05-17 15:50:16 +04:00
bors[bot] 71ce85372a
Merge #623 #624 #627
623: Add HP Elitebook 845g9 r=Mic92 a=tesujimath



624: change default pstate mode for AMD cpus r=Mic92 a=aacebedo



627: raspberry-pi."4": update poe hat overlay to work with newer kernel r=Mic92 a=gador



Co-authored-by: Simon Guest <simon.guest@tesujimath.org>
Co-authored-by: Alexandre Acebedo <alexandre@acebedo.fr>
Co-authored-by: Florian Brandes <florian.brandes@posteo.de>
2023-05-15 16:54:26 +00:00
bors[bot] b3a8d308a1
Merge #629
629: samsung/np900x3c: drop deprecated synaptics r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-05-15 16:45:29 +00:00
Jörg Thalheim b3b91ca487 samsung/np900x3c: drop deprecated synaptics
libinputs is now preferred.
2023-05-15 18:44:13 +02:00
Simon Guest bbacfd6012 PR review comment 2023-05-15 20:56:48 +12:00
Simon Guest 2c2d22409f Add HP Elitebook 845g9 2023-05-15 20:56:46 +12:00
Alexandre Acebedo c256df3312 cpu/amd/pstate: change the pstate mode to active 2023-05-13 10:59:49 +02:00
bors[bot] 81cd886719
Merge #622
622: feat: Add focus m2 gen1 r=Mic92 a=ghostbuster91



Co-authored-by: ghostbuster91 <ghostbuster91@users.noreply.github.com>
2023-05-13 08:03:23 +00:00
ghostbuster91 e39036d599
feat: Add focus m2 gen1 2023-05-13 09:33:23 +02:00
Florian Brandes 5febaab6bd
raspberry-pi."4": fix build error with poe-hat, because of incompatibility with
compute module

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-05-12 19:47:31 +02:00
Florian Brandes aa85ea337b
raspberry-pi."4": fix compatible string
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-05-12 18:03:39 +02:00
Florian Brandes 40a9f0ed77
raspberry-pi."4": add assertion and update some source comments
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-05-12 17:57:39 +02:00
Jörg Thalheim fb13179483
Merge pull request #619 from NixOS/nxp-overlay
nxp-imx8: drop kernel overlay
2023-05-11 21:28:21 +01:00
Florian Brandes 1ffd9949ee
raspberry-pi."4": update poe hat overlay to work with newer kernel
fixes #626

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-05-11 21:29:42 +02:00
Jörg Thalheim c84a8f2423 nxp-imx8: drop kernel overlay
With overlays one cannot re-use nixpkgs across different machines,
which is a performance issues. In this instance it's not really needed.
2023-05-05 09:22:26 +02:00
bors[bot] 51559e691f
Merge #620
620: nxp boards: also test evaluation in CI r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-05-05 06:53:18 +00:00
Jörg Thalheim db08b1f13f tests: fix conflicts with profiles using grub 2023-05-05 08:52:35 +02:00
Jörg Thalheim d626c3f873 add missing nxp boards
This was an overside in https://github.com/NixOS/nixos-hardware/pull/556
2023-05-05 08:52:35 +02:00
bors[bot] a2018d3391
Merge #618
618: hardkernel/odroid-hc4: fix fancontrol on 5.15 kernel r=Mic92 a=metiulekm



Co-authored-by: Mateusz Majewski <metiulekm@gmail.com>
2023-05-05 06:23:03 +00:00
bors[bot] 32da382b2c
Merge #610
610: Added Lenovo Thinkpad X390 r=Mic92 a=paul-jewell



Co-authored-by: Paul Jewell <paul@teulu.org>
2023-05-05 06:13:18 +00:00
Paul Jewell 31f8d1c364 Added Lenovo Thinkpad x390 2023-05-05 06:59:00 +01:00
Mateusz Majewski adab6fd8e9 hardkernel/odroid-hc4: fix fancontrol on 5.15 kernel
Source for the fancontrol config mentions that one of the lines should
be deleted for the 5.15 kernel.

Fixes #616.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-05-03 12:01:43 +02:00
bors[bot] 7dc4630467
Merge #613 #615
613: Add config for Dell XPS 15 9520 r=Mic92 a=palfrey



615: add dell precision 3541 r=Mic92 a=anstylian



Co-authored-by: Tom Parker-Shemilt <tom.parkershemilt@doxy.me>
Co-authored-by: Tom Parker-Shemilt <palfrey@tevp.net>
Co-authored-by: angelos <agathangelos.stylianidis@gmail.com>
2023-05-02 06:40:13 +00:00
bors[bot] e48fc614d1
Merge #617
617: Update README.md r=Mic92 a=idrisr



Co-authored-by: Idris Raja <idris.raja@gmail.com>
2023-05-02 06:27:38 +00:00
Idris Raja 23ac1ecb8f
Update README.md
fix bad link
2023-05-01 20:57:22 -05:00
Tom Parker-Shemilt 8792ddc50c Add Dell XPS 9520 to flake and README 2023-04-30 16:38:50 +01:00
angelos 03548beefd add dell precision 3541 to flake.nix 2023-04-30 14:01:13 +03:00
bors[bot] e4a21ddcb4
Merge #608
608: Add Starfive Visionfive 2 r=Mic92 a=leifhelm



Co-authored-by: Jakob Leifhelm <jakob.leifhelm@gmail.com>
2023-04-30 06:28:15 +00:00
angelos 576903907a add dell precision 3541 2023-04-29 17:54:03 +03:00
Jakob Leifhelm 0cfe255229
starfive visionfive2: update kernel 2023-04-29 16:50:43 +02:00
Jakob Leifhelm b0fd962525
starfive visionfive2: update u-boot 2023-04-29 16:50:06 +02:00
Tom Parker-Shemilt b13c895f11 Add config for Dell XPS 15 9520 2023-04-29 11:18:48 +01:00
Ganga Ram ba8b9209ce Add Microchip Icicle-kit board support.
* Uses Linux kernel released by Microchip
  - https://github.com/linux4microchip/linux.git
  - Ver: v5.15   Tag: linux4microchip+fpga-2023.02
* Uses UBoot released by Microchip
  - Ver: uboot-2022-01 Tag: linux4microchip+fpga-2023.02

To generate NixOS sd image for MICROCHIP icicle-kit refer:
  https://github.com/tiiuae/ghaf.git

Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2023-04-26 22:55:57 +04:00
Jakob Leifhelm 2ce2f3f978
starfive visionfive2: fix flake check 2023-04-23 18:43:25 +02:00
Jakob Leifhelm 16d6b81a47
starfive visionfive2: Fix cross compilation 2023-04-23 18:11:02 +02:00
Jakob Leifhelm f5298eb1d7
starfive visionfive2: Fix kernel on nixos-unstable 2023-04-18 10:40:20 +02:00
Jakob Leifhelm 4fb7708a20
starfive visionfive2: Update spl_tool 2023-04-18 09:19:48 +02:00
Jakob Leifhelm 7b2aec9939
starfive visionfive2: Fix deviceTree name 2023-04-18 09:15:12 +02:00
Jakob Leifhelm 34f96de8c9
starfive-visionfive2: add to README 2023-04-16 23:18:29 +02:00
Jakob Leifhelm 82ae8a31ae
starfive-visionfive2: Add README.md 2023-04-16 23:18:29 +02:00
Jakob Leifhelm 0cc1214203
Init starfive visionfive 2 2023-04-16 23:18:18 +02:00
bors[bot] 3006d2860a
Merge #598
598: Add settings for AMD Raphael iGPU r=Mic92 a=stffffn



Co-authored-by: Steffen Weitz <weitz.steffen@gmail.com>
2023-04-07 14:01:24 +00:00
bors[bot] e810467b0f
Merge #603
603: Load acpi_call module only if tlp is being used r=Mic92 a=xfix



Co-authored-by: Konrad Borowski <konrad@borowski.pw>
2023-04-07 13:50:33 +00:00
bors[bot] 148fee3170
Merge #605
605: Lenovo legion 7i 16ithg6: add hidpi settings r=ulrikstrid a=ulrikstrid



Co-authored-by: Ulrik Strid <ulrik.strid@outlook.com>
2023-04-06 11:24:55 +00:00
Ulrik Strid d2f0dce97b Lenovo legion 7i 16ithg6: add hidpi settings 2023-04-05 16:56:09 +02:00
Konrad Borowski d28d2a2494 Load acpi_call module only if tlp is being used
power-profiles-daemon cannot use acpi_call. This avoids taining
the kernel by installing an unnecessary kernel module.
2023-04-03 09:18:09 +02:00
Steffen Weitz 9dbe8dea5f Add condition for kernel version 6.2 and above 2023-03-29 11:32:52 +02:00
bors[bot] a6aa8174fa
Merge #597 #599
597: microsoft-surface: upgrade kernel 6.1.6 to 6.1.18 r=Mic92 a=jokogr



599: fix: add missing touch-ft5406 export to raspberry-pi config r=Mic92 a=louib



Co-authored-by: Ioannis Koutras <ioannis.koutras@gmail.com>
Co-authored-by: louib <code@louib.net>
2023-03-29 06:12:10 +00:00
bors[bot] 0e55a5963e
Merge #600
600: fix: remove rpi_backlight driver from rpi4 config r=Mic92 a=louib



Co-authored-by: louib <code@louib.net>
2023-03-29 06:03:31 +00:00
louib 523e6f9faf fix: remove rpi_backlight driver from rpi4 config 2023-03-28 22:16:02 -04:00
louib b7c184da76 fix: add missing touch-ft5406 export to raspberry-pi config 2023-03-27 20:49:46 -04:00
Steffen Weitz 5fc0f23520 Add module import to flake 2023-03-27 21:18:10 +02:00
bors[bot] 82ecc5b88f
Merge #595
595: raspberry-pi/4: Add touch support for official 7" display. r=Mic92 a=frederictobiasc



Co-authored-by: Frédéric Christ <frederic.christ@secunet.com>
2023-03-27 19:15:21 +00:00
bors[bot] b13f2e1bc2
Merge #596
596: feat: add backlight support for rpi4 r=Mic92 a=louib



Co-authored-by: louib <code@louib.net>
2023-03-27 19:06:29 +00:00
Steffen Weitz 5d47553381 Remove unnecessary mkMerge 2023-03-27 10:34:07 +02:00
Steffen Weitz 70a8ff0a25 Add settings for AMD Raphael iGPU 2023-03-26 23:53:18 +02:00
louib 160e7e12d7 feat: add backlight support for rpi4 2023-03-26 15:26:49 -04:00
Ioannis Koutras 39fb4bb20e
microsoft-surface: upgrade kernel 6.1.6 to 6.1.18 2023-03-26 20:54:46 +02:00
Frédéric Christ 3023004e99 raspberry-pi/4: Fix comments and indentation. 2023-03-26 20:11:16 +02:00
Frédéric Christ bd6381e513 raspberry-pi/4: Add touch support for official 7" display. 2023-03-26 20:08:36 +02:00
bors[bot] f38f9a4c9b
Merge #591
591: drop hidpi comment r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-03-25 17:23:28 +00:00
bors[bot] 5854eabcd6
Merge #592 #593
592: thinkpad-z: move to hidpi module r=Mic92 a=Mic92



593: lenovo legion 7 slim 15ach6: add hidpi settings r=Mic92 a=rhoriguchi



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
Co-authored-by: Ryan Horiguchi <ryan.horiguchi@gmail.com>
2023-03-25 17:14:49 +00:00
Ryan Horiguchi a0eda74ee0
lenovo legion 7 slim 15ach6: add hidpi settings 2023-03-25 14:23:33 +01:00
Jörg Thalheim 449ab4e625 thinkpad-z: move to hidpi module 2023-03-25 11:35:40 +01:00
Jörg Thalheim 7daa0f589d drop hidpi comment
this option no longer exists
2023-03-25 11:33:56 +01:00
bors[bot] 648021dcb2
Merge #586
586: treewide: unset hardware.video.hidpi r=K900 a=K900



Co-authored-by: K900 <me@0upti.me>
2023-03-23 19:01:57 +00:00
K900 739fd62a50 treewide: move hidpi settings to another module, make conditional on nixos version 2023-03-23 16:58:35 +03:00
bors[bot] a4bc667096
Merge #583
583: OneNetbook 4 updates r=Mic92 a=t184256



Co-authored-by: Alexander Sosedkin <monk@unboiled.info>
2023-03-19 11:09:09 +00:00
bors[bot] 25b81ae455
Merge #585
585: init morefine-m600 r=Mic92 a=toastal



Co-authored-by: toastal <toastal@posteo.net>
2023-03-19 10:58:57 +00:00
toastal 98b4788c85 init morefine-m600
The Morefine M600 is an AMD-powered Mini PC

CPU options (all 6000-series mobile)::
• R9-6900HX
• R9-6850H
• R7-6850U
• R7-6800H
• R5-6600U

If bought with RAM + HDD, you would be getting DDR5 RAM @ 4800MHz & an
NVMe drive, however, it can also be purchased “barebone” with the
wireless card also being replacable.
2023-03-19 17:00:37 +07:00
Alexander Sosedkin 2f074d636d onenetbook/4: remove stale iio-sensor-proxy <3.0 branch 2023-03-19 00:57:22 +01:00
Alexander Sosedkin bde6ca292c onenetbook/4: update stylus patch for 6.1 2023-03-19 00:10:04 +01:00
bors[bot] 994584bb26
Merge #582
582: gpd/p2-max: init r=Mic92 a=enc0urage



Co-authored-by: enc0urage <127197575+enc0urage@users.noreply.github.com>
2023-03-17 17:48:17 +00:00
enc0urage 3287cde1d0 gpd/p2-max: init 2023-03-17 07:57:01 +00:00
bors[bot] 556101ff85
Merge #580
580: Improve the configuration of asus ga401 r=Mic92 a=LostAttractor



Co-authored-by: ChaosAttractor <46527539+LostAttractor@users.noreply.github.com>
Co-authored-by: ChaosAttractor <lostattractor@gmail.com>
2023-03-09 21:24:59 +00:00
bors[bot] 22ef358f5f
Merge #581
581: lenovo 16ach6h: add amd cpu pstate r=Mic92 a=LostAttractor



Co-authored-by: ChaosAttractor <46527539+LostAttractor@users.noreply.github.com>
2023-03-09 19:17:21 +00:00
bors[bot] 6e303a505a
Merge #578
578: nxp: imx8: Fix wrong paths to imx-uboot.nix file r=Mic92 a=unbel13ver



Co-authored-by: Ivan Nikolaenko <ivan.nikolaenko@unikie.com>
2023-03-09 08:22:13 +00:00
bors[bot] 7ba21e76d4
Merge #579
579: Enable NVIDIA power management for Dell XPS 7590 r=Mic92 a=ghisvail



Co-authored-by: Ghislain Vaillant <ghisvail@users.noreply.github.com>
2023-03-09 08:11:42 +00:00
Ghislain Vaillant e72756d0b4
Enable NVIDIA power management for Dell XPS 7590 2023-03-07 21:08:32 +01:00
Ivan Nikolaenko 826a2714d7
nxp: imx8: Fix wrong paths to imx-uboot.nix file
In addition, adjust code formatting and improve documentation

Signed-off-by: Ivan Nikolaenko <ivan.nikolaenko@unikie.com>
2023-03-07 13:54:38 +02:00
bors[bot] f6610997b0
Merge #575
575: Add Hardkernel HC4 support r=Mic92 a=erdnaxe



Co-authored-by: Alexandre Iooss <erdnaxe@crans.org>
2023-03-06 09:33:59 +00:00
bors[bot] 9c94083092
Merge #577
577: common/gpu/amd: use modesetting driver by default r=Mic92 a=K900



Co-authored-by: K900 <me@0upti.me>
2023-03-06 09:26:15 +00:00
K900 630a8e3e4e common/gpu/amd: use modesetting driver by default
Follows upstream nixpkgs
2023-03-06 12:08:52 +03:00
bors[bot] 46d00f2b79
Merge #576
576: Bump cachix/install-nix-action from 19 to 20 r=Mic92 a=dependabot[bot]



Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 08:43:32 +00:00
dependabot[bot] e38cf02bf7
Bump cachix/install-nix-action from 19 to 20
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 19 to 20.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v19...v20)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 02:56:36 +00:00
Alexandre Iooss ae64b45fc4 Add Hardkernel HC4 support 2023-03-05 18:08:24 +01:00
bors[bot] d63e86cbed
Merge #574
574: Fix disabling Nvidia dGPU r=Mic92 a=c3r5b8



Co-authored-by: c3r5b8 <olespid@gmail.com>
2023-03-04 16:59:08 +00:00
c3r5b8 defc8e4677 Fix disabling Nvidia dGPU 2023-03-04 18:39:37 +02:00
bors[bot] 77de4cd09d
Merge #571
571: common/gpu/intel*: Migrate to common/gpu/intel/* and add disable r=Mic92 a=Kiskae



Co-authored-by: Kiskae <Kiskae@users.noreply.github.com>
2023-02-28 13:40:39 +00:00
bors[bot] 0d55271b4f
Merge #572
572: dell-xps-15-7590: enable fwupd and deep sleep r=Mic92 a=ghisvail



Co-authored-by: Ghislain Vaillant <ghisvail@gmail.com>
2023-02-28 13:32:33 +00:00
Ghislain Vaillant 9fef72a2af dell-xps-15-7590: enable fwupd and deep sleep
- This device supports firmware updates through `fwupd`.
- Prefer deep sleep over s2idle which is inefficient.
- Remove old cruft in the corresponding readme.
2023-02-28 12:15:25 +01:00
bors[bot] dcbf93d500
Merge #570
570: Remove override of WiFi module for Dell XPS 15 7590 r=Mic92 a=ghisvail



Co-authored-by: Ghislain Vaillant <ghisvail@users.noreply.github.com>
2023-02-28 08:53:52 +00:00
Kiskae d7a5d6a29a common/gpu/intel*: Migrate to common/gpu/intel/* and add disable 2023-02-27 14:04:53 +01:00
Ghislain Vaillant 4f1565e56d
Remove override of WiFi module for Dell XPS 15 7590 2023-02-26 21:02:04 +01:00
bors[bot] 2a483ad9cd
Merge #569
569: Enable thermald for Dell XPS 15 7590 r=Mic92 a=ghisvail



Co-authored-by: Ghislain Vaillant <ghisvail@users.noreply.github.com>
2023-02-26 19:46:35 +00:00
Ghislain Vaillant 4bf15d3dfd Enable thermald for Dell XPS 15 7590 2023-02-26 20:35:47 +01:00
bors[bot] c8e047a233
Merge #568
568: Add NVIDIA config for Dell XPS 15 7590 r=Mic92 a=ghisvail



Co-authored-by: Ghislain Vaillant <ghisvail@gmail.com>
2023-02-26 19:08:42 +00:00
Ghislain Vaillant c0effe6658 Add profile for Dell XPS 15 7590 NVIDIA 2023-02-26 00:09:37 +01:00
Ghislain Vaillant c37aed2394 Add NVIDIA config for Dell XPS 15 7590 2023-02-25 19:18:27 +01:00
Sandro 2d44015779
Merge pull request #563 from ncfavier/remove-rtw89
t14s,p14s: remove rtw89-firmware
2023-02-24 10:52:06 +01:00
Naïm Favier fb4ff6250e
t14s,p14s: remove rtw89-firmware if linux-firmware new enough 2023-02-22 14:02:07 +01:00
bors[bot] d24ea777c5
Merge #559
559: p14s: do not include acpi_backlight on newer kernel versions r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-02-20 20:21:32 +00:00
Jörg Thalheim 93030acc16 p14s: do not include acpi_backlight on newer kernel versions 2023-02-20 21:12:29 +01:00
bors[bot] 1f5e2b7a6a
Merge #553
553: lenovo/thinkpad/t520: create r=Mic92 a=reo101



Co-authored-by: Pavel Atanasov <pavel.atanasov2001@gmail.com>
Co-authored-by: reo101 <pavel.atanasov2001@gmail.com>
2023-02-20 20:11:51 +00:00
reo101 6f1da80bd0
lenovo/thinkpad/t520: reference in README.md and flake.nix 2023-02-20 18:08:01 +02:00
bors[bot] 157e1e4b12
Merge #556
556: Add NXP i.MX8 SOC family support. r=Mic92 a=unbel13ver



Co-authored-by: Ivan Nikolaenko <ivan.nikolaenko@unikie.com>
2023-02-20 16:02:54 +00:00
bors[bot] 0f900cfae0
Merge #561
561: lenovo/legion/16ach6h: disable thermald r=Mic92 a=piousdeer



Co-authored-by: piousdeer <31318219+piousdeer@users.noreply.github.com>
2023-02-20 15:53:31 +00:00
Ivan Nikolaenko 75b6ec4775
Add NXP i.MX8 SOC family support.
Currently there are two devices supported:
* imx8qm-mek
* imx8qxp-mek

Signed-off-by: Ivan Nikolaenko <ivan.nikolaenko@unikie.com>
2023-02-20 12:19:39 +02:00
bors[bot] 26c9dbdc92
Merge #554
554: gpd/win-2: init r=Mic92 a=necrophcodr



Co-authored-by: necrophcodr <nc@scalehost.eu>
2023-02-20 09:40:00 +00:00
necrophcodr 1c319687c1 gpd/win-2: init 2023-02-20 09:40:39 +01:00
piousdeer 576be211f0 lenovo/legion/16ach6h: disable thermald
It's for Intel laptops. 16ach6h is not one of them.
2023-02-19 23:45:40 +07:00
Bernardo Meurer 525177a780
Merge pull request #560 from lovesegfault/no-aliases
raspberry-pi/4: don't use an alias for the kernel pkg
2023-02-19 02:59:03 +00:00
Bernardo Meurer 7c7a8f7082
raspberry-pi/4: don't use an alias for the kernel pkg 2023-02-18 15:55:05 +00:00
bors[bot] 9bbcc37b01
Merge #555
555: Bump cachix/install-nix-action from 18 to 19 r=Mic92 a=dependabot[bot]



Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 05:58:34 +00:00
bors[bot] 00d1c8da9a
Merge #558
558: amdlvk cleanup r=Mic92 a=SuperSamus



Co-authored-by: Martino Fontana <tinozzo123@tutanota.com>
2023-02-18 05:50:27 +00:00
Martino Fontana b4bf2550b3 AMD: don't install OpenCL by enabling amdvlk 2023-02-17 15:30:02 +01:00
Martino Fontana 1156f4d66e AMD: disable amdvlk install by default
Nobody recommends using amdvlk over RADV.
Also don't set environment variable that sets the use of RADV when installing amdvlk
2023-02-17 15:29:55 +01:00
dependabot[bot] 85fb2c41b6
Bump cachix/install-nix-action from 18 to 19
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 18 to 19.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v18...v19)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 03:14:50 +00:00
ChaosAttractor 0d8c852503 zephyrus ga401: Enable nvidia powerManagement & modesetting (nvidia-drm) 2023-02-10 14:55:46 +08:00
ChaosAttractor 5c55f2428f zephyrus ga401: Enable asusd services 2023-02-10 14:32:13 +08:00
Pavel Atanasov 51ec9ab517
lenovo/thinkpad/t520: create
Borrow `t420`'s config since the machines only mainly differ in screen size
2023-02-09 20:17:37 +02:00
bors[bot] 44ae00e02e
Merge #550
550: Add amdvlk and opencl options to amdgpu & Fix proton crash when Dual-Direct GFX enabled for lenovo legion 16ach6h r=Mic92 a=LostAttractor



Co-authored-by: ChaosAttractor <46527539+LostAttractor@users.noreply.github.com>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-02-09 09:06:46 +00:00
Jörg Thalheim 445db26b88
Update lenovo/legion/16ach6h/nvidia/default.nix 2023-02-09 09:04:15 +00:00
bors[bot] 299fe76828
Merge #551
551: Fix conflict to 2a7130d13a r=Mic92 a=LostAttractor



Co-authored-by: ChaosAttractor <lostattractor@gmail.com>
2023-02-09 08:59:02 +00:00
ChaosAttractor b45bd0353a Change lib.mkDefault to lib.mkOverride 990 for hardware.nvidia.prime.offload.enable
Fix conflict to 2a7130d13a
2023-02-09 12:41:39 +08:00
ChaosAttractor 8732ed0a36 16ach6h: add amd cpu pstate 2023-02-08 18:58:59 +08:00
ChaosAttractor b5416e9171 zephyrus ga401: change pc/ssd to pc/laptop/ssd 2023-02-08 18:57:46 +08:00
ChaosAttractor 0b49fc7783 zephyrus ga401: add amd cpu pstate 2023-02-08 18:56:56 +08:00
ChaosAttractor 56ad55261c zephyrus ga401: add amdgpu driver 2023-02-08 18:56:30 +08:00
bors[bot] 16b6928ec6
Merge #549
549: Add Support for Lenovo Y530-15ICH r=Mic92 a=wrmilling



Co-authored-by: Winston R. Milling <Winston@Milli.ng>
2023-02-07 15:50:29 +00:00
Winston R. Milling 48e4621f98
Add flake and readme links 2023-02-07 07:09:22 -06:00
ChaosAttractor be60a34c1a 16ach6h: disable amdvlk and rocm-opencl for nvidia-only mode 2023-01-30 15:23:11 +08:00
ChaosAttractor 5af4dc5d52 Add the option of whether to install the opencl environment and whether to use amdvlk for amdgpu 2023-01-30 15:23:11 +08:00
Winston R. Milling 68136fdd0a
Lenovo Y530-15ICH Initial Commit 2023-01-29 14:48:35 -06:00
bors[bot] b7ac0a5602
Merge #544 #545 #546
544: Fix copy-paste typo: "CONFIG_" prefix in structuredExtraConfig patches r=Mic92 a=mexisme



545: Add kernel 6.1.6 to Microsoft Surface profile r=Mic92 a=mexisme



546: lenovo/thinkpad/t440p: force load thinkpad_acpi r=Mic92 a=surfaceflinger



Co-authored-by: mexisme <wildjim+dev@kiwinet.org>
Co-authored-by: surfaceflinger <nat@nekopon.pl>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-01-24 08:59:53 +00:00
Jörg Thalheim d25ac8d999
Update lenovo/thinkpad/t440p/default.nix 2023-01-24 08:54:28 +00:00
bors[bot] ba8fc4a279
Merge #547
547: 16ach6h: Add tags for Dual-Direct GFX (DDG) specialisation r=Mic92 a=LostAttractor



Co-authored-by: ChaosAttractor <lostattractor@gmail.com>
2023-01-24 08:52:21 +00:00
Bernardo Meurer 4cff4f40b9
Merge pull request #543 from ipetkov/fix-device-tree-overlays
raspberry-pi/4/dtmerge: fix application of overlays
2023-01-23 13:35:16 -05:00
ChaosAttractor f83f6d1437 16ach6h: Add tags for Dual-Direct GFX (DDG) specialisation 2023-01-24 01:34:55 +08:00
surfaceflinger 759a06ec4a
lenovo/thinkpad/t440p: force load thinkpad_acpi
thinkpad_acpi doesn't load automatically on corebooted Lenovo ThinkPads T440p (but works fine if force_loaded). Doesn't affect users with stock firmware.
2023-01-20 21:37:32 +01:00
mexisme 906737f580 Enable STREAMING_MEDIA kernel option 2023-01-19 17:00:17 +13:00
mexisme 27b616b63a Update repo rev and SHA-256 for linux-surface 2023-01-19 14:36:57 +13:00
mexisme 2316f4cb8c Configure MS Surface Go to use kernel 6.1.6 2023-01-19 13:54:46 +13:00
mexisme 863953246f Update to kernel 6.1.6 2023-01-19 13:26:43 +13:00
mexisme ab4c0eedb6 Begin updating to kernel 6.1.6 2023-01-19 13:20:36 +13:00
mexisme 2933836fa5 Typo: "CONFIG_" prefix in structuredExtraConfig patches
- Unintentional typo, due to copy-paste from linux-surface upstream config
2023-01-19 03:11:39 +13:00
mexisme f5fc8fb060 Merge branch 'up/master' into microsoft/surface/6.1.3 2023-01-19 03:10:40 +13:00
mexisme 5c836a9a36 Typo: "CONFIG_" prefix in structuredExtraConfig patches
- Unintentional typo, due to copy-paste from linux-surface upstream config
2023-01-19 03:06:56 +13:00
Ivan Petkov 320866b985
raspberry-pi/4/dtmerge: fix application of overlays
Previously whenever an overlay was found to be incompatible with a base
device tree blob, the entire base dtb would be skipped in favor of
processing the next one. This had the unfortunate effect where overlays
would not fully be applied if any incompatibility was found. For
example, this is an issue with build device trees specific for one
flavor of raspberry pi if the overlay was not compatible _everywhere_.

The solution is to forego the `continue` keyword if an overlay is in
compatible and instead use a compound conditional statement to skip
incompatible overlays but continue trying to apply it to any remaining
dtbs.
2023-01-16 19:57:10 -08:00
bors[bot] 7bd6b87b37
Merge #540
540: Fixed typo r=Mic92 a=damianoognissanti



Co-authored-by: damianoognissanti <97738787+damianoognissanti@users.noreply.github.com>
2023-01-15 17:21:14 +00:00
damianoognissanti c58b1fb5a5
Fixed typo
One line said nixes instead of nixos
2023-01-14 08:34:30 +01:00
bors[bot] 88016c96c3
Merge #539
539: microsoft/surface: Tidy-up (update TODO's, run Deadnix and Statix) r=Mic92 a=mexisme



Co-authored-by: mexisme <wildjim+dev@kiwinet.org>
2023-01-11 12:36:09 +00:00
mexisme 62e8ddb93f Deadnix fixes 2023-01-11 12:11:44 +13:00
mexisme 1a2092cf02 Merge remote-tracking branch 'upstream/master' into microsoft-surface/deadnix-statix 2023-01-11 12:10:26 +13:00
mexisme 01d1f9604e Update TODO's 2023-01-11 12:10:06 +13:00
mexisme ce5c29e48f Merge remote-tracking branch 'upstream/master' into microsoft/surface/6.1.3 2023-01-11 12:00:54 +13:00
bors[bot] 9335068481
Merge #537
537: microsoft/surface profile -- change dir structure to support easier specialisation by model r=Mic92 a=mexisme



Co-authored-by: mexisme <wildjim+dev@kiwinet.org>
Co-authored-by: mexisme <mexisme@users.noreply.github.com>
2023-01-10 22:47:31 +00:00
mexisme d5c4a26bb1 Merge remote-tracking branch 'upstream/master' into microsoft/surface/6.1.3 2023-01-11 11:47:31 +13:00
mexisme f67688dcf5 Add specialisation for Surface Laptop (AMD) 2023-01-11 11:16:39 +13:00
mexisme 1dc7781973 Merge branch 'microsoft/surface/specialisation/common-files' of github.com:mexisme/nixos-hardware into microsoft/surface/specialisation/common-files 2023-01-11 11:07:56 +13:00
mexisme 6832e87663 Add some doc comments 2023-01-11 11:07:27 +13:00
mexisme 2cd5ae60b1
Use URL to docs, instead of short-form
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-01-11 10:48:24 +13:00
mexisme 8e6d03d349
Update OLD-BEHAVIOUR-DEPRECATION.md 2023-01-11 02:32:24 +13:00
mexisme 42ec6296f2 fixup! Update Surface Pro 3 to reference microsoft/surface/surface-pro-intel 2023-01-11 02:25:48 +13:00
mexisme 80e8d29a9c Update Surface Go to depend on other PC modules
- SSD
- Intel Kaby Lake
- Intel GPU
2023-01-11 02:24:06 +13:00
mexisme 7b72154684 Update Surface Pro 3 to reference microsoft/surface/surface-pro-intel 2023-01-11 02:12:39 +13:00
mexisme de3ec80522 Add Surface Pro (Intel) 2023-01-11 02:11:52 +13:00
mexisme 30066d1886 Tidy-up 2023-01-11 02:06:33 +13:00
mexisme 63be2f9854 Update README.md to reference surface-go module 2023-01-11 01:54:53 +13:00
mexisme 5b713dd72e Merge branch 'microsoft/surface/specialisation/common-files' into microsoft/surface/specialisation/surface-go 2023-01-11 01:51:01 +13:00
mexisme ee8fef4149 Use the module assertions option, instead
- Assertion (failure) when trying to use microsoft/surface/default.nix
2023-01-11 01:39:03 +13:00
mexisme 9d4505d4e1 Update README 2023-01-11 01:39:03 +13:00
mexisme f00dee1fdf Remove the "deprecated" module
- It makes more sense to error-out and provide information on how to update.
2023-01-11 00:29:15 +13:00
mexisme 157a74d8a4 "old" --> "deprecated" 2023-01-11 00:29:15 +13:00
mexisme 1e0872458b Merge remote-tracking branch 'upstream/master' into microsoft/surface/specialisation/common-files 2023-01-10 22:29:13 +13:00
mexisme c1580f8d81
Update warning message
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-01-10 22:03:38 +13:00
bors[bot] df029cfefc
Merge #533
533: Update the 6.0.* kernel version to 6.0.17 for Microsoft Surface profile r=Mic92 a=mexisme



Co-authored-by: mexisme <wildjim+dev@kiwinet.org>
2023-01-10 07:47:15 +00:00
mexisme aa5b884f01 Merge branch 'microsoft/surface/specialisation/common-files' into microsoft/surface/specialisation/surface-go 2023-01-10 17:45:41 +13:00
mexisme 5f5a93c535 Merge remote-tracking branch 'upstream/master' into microsoft/surface/specialisation/common-files 2023-01-10 17:45:12 +13:00
mexisme 89e925dbc1 Merge remote-tracking branch 'upstream/master' into microsoft/surface/6.1.3 2023-01-10 17:41:58 +13:00
mexisme 0c474cb9e1 Merge branch 'microsoft/surface/6.0.17' of ssh://github.com/mexisme/nixos-hardware into microsoft/surface/6.0.17 2023-01-10 17:41:15 +13:00
mexisme 12271091e0 Merge remote-tracking branch 'upstream/master' into microsoft/surface/6.0.17 2023-01-10 17:40:24 +13:00
mexisme 663ed7df79 Merge branch 'microsoft/surface/specialisation/common-files' into microsoft/surface/specialisation/surface-go 2023-01-10 17:31:02 +13:00
mexisme 9e1f036688 Fix README 2023-01-10 17:29:15 +13:00
mexisme 9491d40621 README.md 2023-01-10 17:29:15 +13:00
mexisme cd560b1ec3 README.md 2023-01-10 17:29:15 +13:00
mexisme 20cc307602 Update README.md and flake.nix 2023-01-10 17:29:15 +13:00
mexisme c52e0880de Add warning when importing microsoft/surface/ from now on 2023-01-10 17:29:15 +13:00
mexisme cca1f04705 Move the last of the code into ./microsoft/common/old 2023-01-10 17:29:15 +13:00
mexisme 5b27563b02 Extract "surface-control" management into new option-enabled module 2023-01-10 17:29:15 +13:00
mexisme b8f4e97171 Extract IPTSd management into new option-enabled module 2023-01-10 17:29:15 +13:00
mexisme 391211b351 Extract _actually_ common code out of microsoft/surface/default.nix 2023-01-10 17:29:15 +13:00
mexisme 7ff6c2fd67 Doc comment 2023-01-10 17:29:15 +13:00
mexisme bd17dc4706 Move files around...
- "kernel" and "repos.nix" --> "common/"
- "firmware/surface-go/ath10k" --> "surface-go/firmware/ath10k"
- Update where "kernel", "firmware/surface-go" and "repos.nix" can be found
2023-01-10 17:29:13 +13:00
mexisme db569eb9ca Merge branch 'microsoft/surface/specialisation/common-files' into microsoft/surface/specialisation/surface-go 2023-01-10 17:22:07 +13:00
mexisme cca014c8b0 Fix README 2023-01-10 17:19:58 +13:00
mexisme d8df3d756a Update README.md and flake.nix 2023-01-10 17:18:47 +13:00
mexisme 210e621c62 Create model specialisation for MS Surface Go 2023-01-10 17:17:07 +13:00
mexisme 36f3e30fff README.md 2023-01-10 16:57:32 +13:00
mexisme 330cdaa125 README.md 2023-01-10 16:55:23 +13:00
mexisme 6518a93150 Update README.md and flake.nix 2023-01-10 16:35:29 +13:00
mexisme fb5ac77207 Add warning when importing microsoft/surface/ from now on 2023-01-10 16:35:25 +13:00
mexisme ab0c9fe7ce Move the last of the code into ./microsoft/common/old 2023-01-10 16:33:49 +13:00
mexisme f0835cb45c Extract "surface-control" management into new option-enabled module 2023-01-10 16:06:55 +13:00
mexisme 0ce988ea8a Extract IPTSd management into new option-enabled module 2023-01-10 16:06:55 +13:00
mexisme 51122e95a1 Extract _actually_ common code out of microsoft/surface/default.nix 2023-01-10 16:06:55 +13:00
mexisme 5e6d5f2d88 Doc comment 2023-01-10 15:38:47 +13:00
mexisme 03df3d2d53 Move files around...
- "kernel" and "repos.nix" --> "common/"
- "firmware/surface-go/ath10k" --> "surface-go/firmware/ath10k"
- Update where "kernel", "firmware/surface-go" and "repos.nix" can be found
2023-01-10 15:38:47 +13:00
mexisme 51e3be9885 Remove kernel 6.0.11 from MS Surface profile 2023-01-10 12:41:58 +13:00
bors[bot] 48745e081c
Merge #535
535: fix evaluation of rpi4 r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-01-09 23:32:38 +00:00
Jörg Thalheim cb4f9dca64 fix evaluation of rpi4 2023-01-10 00:31:59 +01:00
mexisme 05bbf0f040 Update the rev. and sha256 of linux-surface repo to match latest "master" 2023-01-10 12:21:51 +13:00
mexisme 321d5ec9f7 Add kernel 6.1.3 2023-01-10 12:21:51 +13:00
mexisme 9020a320f5 Install kernel 6.0.17 by default 2023-01-09 23:45:16 +13:00
mexisme 0ee9d61fa6 Update the rev. and sha256 of linux-surface repo to match latest "master" 2023-01-09 23:44:36 +13:00
mexisme 800786f11d Add Kernel 6.0.17 2023-01-09 23:05:15 +13:00
bors[bot] ca29e25c39
Merge #531
531: asus-zephyrus-ga402: fix mic mute button r=Mic92 a=figsoda



Co-authored-by: figsoda <figsoda@pm.me>
2023-01-02 07:27:44 +00:00
figsoda 6517e0efcb asus-zephyrus-ga402: fix mic mute button 2023-01-01 12:31:25 -05:00
bors[bot] 0517e81e8c
Merge #530
530: Added configuration for panasonic let's note r=Mic92 a=2gn



Co-authored-by: Hiram Tanner <indianrunner@duck.com>
2023-01-01 09:54:34 +00:00
Hiram Tanner c82db46e75 Added configuration for panasonic
Update panasonic/letsnote/cf-lx4/default.nix

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>

Added profile to flake.nix
2022-12-31 23:30:14 +09:00
bors[bot] 3c03f64efb
Merge #529
529: treewide: apply deadnix and statix r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2022-12-31 10:58:34 +00:00
Jörg Thalheim 03c6d15152 treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
bors[bot] d7dfd13d25
Merge #510
510: Config settings for Dell XPS 13 / 9300 r=Mic92 a=mexisme



Co-authored-by: mexisme <wildjim+dev@kiwinet.org>
2022-12-31 07:30:19 +00:00
mexisme ed291da4ab Update flake.nix and root README.md 2022-12-31 14:23:53 +13:00
mexisme 0cee376703 Support reloading btusb module after resuming 2022-12-31 14:23:53 +13:00
mexisme 97900e1e7e Support reloading i2c-designware module(s) after resuming 2022-12-31 14:23:53 +13:00
mexisme b1582825dd Support for the Dell XPS 13, 9300 model 2022-12-31 14:23:53 +13:00
bors[bot] e2f9c6f736
Merge #525
525: Add LENOVO Yoga 6 13ALC6 82ND r=Mic92 a=me00001



Co-authored-by: suliman <suliman.p2019@gmail.com>
Co-authored-by: me00001 <37930867+me00001@users.noreply.github.com>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-12-29 13:53:34 +00:00
Jörg Thalheim 49485f5569
Update lenovo/yoga/6/13ALC6/default.nix 2022-12-29 13:53:01 +00:00
Jörg Thalheim c1a38081fa
Update lenovo/yoga/6/13ALC6/default.nix 2022-12-29 13:52:15 +00:00
suliman 993e6c8726 removo TLP 2022-12-29 16:50:43 +03:00
suliman 114881dd3d Minimum required version is 5.16 based on https://linux-hardware.org/?id=pci:10ec-8852-17aa-4852 2022-12-29 14:42:08 +03:00
me00001 a30c4834f4
set a minimum kernel
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-12-29 13:23:08 +03:00
suliman 2e8fce47c8 Reusing modules 2022-12-28 23:10:35 +03:00
suliman 485f3bc2f2 Add LENOVO Yoga 6 13ALC6 82ND 2022-12-24 02:38:10 +03:00
bors[bot] 9577ab1eaf
Merge #518
518: raspberry-pi/4: dtmerge update r=Mic92 a=carlossless



Co-authored-by: Karolis Stasaitis <contact@carlossless.io>
2022-12-21 14:04:41 +00:00
Karolis Stasaitis 93b1cdbb77 raspberry-pi/4: dtmerge update
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-12-21 14:27:48 +02:00
bors[bot] 25010a042c
Merge #515
515: Update config of Lenovo legion 16ach6h r=Mic92 a=LostAttractor



Co-authored-by: ChaosAttractor <46527539+LostAttractor@users.noreply.github.com>
2022-12-19 16:37:27 +00:00
ChaosAttractor 8d2e13c847 Merge branch 'master' into lenovo-legion-16ach6h 2022-12-19 23:10:30 +08:00
ChaosAttractor ab165ab191 Add standalone hybrid only and nvidia only modules 2022-12-19 23:10:28 +08:00
bors[bot] 7a1b9419c9
Merge #519
519: Latitude 7430: init r=Mic92 a=s1341



Co-authored-by: s1341 <github@shmarya.net>
2022-12-19 13:08:22 +00:00
s1341 9c0fa60e49 Latitude 7430: init 2022-12-19 12:41:50 +02:00
ChaosAttractor b53fc0a785 Add specialisation for “DDG" mode is enabled 2022-12-19 14:36:29 +08:00
ChaosAttractor dea6ef85a1 Enable hardware.nvidia.modesetting 2022-12-19 13:02:28 +08:00
ChaosAttractor dc8f1fd6a8 Enable hardware.nvidia.powerManagement
Update default.nix
2022-12-17 18:38:06 +08:00
ChaosAttractor 262146dc76 Override edid of built-in display
Fix the problem that the edid of the built-in display only provided 60hz mode when use Hybrid Graphics

It appears to be a Lenovo firmware issue and i try to fix it. This issue still reproducible on BIOS version GKCN58WW(22/12/16)
Lenovo Legion 5 Pro is a laptop which support a technology called "DDG" that can allow you switch between discrete graphics mode and hybrid mode (optiums).
In discrete graphics mode, the firmware provides the correct edid and anything works fine, the built-in display work well at 165hz.
But if switch to hybrid mode, the firmware provides a different edid, causing the built-in display only can work at 60hz.
So I extracted the edid file of discrete graphics mode and override the edid that built-in display provide to solve this problem.

Co-Authored-By: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-12-17 18:38:06 +08:00
bors[bot] e462a4baf7
Merge #517
517: cpu/amd/pstate: enable correctly on kernel 6.1+ r=Mic92 a=K900



Co-authored-by: K900 <me@0upti.me>
2022-12-16 22:01:05 +00:00
Jörg Thalheim 9deb37488f
Merge pull request #513 from LostAttractor/loadAtStage1
Add a option to add(or disadd) amdgpu to kernelModule
2022-12-16 21:55:05 +00:00
ChaosAttractor 2fcc402c01
Merge branch 'master' into loadAtStage1 2022-12-17 00:06:23 +08:00
ChaosAttractor a1a8723bf9 Add a option to add(or disadd) amdgpu to kernelModule
Add a option to add(or disadd) amdgpu to boot.initrd.kernelModule
2022-12-17 00:04:46 +08:00
K900 b67160bb7f
cpu/amd/pstate: enable correctly on kernel 6.1+
There is no separate module now, and a clean option to enable it.
2022-12-16 17:43:40 +03:00
bors[bot] 488931efb6
Merge #514
514: Add lib.mkDefault in services.xserver.videoDrivers = [ "amdgpu" ]; r=Mic92 a=LostAttractor



Co-authored-by: ChaosAttractor <46527539+LostAttractor@users.noreply.github.com>
2022-12-16 09:40:12 +00:00
ChaosAttractor b35c93e8a2 Add mkDefault to services.xserver.videoDrivers = [ "amdgpu" ]; 2022-12-16 06:58:12 +08:00
bors[bot] 1f60672721
Merge #508
508: Add support for GA402 r=Mic92 a=aacebedo



Co-authored-by: Alexandre Acebedo <alexandre@acebedo.fr>
2022-12-15 12:19:56 +00:00
bors[bot] 0fbf27af51
Merge #511
511: Kernel 6.0.11 for Microsoft Surface devices r=Mic92 a=mexisme



Co-authored-by: mexisme <wildjim+dev@kiwinet.org>
2022-12-13 19:29:37 +00:00
mexisme cd76050824 Update for code refactor 2022-12-05 17:51:33 +13:00
mexisme 560e4f2ecf Merge branch 'microsoft/surface/refactor-kernel-code' into microsoft/surface/kernel-6.0.11 2022-12-05 17:44:37 +13:00
mexisme be728899cf Tidy-up 2022-12-05 17:42:40 +13:00
mexisme e84ab22523 Extract the kernel patches out 2022-12-05 17:38:21 +13:00
mexisme e37520e48b Rearrange the kernels to make them self-defining 2022-12-05 17:32:25 +13:00
mexisme f99c9d5b1f Tidy-up 2022-12-05 16:04:11 +13:00
mexisme d2b7a0fb9a Kernel 6.0.11 for MS Surface Devices 2022-12-05 14:40:24 +13:00
mexisme 76c6688e86 Merge branch 'microsoft/surface/refactor-kernel-code' into microsoft/surface/kernel-6.0.11 2022-12-05 13:41:07 +13:00
mexisme b01a6d58df Remove obsolete file 2022-12-05 13:38:14 +13:00
mexisme 87597ab307 Remove obsolete files 2022-12-05 13:37:20 +13:00
mexisme 33d17074a3 Merge branch 'microsoft/surface/refactor-kernel-code' into microsoft/surface/kernel-6.0.11 2022-12-05 13:36:23 +13:00
mexisme 52dd282ee3 Merge branch 'up/master' into microsoft/surface/refactor-kernel-code 2022-12-05 12:18:27 +13:00
mexisme 3ad53f12b1 Merge branch 'up/master' into microsoft/surface/kernel-6.0.11 2022-12-05 12:00:56 +13:00
bors[bot] 9d87bc030a
Merge #509
509: surface/kernel: 5.16.11 -> 5.19.17 r=Mic92 a=christophcharles



Co-authored-by: Christoph Charles <23055925+christophcharles@users.noreply.github.com>
2022-12-04 17:28:39 +00:00
Christoph Charles 250d6991c9 surface/kernel: 5.16.11 -> 5.19.17 2022-12-04 17:34:44 +01:00
Alexandre Acebedo f17316259f fixup! Add support for GA402 2022-12-03 17:41:33 +01:00
Alexandre Acebedo 56566dc47f fixup! Add support for GA402 2022-12-03 17:38:26 +01:00
Alexandre Acebedo e18b759b1b Add support for GA402 2022-12-03 17:19:05 +01:00
bors[bot] 7883883d13
Merge #506
506: Add Lenovo Legion 5 Pro Gen 6 r=Mic92 a=4JX



Co-authored-by: 4JX <79868816+4JX@users.noreply.github.com>
2022-11-28 15:56:34 +00:00
mexisme 87adbffa11 Fix-ups 2022-11-29 00:00:31 +13:00
mexisme a51973c994 Add linux-surface patches for 5.19.2 2022-11-28 23:43:50 +13:00
mexisme d93d29bdc9 Add-back linux-surface/linux-surface repo, for easy access to the kernel patches 2022-11-28 23:42:41 +13:00
mexisme 5d0ade6958 Add-back linux-surface/linux-surface repo, for easy access to the kernel patches 2022-11-28 23:21:34 +13:00
mexisme 50ce82cc84 Fix for unexpected recursion error
Might be related to how these packages access "pkgs" ?
2022-11-28 22:26:47 +13:00
mexisme 3de7b6e0c5 Use the newly refactored code 2022-11-28 20:37:07 +13:00
mexisme 158f86bb32 DRY the MS Surface kernel module 2022-11-28 20:37:07 +13:00
mexisme 35e317a280 Use new repos.linux-surface-kernel function 2022-11-28 20:37:07 +13:00
mexisme b32b188154 Convert the repos.linux-surface-kernel set to a function 2022-11-28 20:37:07 +13:00
4JX b441875a50 Apply suggestion 2022-11-24 16:39:20 +01:00
4JX 776287c483 Add some data about the device used 2022-11-24 00:12:24 +01:00
4JX 56bb7c93b3 Add Lenovo Legion 5 Pro Gen 6 2022-11-23 20:47:27 +01:00
bors[bot] 0099253ad0
Merge #502
502: common/gpu/nvidia*: Migrate to common/gpu/nvidia/* and add non-prime r=Mic92 a=TLATER



Co-authored-by: Tristan Daniël Maat <tristan.maat@codethink.co.uk>
2022-11-22 19:43:54 +00:00
bors[bot] 1108c1b861
Merge #505
505: Add Ethernet Support on Framework r=Mic92 a=dasnessie



Co-authored-by: dasNessie <mail@dasnessie.de>
2022-11-20 19:51:13 +00:00
dasNessie bf212c4ef5 Add Ethernet Support on Framework
Add Ethernet Expansion Card support for the framework laptop.
Due to automatic USB device suspension,
the Ethernet Expansion Card was not working.
Adding a udev rule to only suspend the card after 20 seconds
fixes the problem.
The framework support confirmed via email
that all current Ethernet Expansion Cards share the same Product ID.
2022-11-19 14:33:56 +01:00
bors[bot] e0452b33ab
Merge #501
501: Add support for ssd to Lenovo ThinkPad T480 r=Mic92 a=MatthewCroughan



Co-authored-by: matthewcroughan <matt@croughan.sh>
2022-11-13 10:22:26 +00:00
Tristan Daniël Maat cdd049a353
treewide: Migrate to new nvidia modules 2022-11-13 01:55:13 +00:00
Tristan Daniël Maat 7e60458d86
common/gpu/nvidia*: Migrate to common/gpu/nvidia/* and add non-prime
Fixes #338
2022-11-13 01:41:03 +00:00
matthewcroughan 435a9c6526 Add support for ssd to Lenovo ThinkPad T480 2022-11-11 13:43:35 +00:00
bors[bot] 062c3cca46
Merge #500
500: Latitude 3340: init r=Mic92 a=Mic92



Co-authored-by: Quinn Dougherty <quinnd@riseup.net>
2022-11-11 09:05:55 +00:00
Quinn Dougherty d43d5ad52a Latitude 3340: init 2022-11-11 10:04:17 +01:00
bors[bot] 11a42a580d
Merge #499
499: kobol/helios4: update kernel patches r=Mic92 a=yu-re-ka



Co-authored-by: Yureka <yuka@yuka.dev>
2022-11-10 12:52:37 +00:00
Yureka 17fbd802fb kobol/helios4: update kernel patches 2022-11-10 13:30:29 +01:00
bors[bot] 909f025947
Merge #498
498: Changed asus battery script to work with multiple battery names. r=Mic92 a=jeiang



Co-authored-by: Aidan Pinard <aidan@aidanpinard.co>
2022-11-09 14:46:16 +00:00
Aidan Pinard 191d3ca91d
Changed asus battery script to work with multiple battery names.
Signed-off-by: Aidan Pinard <aidan@aidanpinard.co>
2022-11-09 08:47:07 -04:00
bors[bot] f6483e0def
Merge #496
496: Adds Lenovo Thinkpad X1 10th-gen r=Mic92 a=pigsinablanket



Co-authored-by: Daniel Reimer <daniel.k.reimer97@gmail.com>
2022-11-06 20:53:28 +00:00
Daniel Reimer 7b063efe67 add lenovo/thinkpad/x1/10th-gen 2022-11-05 22:15:29 -07:00
Jörg Thalheim 6b35a59c19
Merge pull request #495 from Madouura/pr/visionfive
starfive/visionfive/v1: Make sd-image more flake-friendly
2022-11-04 19:09:38 +01:00
Madoura ca3a7fca02
starfive/visionfive/v1: Make README.MD formatting more readable 2022-11-04 11:56:02 -05:00
Madoura 6c2ae977a7
starfive/visionfive/v1: Make sd-image more flake-friendly 2022-11-04 11:55:16 -05:00
bors[bot] 18934557ee
Merge #488
488: raspberry-pi/4: add pcie_brcmstb and reset-raspberrypi to kernelParams r=Mic92 a=MatthewCroughan



Co-authored-by: matthewcroughan <matt@croughan.sh>
2022-11-01 06:15:20 +00:00
bors[bot] d5bacd34f5
Merge #491
491: framework: Add iio in order to enable brightness control r=Mic92 a=accelbread



Co-authored-by: Archit Gupta <accelbread@gmail.com>
2022-10-31 13:00:53 +00:00
Archit Gupta e79d0fc184 framework: Add iio in order to enable brightness control
Enabling iio makes the framework's brightness controls available to desktop
environments like Gnome.
2022-10-29 23:22:25 -07:00
bors[bot] 419dcc0ec7
Merge #489
489: .github/PULL_REQUEST_TEMPLATE.md: init r=Mic92 a=MatthewCroughan



Co-authored-by: matthewcroughan <matt@croughan.sh>
2022-10-27 12:25:49 +00:00
matthewcroughan 379773671e .github/PULL_REQUEST_TEMPLATE.md: init 2022-10-27 13:25:13 +01:00
bors[bot] dfd9128433
Merge #487
487: add thinkpad x1 yoga 7th-gen r=Mic92 a=MayNiklas



Co-authored-by: MayNiklas <info@niklas-steffen.de>
2022-10-27 06:10:28 +00:00
bors[bot] e0edd2122f
Merge #486
486: apple/macbook-pro: add support for 14,1 r=Mic92 a=vs49688



Co-authored-by: Zane van Iperen <zane@zanevaniperen.com>
2022-10-27 06:03:38 +00:00
Jörg Thalheim d6945f0ca1 macbook-14-1: also add to README 2022-10-27 08:01:47 +02:00
matthewcroughan c9c1a5294e raspberry-pi/4: add pcie_brcmstb and reset-raspberrypi to kernelParams
This is required for things like USB Boot to work correctly

Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
2022-10-27 03:24:07 +01:00
MayNiklas 2c27afc7ed add lenovo/thinkpad/x1/yoga/7th-gen 2022-10-22 15:35:24 +02:00
Zane van Iperen ba12233257
apple/macbook-pro/14-1: fix service script paths
Doesn't require Nix to keep around the entire nixos-hardware repo.
2022-10-22 17:37:58 +10:00
Zane van Iperen 99ed0bc663
apple/macbook-pro: add support for 14,1
Extracted from my system configs. There's still a few issues with this
machine:

1. Audio is a lost cause. Will probably need to bribe an Apple or Cirrus
   engineer for the datasheet.
2. The thunderbolt module will oops upon system resume, and subsequently
   refuse to work until next reboot.
3. The d3cold state needs to be disabled on the NVME controller for it
   to wake up.
4. The Bluetooth UART (/dev/ttyS0) is created and then deleted by udev
   in early boot. I am yet to figure out why. Hack around it by
   reloading the 8250_dw module, causing it to be re-created.
2022-10-21 00:29:37 +10:00
Jörg Thalheim 0e65936300
Merge pull request #484 from NixOS/dependabot/github_actions/cachix/install-nix-action-18
build(deps): bump cachix/install-nix-action from 17 to 18
2022-10-17 08:26:33 +02:00
dependabot[bot] 17eef273bd
build(deps): bump cachix/install-nix-action from 17 to 18
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 17 to 18.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v17...v18)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 02:03:11 +00:00
bors[bot] 674d05f9ae
Merge #482
482: Add support for ssd to Lenovo ThinkPad T480s r=Mic92 a=dav-dap



Co-authored-by: Davide Dapelo <dav.dap83@gmail.com>
2022-10-15 13:05:31 +00:00
Davide Dapelo 821c9f1d35 Add support for ssd to Lenovo ThinkPad T480s 2022-10-15 13:54:18 +01:00
bors[bot] c8c54d8f0a
Merge #481
481: 15arh05: fix tlp scaling governor, add acpi_call r=Mic92 a=Guekka



Co-authored-by: Edgar B <39066502+Guekka@users.noreply.github.com>
2022-10-14 08:00:22 +00:00
Edgar B d3e383e974
15arh05: add acpi_call
This can be used by tools like shaansubbaiah/powercontrol to enable fast charging
2022-10-14 05:38:50 +00:00
Edgar B 322dc8db3e
15arh05: fix tlp scaling governor 2022-10-14 05:36:13 +00:00
bors[bot] d92ed98c09
Merge #480
480: starfive/visionfive/v1: Fix README indentation r=Mic92 a=Madouura



Co-authored-by: Madoura <madouura@gmail.com>
2022-10-13 08:20:08 +00:00
Madoura 7ab8eab291
starfive/visionfive/v1: Fix README indentation 2022-10-09 21:44:16 -05:00
bors[bot] 236ba4df71
Merge #478
478: raspberrypi/4: allow pi libs to detect pi 4 r=Mic92 a=illegalprime



Co-authored-by: Michael Eden <themichaeleden@gmail.com>
2022-10-09 13:16:11 +00:00
bors[bot] 85ed160024
Merge #479
479: starfive/visionfive/v1: init r=Mic92 a=Madouura



Co-authored-by: Madoura <madouura@gmail.com>
2022-10-09 13:07:50 +00:00
Madoura 68e08aa56b
starfive/visionfive/v1: init 2022-10-08 14:43:06 -05:00
Madoura c156c31e1d
readme: add starfive visionfive v1 2022-10-08 10:26:44 -05:00
Madoura 2c14c0f861
flake: add starfive-visionfive-v1 2022-10-08 04:10:18 -05:00
Michael Eden 18c0cbb6b4 raspberrypi/4: allow pi libs to detect pi 4 2022-10-07 10:59:54 -04:00
Jörg Thalheim 47fd702894
Merge pull request #477 from nbraud/gpd/pocket-3
gpd/pocket-3: init
2022-10-06 09:10:00 +02:00
nicoo d5de1c72cf Update README & flake.nix 2022-10-05 19:23:38 +02:00
Jörg Thalheim 2b61d6502a
Merge pull request #475 from NixOS/x1e-acpi-call
lenovo/thinkpad/x1-extreme: remove acpi_call
2022-10-05 18:00:31 +02:00
Jörg Thalheim baa69ed32c
Merge pull request #476 from con-f-use/patch-1
framework-12th-gen-intel: workaround iGPU hangs
2022-10-05 17:59:07 +02:00
nicoo 1c535dc049 gpd/pocket-3: Only workaround hidpi module bug on NixOS < 22.11
Assumes NixOS/nixpkgs#194594 gets merged.
2022-10-05 16:45:51 +02:00
nicoo de2ea2beee Add GPD Pocket 3 module to nixos-hardware 2022-10-05 16:45:51 +02:00
con-f-use 32ee2e6070
framework-12th-gen-intel: workaround iGPU hangs 2022-10-05 11:40:14 +02:00
K900 1788d8f74e
lenovo/thinkpad/x1-extreme: remove acpi_call
It's deprecated and doesn't work correctly anyway. Recent firmwares can power the GPU off if it drops off the bus, which can be forced with udev rules.
2022-10-02 12:50:42 +03:00
bors[bot] 3024c67a2e
Merge #474
474: Add contributing docs for bors r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2022-10-01 12:52:09 +00:00
Jörg Thalheim a2dab346f9 CONTRIBUTING.md: mention bors 2022-10-01 14:51:28 +02:00
Jörg Thalheim 55826e8997
Merge pull request #472 from NixOS/ci
add bors configuration
2022-10-01 14:48:21 +02:00
Jörg Thalheim 3a5dd128e4 add bors configuration 2022-09-29 23:42:38 +02:00
Sandro 12f905b731
Merge pull request #471 from NixOS/fix-eval 2022-09-29 14:01:58 +02:00
Jörg Thalheim 5c0995a012 thinkpad-z: fix eval 2022-09-29 13:32:55 +02:00
Sandro 203dd7d7b9
Merge pull request #470 from wrmilling/master 2022-09-28 19:43:59 +02:00
Winston R. Milling 9b98a70d46
Update disused function to runCommand
runCommandNoCC is deprecated.
2022-09-28 10:44:52 -05:00
Jörg Thalheim 2a7f39aac2
Merge pull request #467 from yu-re-ka/helios4
kobol/helios4: init
2022-09-28 11:03:08 +02:00
Jörg Thalheim 73f0058327
Merge pull request #468 from t184256/fix-runcommandnocc
onenetbook/4: stop using runCommandNoCC
2022-09-28 11:01:52 +02:00
Jörg Thalheim 8503c4c843
Merge pull request #469 from dev-null-undefined/master
Fixed utillinux package renaming
2022-09-28 11:01:40 +02:00
ThreshMain 2aa0939a65
Fixed utillinux package renaming 2022-09-28 01:57:22 +02:00
Alexander Sosedkin cc5d502030 onenetbook/4: stop using runCommandNoCC 2022-09-25 13:56:03 +02:00
Yureka 3774a528de kobol/helios4: init 2022-09-22 22:32:49 +02:00
Jörg Thalheim a0df6cd6e1
Merge pull request #462 from flosse/p16s
Add lenovo/thinkpad/p16s/amd/gen1
2022-09-15 10:12:37 +02:00
Jörg Thalheim f29ce8dd25
Merge pull request #464 from CalebJohn/t14amdgen3
Add thinkpad t14 amd gen3
2022-09-15 10:12:12 +02:00
CalebJohn 7aac946a06 Add thinkpad t14 amd gen3 to flake 2022-09-14 11:47:23 -07:00
Markus Kohlhase 1cf3862265 Add lenovo/thinkpad/p16s/amd/gen1 2022-09-14 13:44:17 +02:00
Jörg Thalheim 93580fca10
Merge pull request #465 from NixOS/ci
tests/run: enable experimental nix-command
2022-09-14 07:27:51 +02:00
Jörg Thalheim b71c3b7be7
Merge pull request #461 from ricci/framework-12th-gen-intel
Add support for Framework laptop, 12th gen Intel Core edition
2022-09-14 07:26:02 +02:00
Jörg Thalheim c4cb6735ba
Merge pull request #460 from Guekka/ideapad-15arh05
add lenovo ideapad 5 15arh05
2022-09-14 07:25:28 +02:00
Celso Miranda bfbc3a181d
Add support for Omen en00015p laptop (#457) 2022-09-14 06:25:11 +01:00
Jörg Thalheim 02bc52617a
Merge pull request #455 from Weathercold/master
inspiron-7405: init
2022-09-14 07:24:46 +02:00
Jörg Thalheim e55c862c77 contributing: document how to run a single test 2022-09-14 07:24:15 +02:00
Jörg Thalheim 667b40e827 tests/run: enable experimental nix-command 2022-09-14 07:19:16 +02:00
Jörg Thalheim c34f36ac94
Merge pull request #459 from Weathercold/contrib-rewrite
CONTRIBUTING.md: rewrite
2022-09-14 07:14:54 +02:00
Jörg Thalheim 6686829e31
Merge pull request #463 from NixOS/t14s-amd-deep-sleep
tinkpad t14s amd: enable deep sleep
2022-09-14 07:10:49 +02:00
CalebJohn f6f318b52a Add thinkpad t14 amd gen3 2022-09-13 16:36:19 -07:00
Domen Kožar 305bbc2442 tinkpad t14s amd: enable deep sleep 2022-09-13 12:16:46 +01:00
Robert Ricci 3aaf1fe6ee Add framework-12th-gen-intel to flake.nix 2022-09-12 22:49:26 -06:00
Robert Ricci f0b864738d Set options specific to the 12th gen Framework
It requires a newer kernel than the 11th gen, and has some 'media keys'
that require different handling
2022-09-12 19:22:04 -06:00
Robert Ricci 3918f03d0d Initial support for Framework 12th Gen Intel Core
This commit simply replicates the base Framework, future commits will
specialize for this version
2022-09-12 11:53:42 -06:00
Guekka 1f9058d65d
add lenovo ideapad 5 15arh05 2022-09-12 13:50:33 +02:00
Weathercold 3040e3422d CONTRIBUTING.md: rewrite 2022-09-10 01:08:51 -04:00
Weathercold bb36cedc0a README.md: fix dead links, align table 2022-09-09 23:45:57 -04:00
Weathercold 3ed1ae8ef7 inspiron-7405: init 2022-09-09 23:45:13 -04:00
Jörg Thalheim 1fec8fda86
Merge pull request #456 from rehno-lindeque/macbook-pro-11-5-updates
apple/macbook-pro/11-5: various tweaks and documentation
2022-09-09 11:16:07 +02:00
Rehno Lindeque 33642d338f apple/macbook-pro/11-5: add a note about switching between integrated and discrete graphics 2022-09-07 17:10:58 +00:00
Rehno Lindeque a4345da27e apple/macbook-pro/11-5: driver choice should be optional since si_support is experimental 2022-09-07 16:53:00 +00:00
Rehno Lindeque fd68d65507 apple/macbook-pro/11-5: add to top-level README 2022-09-07 15:45:43 +00:00
Rehno Lindeque 821ddbaf1c apple/macbook-pro/11-5: make enableRedistributableFirmware an optional default (uniformity with other configs) 2022-09-07 15:41:28 +00:00
Rehno Lindeque 1d10001701 apple/macbook-pro/11-5: Links to hardware probes 2022-09-07 15:37:40 +00:00
Rehno Lindeque a930f43803 apple/macbook-pro/11-5: document amdgpu driver choice 2022-09-07 15:36:38 +00:00
Rehno Lindeque c38ec64187 apple/macbook-pro/11-5: Use the newer amdgpu driver 2022-09-07 15:32:33 +00:00
Rehno Lindeque a318b2ebfa apple/macbook-pro/11-5: explicitly turn on redistributable firmware 2022-09-06 18:49:29 +00:00
Jörg Thalheim 504b32caf8
Merge pull request #454 from NixOS/SuperSandro2000-patch-1
Quote URL literal
2022-09-06 12:09:47 +02:00
Sandro dcb1052383
Quote URL literal 2022-09-04 19:59:03 +02:00
Jörg Thalheim 7866333317
Merge pull request #447 from aciceri/thinkpad-x1-g7
Removed unnecesary quirks and added `throttled` service
2022-09-02 05:22:28 +01:00
Jörg Thalheim 57164fc634
Merge pull request #452 from marijanp/z-series
lenovo/z: add Lenovo Thinkpad Z(13)
2022-09-02 05:22:11 +01:00
Jörg Thalheim 9e14a0b99c
Merge pull request #448 from snpschaaf/add-t590
added lenovo thinkpad T590
2022-09-02 05:21:22 +01:00
Marijan Petričević fb635bfba0
lenovo/z: add Lenovo Thinkpad Z(13)
Co-authored-by: toastal <toastal@posteo.net>
2022-09-01 12:04:22 +02:00
Philippe Schaaf 7ffa41766a added lenovo thinkpad T590
Copied from T550 and T490 config.
Omit the pulseaudio profile from T490 config for now.

Signed-off-by: Philippe Schaaf <philippe.schaaf@secunet.com>
2022-08-18 08:54:15 +02:00
Andrea Ciceri adbeb1a5d6
Enable throttled for Thinkpad X1 gen 7 too
Even if this device is currently not mentioned upstream between the
devices that need this I stressed my machine (using `s-tui`) with and
without and I can confirm that it incremented the average CPU frequency
during the stress test (from 1.8/2GHz to around 3GHz).
2022-08-17 16:41:12 +02:00
Andrea Ciceri 2284621815
Quirks no more needed 2022-08-17 14:45:50 +02:00
Jörg Thalheim 12620020f7
Merge pull request #440 from carlossless/raspberry-pi-4-i2c-frequency
raspberry-pi-4: add i2c clock-frequency option
2022-08-13 17:11:59 +01:00
Karolis Stasaitis 51e4bdf379 raspberry-pi-4: add i2c clock-frequency option 2022-08-13 12:39:46 +02:00
Jörg Thalheim 78f56d8ec2
Merge pull request #446 from tomfitzhenry/pine64-remove-unused-blob
pine64-pinebook-pro: remove unused firmware blob
2022-08-12 09:03:31 +01:00
Jörg Thalheim 4387a4b5b0
Merge pull request #445 from tomfitzhenry/pbp-no-freq-override
pine64-pinebook-pro: remove inappropriate overriding of min_freq
2022-08-12 09:02:29 +01:00
Jörg Thalheim c0d4d3b325
Merge pull request #444 from tomfitzhenry/pbp-no-brightness-keys
pine64-pinebook-pro: remove superfluous bright/sleep keys
2022-08-12 09:01:07 +01:00
Tom Fitzhenry 128bfab1ff pine64-pinebook-pro: remove unused firmware blob
brcmfmac43456-sdio.clm_blob became unused as of 3849fd9598 (diff-29a21aa2e853dac8828dabac348f6b5449c9ebe6192b6ba4bd7e118f90734fe6) (see that 'clm_blob' is removed)

Rather, this file exists in the src repo: ef8e000ddd/clm_blob/broadcom/AP6256/brcmfmac43456-sdio.clm_blob
2022-08-11 20:46:37 +10:00
Tom Fitzhenry 45f23f335e pine64-pinebook-pro: remove inappropriate overriding of min_freq
Power management should be left to a power management daemon (e.g. gnome-power-manager) or for users to set/override themselves.

I use governor 'schedutil', which is big.LITTLE aware, and thus can sensibly downclock, but min_freq prevents that.
2022-08-10 23:09:16 +10:00
Jörg Thalheim 3975d5158f
Merge pull request #441 from AndrewKvalheim/dell/xps/13-9350
Add Dell XPS 13 9350
2022-08-09 08:41:56 +01:00
Jörg Thalheim f064a4e411
Merge pull request #442 from carlossless/raspberry-pi-4-poe-hats
raspberry-pi-4: add poe-plus-hat, update poe-hat, use dtmerge instead of fdtoverlay
2022-08-09 08:40:31 +01:00
Tom Fitzhenry 18575b969c pine64-pinebook-pro: remove superfluous bright/sleep keys
Upstream udev has had that since 2020: f25e30dec4
2022-08-09 06:04:43 +10:00
Karolis Stasaitis f217e0c09a use dtmerge from nativeBuildInputs 2022-08-08 19:07:05 +02:00
Karolis Stasaitis bfc438a275 misplaced semicolon 2022-08-08 19:06:06 +02:00
Karolis Stasaitis f410badac5 added missing semicolon 2022-08-08 18:46:26 +02:00
Karolis Stasaitis 3f0991b531 export a single function from apply-overlays-dtmerge 2022-08-08 18:41:30 +02:00
Karolis Stasaitis 245d8f9f97
apply review suggestions from @06kellyjac
Co-authored-by: j-k <dev@j-k.io>
2022-08-08 18:27:49 +02:00
Karolis Stasaitis 128dad1c8d raspberry-pi-4: add poe-plus-hat, update poe-hat, use dtmerge instead of ftoverlay 2022-08-07 13:40:17 +02:00
Andrew Kvalheim bb846f8ed9 Add Dell XPS 13 9350
Reviewed on a Dell XPS 13 Developer Edition 9350.

No Skylake-specific configuration is necessary:

  - RC6 sleep is automatically detected configured by default, and
    `i915.enable_rc6` no longer exists.

  - Frame buffer compression (FBC) is automatically detected and enabled
    by default, so `i915.enable_fbc` is unnecessary.

  - Panel self refresh (PSR) is automatically detected and enabled by
    default, so `i915.enable_psr` is unnecessary.

Wireless card detection log:

    iwlwifi 0000:3a:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x204

Touchpad detection log:

    psmouse serio1: synaptics: queried max coordinates: x [..5666], y [..4734]
    psmouse serio1: synaptics: queried min coordinates: x [1276..], y [1118..]
    psmouse serio1: synaptics: Your touchpad (PNP: DLL0704 PNP0f13) says it can support a different bus. If i2c-hid and hid-rmi are not used, you might want to try setting psmouse.synaptics_intertouch to 1 and report this to linux-input@vger.kernel.org.
    psmouse serio1: synaptics: Advanced gesture mode init failed: -5
    psmouse serio1: synaptics: Unable to initialize device.
    input: DLL0704:01 06CB:76AE Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-8/i2c-DLL0704:01/0018:06CB:76AE.0004/input/input26
    input: DLL0704:01 06CB:76AE Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-8/i2c-DLL0704:01/0018:06CB:76AE.0004/input/input27
    hid-multitouch 0018:06CB:76AE.0004: input,hidraw3: I2C HID v1.00 Mouse [DLL0704:01 06CB:76AE] on i2c-DLL0704:01
    psmouse serio1: Failed to enable mouse on isa0060/serio1

i915 debug log:

    i915 device info: pciid=0x1926 rev=0x0a platform=SKYLAKE (subplatform=0x1) gen=9
    i915 device info: graphics version: 9
    i915 device info: media version: 9
    i915 device info: display version: 9
    i915 device info: gt: 3
    i915 device info: iommu: disabled
    i915 device info: memory-regions: 5
    i915 device info: page-sizes: 11000
    i915 device info: platform: SKYLAKE
    i915 device info: ppgtt-size: 48
    i915 device info: ppgtt-type: 2
    i915 device info: dma_mask_size: 39
    i915 device info: is_mobile: no
    i915 device info: is_lp: no
    i915 device info: require_force_probe: no
    i915 device info: is_dgfx: no
    i915 device info: has_64bit_reloc: yes
    i915 device info: gpu_reset_clobbers_display: no
    i915 device info: has_reset_engine: yes
    i915 device info: has_global_mocs: no
    i915 device info: has_gt_uc: yes
    i915 device info: has_l3_dpf: no
    i915 device info: has_llc: yes
    i915 device info: has_logical_ring_contexts: yes
    i915 device info: has_logical_ring_elsq: no
    i915 device info: has_mslices: no
    i915 device info: has_pooled_eu: no
    i915 device info: has_rc6: yes
    i915 device info: has_rc6p: no
    i915 device info: has_rps: yes
    i915 device info: has_runtime_pm: yes
    i915 device info: has_snoop: no
    i915 device info: has_coherent_ggtt: yes
    i915 device info: unfenced_needs_alignment: no
    i915 device info: hws_needs_physical: no
    i915 device info: cursor_needs_physical: no
    i915 device info: has_cdclk_crawl: no
    i915 device info: has_dmc: yes
    i915 device info: has_ddi: yes
    i915 device info: has_dp_mst: yes
    i915 device info: has_dsb: no
    i915 device info: has_dsc: no
    i915 device info: has_fbc: yes
    i915 device info: has_fpga_dbg: yes
    i915 device info: has_gmch: no
    i915 device info: has_hdcp: yes
    i915 device info: has_hotplug: yes
    i915 device info: has_hti: no
    i915 device info: has_ipc: yes
    i915 device info: has_modular_fia: no
    i915 device info: has_overlay: no
    i915 device info: has_psr: yes
    i915 device info: has_psr_hw_tracking: yes
    i915 device info: overlay_needs_physical: no
    i915 device info: supports_tv: no
    i915 device info: rawclk rate: 24000 kHz
    i915 device info: available engines: 40f
    i915 device info: slice total: 2, mask=0003
    i915 device info: subslice total: 6
    i915 device info: slice0: 3 subslices, mask=00000007
    i915 device info: slice1: 3 subslices, mask=00000007
    i915 device info: slice2: 0 subslices, mask=00000000
    i915 device info: EU total: 48
    i915 device info: EU per subslice: 8
    i915 device info: has slice power gating: yes
    i915 device info: has subslice power gating: no
    i915 device info: has EU power gating: yes
2022-08-03 11:07:04 -07:00
Jörg Thalheim ea3efc80f8
Merge pull request #438 from pasqui23/pstate
Adding amd pstate handling
2022-08-01 13:14:34 +01:00
Jörg Thalheim a01a1095e4 amd pstate: small typo 2022-08-01 14:14:12 +02:00
pasqui23 68a27c2b00
Clarify kernel version condition
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-08-01 12:03:29 +02:00
paki23 8732fa9eb5
clarify amd pstate 2022-07-31 20:13:42 +02:00
paki23 b183aac0ac
g733qs: addded amd pstate handling 2022-07-31 13:57:49 +02:00
paki23 5e9934fa07
pstate:init
fixup pstate
2022-07-31 13:57:38 +02:00
Jörg Thalheim 727a099e87
Merge pull request #437 from symphorien/inspiron-5515
inspiron-5515: fix race for fix-touchpad.sh
2022-07-31 09:39:25 +01:00
Guillaume Girol fed22c2d60 inspiron-5515: fix race for fix-touchpad.sh
On rare occasions, the module would be removed before suspend and the touchpad would be
disabled on boot.
2022-07-29 21:16:28 +02:00
Jörg Thalheim 83009edccc
Merge pull request #435 from mkgvt/master
Adds support for Thinkpad T460p
2022-07-21 11:57:07 +01:00
Mark K Gardner b19015a0ba
Adds support for Thinkpad T460p 2022-07-19 09:06:58 -04:00
Ryan Horiguchi e3259b25eb
Fix legion 7 slim 15ach6 2022-07-19 09:06:57 -04:00
Jörg Thalheim 0015f5cc09
Merge pull request #436 from rhoriguchi/master
Fix legion 7 slim 15ach6
2022-07-19 11:51:03 +01:00
Ryan Horiguchi 122ae8476a
Fix legion 7 slim 15ach6 2022-07-18 08:52:34 +02:00
Jörg Thalheim 76c9664813
Merge pull request #432 from mcdonc/p50-and-p51
Add Lenovo Thinkpad P50 and P51
2022-07-14 08:53:36 +02:00
Chris McDonough 0e7decc220 fix merge conflicts from p52-to-master merge 2022-07-13 17:48:44 -04:00
Jörg Thalheim 14e9f7298c
Merge pull request #433 from mcdonc/p52
add p52
2022-07-13 21:01:26 +02:00
Chris McDonough 6aafb9960b comment about silencing ACPI errors 2022-07-13 01:15:35 -04:00
Chris McDonough 66f8f007d0 add comment about normalizing dpi between sync and offload mode 2022-07-12 23:02:05 -04:00
Chris McDonough a3f3326899 add comment about normalizing dpi between sync and offload mode 2022-07-12 23:01:26 -04:00
Chris McDonough e8e0e7dc37 conditionally turn on power management and modesetting when we are in sync mode 2022-07-12 20:02:44 -04:00
Chris McDonough 6261a28429 conditionally turn on power management and modesetting when we are in sync mode 2022-07-12 20:01:42 -04:00
Chris McDonough fd08b05aed comment about acpi errors 2022-07-12 17:11:02 -04:00
Chris McDonough 116ae977ab throttled consistency 2022-07-11 17:44:39 -04:00
Chris McDonough 6bd8ae5409 flake changes 2022-07-11 14:05:13 -04:00
Chris McDonough 20530b31ef flake changes 2022-07-11 14:04:34 -04:00
Chris McDonough 47cb2be872 mkDefault consistency 2022-07-10 19:13:48 -04:00
Chris McDonough c2295916b3 mkDefault consistency 2022-07-10 19:10:49 -04:00
Chris McDonough bd873a9807 cannot replicate sleep problem without external monitor or any usb device plugged in 2022-07-09 04:36:30 -04:00
Chris McDonough f5d9dd114f cannot replicate findings for sleep not working when system has no usb or external video plugged in to it, make wireless work 2022-07-08 23:11:43 -04:00
Chris McDonough 22cdffc925 turns out hardware.enableAllFirmware is also required for p51 wireless 2022-07-07 10:00:40 -04:00
Chris McDonough 005e19d6f0 required to make wireless work 2022-07-07 09:31:42 -04:00
Chris McDonough ac75bbc476 transform sleep comment into optionally includable expression 2022-07-05 17:45:16 -04:00
Chris McDonough e36b0c4022 add p52 2022-07-05 14:39:22 -04:00
Chris McDonough f90db4cb9e add p50 and p51 2022-07-04 23:24:35 -04:00
Sandro 3bf48d3587
Merge pull request #431 from SuperSamus/patch-1
AMD: Add lib.mkDefault to AMD_VULKAN_ICD
2022-07-04 13:21:50 +02:00
SuperSamus 0efe78c51a
AMD: Add lib.mkDefault to AMD_VULKAN_ICD 2022-07-02 23:39:55 +02:00
Jörg Thalheim c530838143
Merge pull request #429 from xfix/lenovo-gen4
thinkpad/x1-extreme/gen4: add module
2022-07-01 21:04:22 +02:00
Konrad Borowski c3aa1fae79 lenovo/thinkpad/x1-extreme/gen4: add module 2022-07-01 20:54:40 +02:00
Thiago Kenji Okada a50513f8a6
Merge pull request #430 from Melkor333/master
Fix Wifi for Lenovo Thinkpad T14s Gen1
2022-06-30 22:28:24 +01:00
Samuel Hierholzer 3d9b6a6215 Fix Wifi for Lenovo Thinkpad T14s Gen1 2022-06-28 08:28:04 +02:00
Jörg Thalheim 78e7c2c397
Merge pull request #428 from NixOS/macbook-pro-flake
flake.nix: add macbook-pro
2022-06-27 20:16:57 +02:00
André Silva a3dfc3100b
flake.nix: add macbook-pro 2022-06-26 13:20:38 +01:00
Thiago Kenji Okada 99e33a5714
Merge pull request #426 from ulrikstrid/ulrikstrid--16ITHg6
Add lenovo legion 7 16ITHg6
2022-06-26 11:57:44 +01:00
Thiago Kenji Okada 9aa5395bd5
Merge pull request #427 from thiagokokada/fix-nvidia-offload
nvidia: remove `-a` flag from exec
2022-06-26 11:56:00 +01:00
Thiago Kenji Okada 9194b8e949 nvidia: remove -a flag from exec
The `-a` from exec sets the `$0` from the process. So `exec -a "$0"`
would set the name of the new process to `nvidia-offload` (the name of
the script), however this is causing issues with a few programs that try
to interpret `$0` in a special way. For example, see `wine`:

```
$ nvidia-offload /nix/store/zhv91s26gsrl1w8yn9800xd03a31r3wj-wine-osu-7.0/bin/wine .osu/drive_c/osu/osu\!.exe
/nix/store/zhv91s26gsrl1w8yn9800xd03a31r3wj-wine-osu-7.0/bin/nvidia-offload: could not open
```

What I think `wine` is doing here is trying to re-exec `wine` again, but
to do so it tries to figure out the original call of wine by readind `$0`,
and will fail in this case because the `$0` was changed because of the
`nvidia-offload` script using `-a` flag, as explained above.

Instead, let's simplify this. There is no good reason to rename the `$0`
from the script anyway (it just sets a few environment variables), so let's
just remove it. We may lose the ability to know if the command is being
offloaded, but I think having more commands to work is a good trade-off.
2022-06-24 23:45:31 +01:00
Ulrik Strid 9ec5f52ea2 Add lenovo legion 7 16ITHg6 2022-06-23 09:30:05 +02:00
Jörg Thalheim f9d8dff4e6
Merge pull request #425 from Moredread/common
flake.nix: add common-gpu-intel
2022-06-21 06:35:51 +01:00
André-Patrick Bubel 26291dec5b flake.nix: add common-gpu-intel 2022-06-21 06:12:29 +02:00
Jörg Thalheim 0cab18a48d
Merge pull request #422 from NixOS/msi-gl62-ini
msi/gl62: reworked
2022-06-01 05:29:57 +01:00
Jörg Thalheim 03fd7b6bd0
msi/gl62: also include basic README 2022-06-01 06:27:46 +02:00
Raphiel Rollerscaperers 0543980bd6
msi/gl62: init
This commit initialize support for MS-16J61 (Laptop) Motherboard
with unified BIOS of E16J6IMS, which includes:

  - MSI GL62 6QD
  - MSI GL62 6QC
  - MSI CX62 6QD
  - MSI CR62 6M
2022-06-01 06:25:02 +02:00
Sandro 8252035d61
Merge pull request #421 from sbruder/p14s-rtw89
p14s: ensure rtw89 driver is available
2022-05-31 22:49:55 +02:00
Simon Bruder 07e5049f8f
p14s: ensure rtw89 driver is available 2022-05-31 13:38:23 +02:00
Jörg Thalheim 39a7bfc496
Merge pull request #418 from sauricat/master
update readme: known issue of disability waking from suspend
2022-05-25 08:20:24 +01:00
Jörg Thalheim fb4213bf01
Merge pull request #419 from Emiller88/framework-firmware
docs(framework): Add notes about updating firmware
2022-05-25 08:19:23 +01:00
Edmund Miller 0f00877343
docs(framework): Add notes about updating firmware
https://github.com/NixOS/nixos-hardware/pull/406#issuecomment-1132577510
2022-05-23 10:28:22 -05:00
Shu Lin 169611d1d7
update readme: known issue 2022-05-23 21:46:43 +08:00
Jörg Thalheim 8b5e1bf2fd
Merge pull request #412 from j-steinbach/dell-latitude-5520
Add Dell Latitude 5520
2022-05-21 16:01:52 +01:00
JSteinbach e850604127 Add Dell Latitude 5520 2022-05-21 15:10:54 +02:00
Jörg Thalheim be2b338c6a
Merge pull request #416 from reedriley/framework
framework: add nvme.noacpi=1 and make fprintd optional
2022-05-20 17:55:54 +01:00
Reed Riley 4a8259f0e2 framework: add nvme.noacpi=1 2022-05-20 11:21:11 -04:00
Reed Riley de8271f760 framework: make it possible to disable fprintd if desired 2022-05-20 11:07:10 -04:00
Jörg Thalheim b49fe0e96e
Merge pull request #405 from anthonyroussel/fix-xps_9560-primus_deprecations
dell-xps-15-9560-nvidia: switch to Nvidia Offload mode to save battery power
2022-05-20 07:57:41 +01:00
Jörg Thalheim 31e258c27d
Merge pull request #408 from koalp/master
Add acpi_call for lenovo thinkpad x270
2022-05-20 07:57:23 +01:00
Jörg Thalheim ca4e0ca186
Merge pull request #415 from NixOS/framework
framework: acpilight should be used
2022-05-20 07:55:53 +01:00
Irene Knapp 162fb7a987
framework: acpilight should be used 2022-05-20 08:49:38 +02:00
Jörg Thalheim 36daf08049
Merge pull request #414 from amarshall/fw-udev
framework: Fix headphone noise when on powersave
2022-05-20 07:47:51 +01:00
Jörg Thalheim ae5047bcd0
Merge pull request #413 from amarshall/fw-mic
framework: Fix TRRS headphones missing a mic
2022-05-20 07:47:02 +01:00
Andrew Marshall 34485f1807 framework: Fix TRRS headphones missing a mic
As in the below forum post, this is not perhaps the most ideal solution
to the problem, but it is the simplest.

https://community.frame.work/t/headset-microphone-on-linux/12387/3
2022-05-19 15:56:34 -04:00
Andrew Marshall f3dfd30170 framework: Fix headphone noise when on powersave
https://community.frame.work/t/headphone-jack-intermittent-noise/5246/55
2022-05-19 15:51:19 -04:00
koalp b750b56a20
feat: add acpi_call and ssd for thinkpad x270
acpi_call is required to use tlp on lenovo thinkpad x270 and some x270
have an ssd.

Therefor, acpi_call and ssd have been added to the lenovo thinkpad x270
hardware config.
2022-04-24 12:47:42 +02:00
Jörg Thalheim 6b4ebea909
Merge pull request #401 from workflow/dell-xps-17-9700
Add Dell XPS 17 9700
2022-04-21 07:34:06 +01:00
Jörg Thalheim 7b0845d8c1
Merge pull request #389 from bbigras/intel-gpu
extract GPU stuff from common/cpu/intel to common/gpu/intel.nix
2022-04-21 07:32:14 +01:00
workflow 4a0cdc97c8 no longer ignore kernel config errors 2022-04-15 10:39:16 +01:00
Jörg Thalheim 1a0ccdbf45
Merge pull request #407 from aciceri/master
Missing `brcmfmac43456-sdio.clm_blob` for Pinebook Pro's AP6256 firmware
2022-04-13 12:31:54 +01:00
Jörg Thalheim 5c95599061
framework: bump kernel version (#406)
* framework: bump kernel version
2022-04-13 10:27:33 +01:00
Andrea Ciceri 3849fd9598
Merge remote-tracking branch 'upstream/master' 2022-04-12 22:25:21 +02:00
Bruno Bigras bb8b3f19e0
Update flake.nix
Co-authored-by: amesgen <amesgen@amesgen.de>
2022-04-12 11:17:21 -04:00
Bruno Bigras 53b470587f split CPU and GPU from common/cpu/intel
fix #388
2022-04-12 11:08:50 -04:00
Andrea Ciceri ad125d3cc8
Merge branch 'master' of github.com:aciceri/nixos-hardware 2022-04-12 11:28:03 +02:00
Andrea Ciceri 32e12dbc20
Missing clm blob for Pinebook's AP6256 firmware 2022-04-12 11:27:54 +02:00
Anthony Roussel 68c87edeb9
dell-xps-15-9560-nvidia: use Nvidia Offload mode to save battery power
Also rename deprecated `hardware.nvidia.optimus_prime.*' to `hardware.nvidia.prime.*' since NixOS 20.09.

> The hardware.nvidia.optimus_prime.enable service has been renamed to
> hardware.nvidia.prime.sync.enable and has many new enhancements.
> Related nvidia prime settings may have also changed.

See https://nixos.org/manual/nixos/stable/release-notes.html#sec-release-20.09
2022-04-11 16:44:32 +02:00
dependabot[bot] f4160a629b
build(deps): bump cachix/install-nix-action from 16 to 17 (#404)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 16 to 17.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v16...v17)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 08:07:30 +01:00
Andrea Ciceri 850308db3e
Add: pinebook-pro @aciceri
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2022-04-09 08:10:42 +01:00
Jörg Thalheim 710e33cb93
pine64/pinebook-pro: typos in README 2022-04-09 09:02:56 +02:00
Andrea Ciceri cb8db9e1bb
New source for ap6256-firmware and removed unstable kernel 2022-04-08 11:14:06 +02:00
Andrea Ciceri be88ca8b75
Update pine64/pinebook-pro/README.md
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-04-08 10:41:13 +02:00
Jörg Thalheim ddeb6a0aa4
Merge pull request #402 from twoolie/patch-1
Remove `intel_iommu=on` by default for all X1 models.
2022-04-08 08:00:45 +01:00
Jörg Thalheim 6c6e161b10
Merge pull request #400 from vroad/remove-swappiness
Remove swappiness config
2022-04-08 08:00:24 +01:00
Andrea Ciceri 6d1bd5bc2e
Custom patched kernel is not the default anymore 2022-04-01 19:59:27 +02:00
Thomas Woolford 08cf55e7b6
Remove intel_iommu=on by default for all X1 models.
IOMMU still breaks suspend/resume on multiple Lenovo models including X1.
Currently broken on at least Gen4 which I'm testing on. Hard locks the system during suspend.

This thread claims it works on Gen4 with kernel 5.16.1 but it doesn't work on my hardware, firmware fully updated.
https://bugzilla.kernel.org/show_bug.cgi?id=197029

This should probably be turned on individually for models known to work until it can be more thoroughly tested.
2022-04-01 23:06:12 +10:30
workflow 638263b724 Add Dell XPS 17 9700
Co-authored-by: Ivan Malison <IvanMalison@gmail.com>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-04-01 10:10:15 +01:00
vroad ae3ac92431 Remove swappiness config 2022-03-31 10:44:20 +09:00
Andrea Ciceri e1b2cf65a7
add: pinebook-pro 2022-03-29 23:31:55 +02:00
Jörg Thalheim feceb4d24f
Merge pull request #395 from noghartt/ssd-on-thinkpad-t14
Add SSD module to ThinkPad T14
2022-03-24 16:57:06 +00:00
Guilherme Ananias 8c6b773900
add laptop/ssd module to thinkpad-t14 2022-03-24 13:43:32 -03:00
Jörg Thalheim c326257692
Merge pull request #392 from rhoriguchi/master
Add lenovo legion 7 slim 15ach6
2022-03-23 13:54:24 +00:00
Jörg Thalheim 7c645f246e
Merge pull request #394 from sagikazarmark/fix-mic-button-on-asus-zephyrus-ga503
fix: asus zephyrus g15 mute button
2022-03-23 13:53:50 +00:00
Ryan Horiguchi 27e7087af5
Add lenovo legion 7 slim 15ach6 2022-03-23 13:44:38 +01:00
Mark Sagi-Kazar 1e9c05daf2 fix: asus zephyrus g15 mute button
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2022-03-23 13:26:43 +01:00
Jörg Thalheim a352d86727
Merge pull request #390 from feijoas/master
add support for lenovo X1 yoga
2022-03-23 07:55:49 +00:00
Jörg Thalheim d1d1134d50
Merge pull request #393 from sagikazarmark/add-asus-zephyrus-ga503
Add asus rog zephyrus ga503
2022-03-23 07:55:14 +00:00
Mark Sagi-Kazar 17890dd758 add asus rog zephyrus ga503
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2022-03-23 02:17:40 +01:00
Markus Schneider 83c1cd4a5a add support for lenovo X1 yoga 2022-03-16 18:25:14 +01:00
Jörg Thalheim 32f61571b4
Merge pull request #391 from SuperSamus/radv
AMD: Prefer RADV
2022-03-16 16:20:44 +00:00
Martino Fontana abd470874b AMD: Prefer RADV 2022-03-16 17:09:08 +01:00
Jörg Thalheim 816a935bf5
Merge pull request #372 from Emiller88/framework
feat(framework): Add initial support
2022-03-09 11:39:42 +00:00
Edmund Miller 081907627c
fix(framework): Drop GTK environment variables
https://github.com/NixOS/nixos-hardware/pull/376
2022-03-08 09:18:35 -06:00
Edmund Miller 59753d2f8a
fix(framework): Remove fonts.fontconfig.dpi
It no longer has any effect and tests fail then.
2022-03-08 09:18:35 -06:00
Edmund Miller d0fd296ecd
docs: Add framework 2022-03-08 09:18:33 -06:00
Edmund Miller 4a7e3d64f4
fix(framework): Follow x1 QHD settings 2022-03-08 09:18:18 -06:00
Edmund Miller f7244a341f
feat(framework): Add initial settings
- Enable deep sleep
- Use kernel that's 5.12 or latest
- Enable fingerprint scanner
- HiDPI
2022-03-08 09:18:18 -06:00
Jörg Thalheim c730530902
Merge pull request #380 from LunNova/asus-battery-fix
asus/battery.nix: fix chargeUpto after suspend/resume, make script optional
2022-03-08 15:01:26 +00:00
Jörg Thalheim 86fa91c21f
Merge pull request #386 from sielicki/master
add legion 5 (lenovo-legion-15arh05h)
2022-03-07 10:00:49 +00:00
Jörg Thalheim a91de8c914
Merge pull request #387 from NixOS/dependabot/github_actions/actions/checkout-3
build(deps): bump actions/checkout from 2 to 3
2022-03-07 06:48:05 +00:00
dependabot[bot] 10f6346d98
build(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 02:02:31 +00:00
Nicholas Sielicki 72d4903998 add lenovo legion 5 15ARH05H 2022-03-06 20:40:20 +00:00
Nicholas Sielicki b6d10e0e1b Fix alphabetical sort on readme table 2022-03-06 20:38:45 +00:00
Nicholas Sielicki 478cc4aa6e make comment more clear that it applies to all igpus, not just intel 2022-03-06 19:25:42 +00:00
Jörg Thalheim a7bca8d0d8
Merge pull request #383 from ettom/master
Add rpi4 pwm0 support
2022-03-04 12:52:02 +00:00
Jörg Thalheim 466eff0875
Merge pull request #385 from NixOS/surface-kernel
Surface kernel
2022-03-04 12:51:07 +00:00
Jörg Thalheim d27442ac2f
import editorconfig from nixpkgs
some sections that were not applicable were left out
2022-03-04 13:41:36 +01:00
Jörg Thalheim b94d24f855
rpi2: unset nix.buildCores
by default it already sets buildCores == available cores
2022-03-04 13:41:27 +01:00
kiana-S 3e4d52da0a
surface/kernel: 5.13.4 -> 5.16.11 2022-03-04 13:41:15 +01:00
Jörg Thalheim c3c66f6db4
Merge pull request #384 from ilkecan/define-VDPAU_DRIVER
common/cpu/intel: define VDPAU_DRIVER env variable
2022-02-26 05:59:57 +00:00
ilkecan 1da3ba110c common/cpu/intel: define VDPAU_DRIVER env variable
`libvdpau-va-gl` is a wrapper around VAAPI to have a VDPAU driver, which
is required for Intel GPU's. `VDPAU_DRIVER` environment variable is set
to "va_gl", since it defaults to "nvidia".
2022-02-26 03:01:01 +00:00
Jörg Thalheim a8d33117de
Merge pull request #382 from ursi/microsoft-surface-wifi
Refactor ath10k-replace to no longer need an outputHash
2022-02-25 13:44:38 +00:00
ettom 1c076b237f Add rpi4 pwm0 support 2022-02-24 16:02:40 +02:00
Jörg Thalheim ca893110b3
assus/battery: rename option to match nixpkgs convention 2022-02-23 10:23:56 +01:00
Mason Mackaman b633d393e2 Refactor ath10k-replace to no longer need an outputHash
The outputHash would change and frequently cause this to not work. This
gets around the issue by using the built version firmwareLinuxNonfree as
a source instead of trying to patch it directly.
2022-02-20 12:23:14 -05:00
Luna Nova 472f72a42d
Apply @Mic92's pkgs.runtimeShell suggestion
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-02-20 06:16:38 -08:00
Jörg Thalheim 1ccfe243aa
Merge pull request #379 from kilimnik/master
flake.nix add missing profiles
2022-02-20 08:46:22 +00:00
Luna Nova acded13f27
asus/battery.nix: fix chargeUpto after suspend/resume, make script optional 2022-02-19 16:09:26 -08:00
Daniel Kilimnik 93647384a6 flake.nix add missing profiles 2022-02-19 21:03:49 +01:00
Jörg Thalheim 10eab1c4cd
Merge pull request #375 from adomixaszvers/fix/lenovo-thinkpad-l13-yoga
Fix flake output lenovo-thinkpad-l13-yoga
2022-02-14 20:21:32 +00:00
Jörg Thalheim 9a11a5b7cd
Merge pull request #377 from dev-null-undefined/master
Added msi-gs60 to flake modules
2022-02-14 20:19:41 +00:00
Jörg Thalheim ac307defda
Merge pull request #370 from esterlus/este/t14gen2
added thinkpad t14 gen2 and copied t14s files where applicable
2022-02-14 20:14:05 +00:00
dev-null-undefined f3a00cd932
Added msi-gs60 to flake modules 2022-02-14 13:35:06 +01:00
Jörg Thalheim c361b95475
Merge pull request #376 from NixOS/hidpi
thinkpad/x1/6th-gen/QHD: drop gtk hidpi env variables
2022-02-12 18:53:08 +00:00
Jörg Thalheim 6b6f4f8dd6
thinkpad/x1/6th-gen/QHD: drop gtk hidpi env variables
Those actually break Gnome/wayland. They might work on x11.
2022-02-12 19:42:06 +01:00
Adomas Jatužis 6aeea68f60 lenovo-thinkpad-l13-yoga: fix flake output 2022-02-12 10:11:45 +02:00
Ronny Esterluss 1c5bade895 updated flake.nix to include t14 amd gen2 2022-02-08 08:56:25 +01:00
Ronny Esterluss 6e9617a733 readded t14 amd gen1 to new folder structure 2022-02-04 15:10:46 +01:00
Jörg Thalheim 9886a06e47
Merge pull request #371 from NixOS/feature/hp/elitebook/2560p/initial
Feature/hp/elitebook/2560p/initial
2022-02-04 13:07:17 +00:00
Jörg Thalheim e93140487c
elitebook/2560p: fix reference in markdown 2022-02-04 13:59:12 +01:00
Antoine Viallon 27032fb493 hp/elitebook/2560p: Remove redundant graphics settings. 2022-02-04 13:48:49 +01:00
Antoine Viallon 12d52a8025 hp/elitebook/2560p: Update project README 2022-02-04 13:48:49 +01:00
Antoine Viallon 58103331f5 hp/elitebook/2560p: Initial commit 2022-02-04 13:48:49 +01:00
Ronny Esterluss 2e4ee9d5e8 removed empty newline 2022-02-02 10:54:59 +01:00
Ronny Esterluss ce38b7abb1 added thinkpad t14 gen2 and copied t14s files where applicable 2022-02-02 10:54:31 +01:00
Jörg Thalheim 57c7dfde9d
Merge pull request #367 from NixOS/surface
Surface: refactoring + wifi firmware
2022-02-02 09:56:22 +01:00
Jörg Thalheim 5e720c70a8 microsoft/surface: enable redistributable firmware 2022-02-02 09:49:37 +01:00
Jörg Thalheim b9fb6c76d1 microsoft/surface: just inline hardware_configuration
Everything in nixos-hardware should be hardware configuration after all.
2022-02-02 09:49:37 +01:00
Jörg Thalheim 9fc0e848f5
Merge pull request #369 from NixOS/ci
fix test profile
2022-02-02 09:48:22 +01:00
Jörg Thalheim 7dd944da98 p14s: starting with 5.16 we have this kernel module upstream 2022-02-01 22:12:04 +01:00
Jörg Thalheim f8eff138d8 fix test profile 2022-02-01 22:08:15 +01:00
Jörg Thalheim 87a35a0d58
Merge pull request #356 from NelsonJeppesen/xps17-9710
add xps 17 9710
2022-01-12 05:36:37 +00:00
Jörg Thalheim d7a12fcc07
Merge pull request #357 from symphorien/inspiron-5515
add dell inspiron-5515
2022-01-11 20:55:22 +00:00
Nelson Jeppesen 346c13e609 add xps 17 9710 2022-01-11 10:05:50 -08:00
Guillaume Girol 961c0499df add dell inspiron-5515 2022-01-11 12:00:00 +00:00
Jörg Thalheim c9ede9e731
Merge pull request #358 from brandonweeks/iommu
thinkpad/x1: enable Intel IOMMU
2022-01-10 15:01:46 +00:00
Brandon Weeks 6bdf6d3cda thinkpad/x1: enable Intel IOMMU 2022-01-10 00:47:30 -08:00
0x4A6F 6fbaa46f15
Merge pull request #355 from grerrg/master
add Supermicro M11SDV-8C-LN4F.
2022-01-10 01:19:16 +01:00
Your Name 04666907d4 add Supermicro M11SDV-8C-LN4F. 2022-01-07 17:52:30 +01:00
Jörg Thalheim 46df95ca81
Merge pull request #353 from NixOS/usbarmory
drop usbarmory
2021-12-28 10:10:09 +00:00
Jörg Thalheim 5041a3f800 drop no-longer reachable torrent 2021-12-28 10:29:31 +01:00
Jörg Thalheim eaddb934ed drop usbarmory
The kernel has not been updated in ages (since 2016) and the used cached is
no longer reachable. Hence I assume this is no longer used.
2021-12-28 10:23:20 +01:00
Jörg Thalheim 2a76e1204f
Merge pull request #351 from Mic92/x13
x13: fix loading psmouse
2021-12-26 10:18:00 +00:00
Jörg Thalheim b166aab83e x13: fix loading psmouse 2021-12-26 10:15:40 +01:00
Jörg Thalheim 3f92db3837
Merge pull request #347 from maydayv7/master
Add Dell Inspiron 5509
2021-12-20 07:41:41 +00:00
Jörg Thalheim 9e702dedab
Merge pull request #349 from ilian/x1c9-ssd
thinkpad/x1: import ssd config for relevant models
2021-12-20 07:40:34 +00:00
ilian 5bc7087038 thinkpad/x1: import ssd config for relevant models 2021-12-19 12:06:09 +01:00
maydayv7 7904e1d34f
Update README 2021-12-11 22:08:12 +05:30
Jörg Thalheim 2a7063461c
Merge pull request #346 from sifmelcara/patch-1
Fix typo
2021-12-11 16:37:12 +00:00
maydayv7 e936b337b0
Add Dell Inspiron 5509 2021-12-11 21:37:01 +05:30
Ming-Chuan c662415158
Fix typo 2021-12-12 00:00:48 +08:00
Jörg Thalheim 324414d2fb
Merge pull request #345 from miangraham/rpi4-i2c1
raspberry-pi/4: Add option to turn on the ARM I2C bus (i2c1).
2021-12-11 05:42:29 +00:00
M. Ian Graham 8f1bf828d8 raspberry-pi/4/i2c: refactor i2c stuff into single file 2021-12-11 10:39:09 +09:00
M. Ian Graham 41c4e294f4 raspberry-pi/4/i2c1: factor out easy dts into helper, add i2c0 2021-12-11 09:39:55 +09:00
M. Ian Graham e81c9aed16 raspberry-pi/4/i2c1: indentation fix 2021-12-11 05:08:24 +09:00
M. Ian Graham 1bc731fde4 rpi4: Add option to turn on the ARM I2C bus (i2c1). 2021-12-11 01:17:44 +09:00
Jörg Thalheim 4c9f07277b
Merge pull request #341 from mitchmindtree/xps-9310-rm-kernel-patches
xps-9310: Remove upstreamed kernel patches with custom config
2021-12-02 10:22:10 +00:00
Sibi Prabakaran 6b3f79de09
Add Intel NUC 8i7BEH (#343) 2021-11-29 10:38:07 +00:00
Jörg Thalheim aad66afc1c
Merge pull request #337 from pasqui23/strix
Added ROG Strix G733QS
2021-11-25 09:13:21 +00:00
Jörg Thalheim 2dfe8d55b4
Merge pull request #342 from NixOS/nanopc-t4
nanopc-t4: remove deprecated serial speed
2021-11-25 09:11:03 +00:00
Jörg Thalheim eafbea9efd nanopc-t4: use kernelParams to set tty baud rate
we no longer support mingetty.serialSpeed.
2021-11-25 10:09:56 +01:00
mitchmindtree 1794de7d78 xps-9310: Remove upstreamed kernel patches with custom config
I've upstreamed these patches in NixOS/nixpkgs#144409, which means we no
longer have to build the kernel every time we update just to get
bluetooth working 🎉

While these changes have landed in master, they haven't been back-ported
to 21.05. They will be available via 21.11, which I'm currently testing
(along with this commit) by setting my `nixos` channel to the necessary
nixpkgs pre-release branch, e.g.

```bash
sudo nix-channel --remove nixos
sudo nix-channel --add https://github.com/NixOS/nixpkgs/archive/release-21.11.tar.gz nixos
sudo nix-channel --update nixos
```

*Note that if you use the above branch like I am, you might miss the
cache on some pkgs and spend even longer building those (looking at you
libreoffice).*

As of writing this PR, the current kernel is 5.15.4 and all seems to be
working well.
2021-11-25 09:58:43 +10:00
pasqui23 2051241010
g733qs: lates linux only if kernel older than 5.12
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2021-11-24 20:49:28 +00:00
Jörg Thalheim 08cda8e3a5
Merge pull request #339 from NixOS/dependabot/github_actions/cachix/install-nix-action-16
build(deps): bump cachix/install-nix-action from 15 to 16
2021-11-22 07:02:24 +00:00
dependabot[bot] 3332a12b47
build(deps): bump cachix/install-nix-action from 15 to 16
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 15 to 16.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v15...v16)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 02:03:04 +00:00
pasqui23 4161f8aee8
Update asus/battery.nix
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2021-11-21 17:00:14 +01:00
pasqui23 a9de532758
Update README.md
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2021-11-20 22:23:42 +00:00
Pasquale 6479f584f7
Added ROG Strix G733QS 2021-11-20 22:03:09 +01:00
Jörg Thalheim 5a7e613703
Merge pull request #334 from mrkkrp/thinkpad-x1-more-recent-kernel
Use a more recent kernel for Thinkpad X1
2021-11-18 13:27:50 +00:00
Mark Karpov 0492dd8216
Add a config for the 9th generation of Lenovo Thinkpad X1
This solves lagging noticeable on high-resolution screens.

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2021-11-18 10:55:46 +01:00
Jörg Thalheim abf18e3afe
Merge pull request #335 from chisui/master
microsoft/surface: add serial dev bus config
2021-11-18 06:45:42 +00:00
Jörg Thalheim 0225bccbcd
Merge pull request #336 from DavHau/revert-pr-333
Revert "Merge pull request #333 from bobvanderlinden/pr-intel-32bit"
2021-11-18 06:42:35 +00:00
DavHau 15e8b81487 Revert "Merge pull request #333 from bobvanderlinden/pr-intel-32bit"
This reverts commit ad0b7c5a95, reversing
changes made to 4045d5f43a.
2021-11-18 10:11:58 +07:00
Jörg Thalheim ad0b7c5a95
Merge pull request #333 from bobvanderlinden/pr-intel-32bit
fix(intel): add opengl packages for 32bit
2021-11-17 17:27:40 +00:00
Philipp Dargel 70409005dd
microsoft/surface: add serial dev bus config 2021-11-17 07:34:41 +01:00
Bob van der Linden 5190a9b4f2
fix(intel): add opengl packages for 32bit 2021-11-15 22:14:15 +01:00
Jörg Thalheim 4045d5f43a
Merge pull request #332 from NixOS/supermicro
Add supermicro x12scz-tln4f
2021-11-14 08:11:49 +00:00
Jörg Thalheim ef31914684
Merge pull request #331 from NixOS/poweredge
add dell poweredge r7515
2021-11-14 08:11:26 +00:00
Jörg Thalheim 82ada4b2b3 add supermicro x12scz-tln4f 2021-11-13 09:15:24 +01:00
Jörg Thalheim 1464b7f955 fix github workflow 2021-11-13 09:04:08 +01:00
Jörg Thalheim debc98ff9c add dell poweredge r7515 2021-11-13 09:04:08 +01:00
Jörg Thalheim e819a2993a fix github workflow 2021-11-13 08:49:20 +01:00
Jörg Thalheim fd6f34afcf
Merge pull request #330 from psibi/latitude-7490
Add Dell Latitude 7490
2021-11-07 20:34:11 +00:00
Sibi Prabakaran b50c73d420
Update README and flakes 2021-11-07 14:42:36 +05:30
Sibi Prabakaran b2083d1b60
Dell latitude 7490 support 2021-11-07 14:05:31 +05:30
Jörg Thalheim 518b9c2159
Merge pull request #329 from NixOS/fix-readme
README: fix syntax
2021-10-28 21:29:48 +02:00
Jörg Thalheim 09419f8341 README: fix syntax 2021-10-28 21:11:14 +02:00
Jörg Thalheim 63adb4a0c0
Merge pull request #324 from yvan-sraka/patch-1
Update X230 config using available common settings
2021-10-28 20:48:13 +02:00
Jörg Thalheim be5ba8b0cc
Merge pull request #328 from NixOS/yu-re-ka-patch-1
flake: add lenovo-thinkpad to nixosModules
2021-10-28 20:47:50 +02:00
Yuka 590a2cc182
flake: add lenovo-thinkpad to nixosModules 2021-10-28 20:35:27 +02:00
Jörg Thalheim 0bb7b0906c
Merge pull request #327 from WolfangAukang/t430
lenovo.thinkpad.t430: fix boot.kernelParams
2021-10-27 09:18:44 +02:00
P. R. d. O fdf8fa5d20
lenovo.thinkpad.t430: fix boot.kernelParams 2021-10-26 19:50:38 -06:00
Yvan Sraka 36d75fdcdc
Update X230 config using available common settings 2021-10-21 10:11:37 +02:00
Jörg Thalheim 3aabf78bfc
Merge pull request #321 from gravndal/master
Add basic support for the thinkpad t550
2021-10-09 16:24:07 +01:00
Gaute Ravndal 3c474df279 Add basic support for the thinkpad t550 2021-10-09 16:49:21 +02:00
Jörg Thalheim bf45d0fa08
Merge pull request #320 from sirkonst/patch-1
Apply SSD optimizations for Dell XPS 13 9310
2021-10-09 12:52:32 +01:00
Konstantin vz'One Enchant 4cac4fbeef
Apply SSD optimization for Dell XPS 13 9310 2021-10-03 15:13:49 +03:00
Jörg Thalheim 0a8b8054c9
Merge pull request #319 from j0hax/amdvlk-i686
AMD: include 32-bit driver for Vulkan
2021-09-30 09:26:03 +01:00
Johannes Arnold a57fc74bc3 AMD: include 32-bit driver for Vulkan 2021-09-28 20:14:53 +02:00
Jörg Thalheim 3cc8c47af3
Merge pull request #315 from ebbertd/e14-amd
Update E14 AMD
2021-09-22 00:39:40 +01:00
Jörg Thalheim 16fca9df23
Merge pull request #313 from ncfavier/patch-1
lenovo/thinkpad/t420: add tp-smapi
2021-09-17 11:43:54 +01:00
Naïm Favier 95ce025962
lenovo/thinkpad/t420: add tp-smapi
The T420 seems to have partial (readonly) support for the tp-smapi module, which TLP can make use of:

> Install tp-smapi kernel modules for extended battery info (e.g. the cycle count)
2021-09-16 12:41:30 +02:00
Jörg Thalheim a387b870f8
Merge pull request #312 from NixOS/dependabot/github_actions/cachix/install-nix-action-14
build(deps): bump cachix/install-nix-action from 13 to 14
2021-09-13 10:26:03 +01:00
dependabot[bot] b55dbe886f
build(deps): bump cachix/install-nix-action from 13 to 14
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 13 to 14.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v13...v14)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 02:02:00 +00:00
Daniel Ebbert 48b7c1c782
Update E14 AMD 2021-09-01 09:34:21 +02:00
Jörg Thalheim 342048461d
Merge pull request #310 from blitz/l14-amd
Thinkpad L14 AMD Updates
2021-08-26 11:50:21 +01:00
Julian Stecklina 03eba5720a lenovo/thinkpad/l14/amd: drop workaround for old kernels
... because the latest supported NixOS runs on Linux 5.10 by
default.
2021-08-25 23:33:11 +02:00
Julian Stecklina 2c549a1bfb lenovo/thinkpad/l14: enable SSD config 2021-08-25 23:33:11 +02:00
Julian Stecklina 9ff8606e7e lenovo/thinkpad/l14/amd: switch to soft iommu mode to prevent mmcblk kernel panic 2021-08-25 23:33:11 +02:00
Julian Stecklina 49f1d1e1f8 lenovo/thinkpad/l14/amd: enable AMD GPU config 2021-08-25 23:23:35 +02:00
Jörg Thalheim 7f42ec8790
Merge pull request #309 from mexisme/fix/ms-surface/ath10k-firmware-source
Fix source repo for MS Surface Go ATH10k Firmware image
2021-08-25 09:15:13 +01:00
mexisme 12cced4eeb Fix outputHash 2021-08-25 16:57:46 +12:00
mexisme 286e778ab5 Fix source repo for MS Surface ATH10k Firmware image 2021-08-25 12:11:57 +12:00
Jörg Thalheim de40acde6c
Merge pull request #308 from Valodim/rpi-4-audio-3
raspberry-pi/4: fix usage of mkDefault in audio module
2021-08-23 19:51:33 +01:00
Vincent Breitmoser ad1114ee37 raspberry-pi/4: fix usage of mkDefault in audio module 2021-08-23 19:50:37 +02:00
Jörg Thalheim d2d9a58a5c
remove systemd-boot from hardware profiles (#307)
- We should not enable canTouchEfiVariables by default as this
  wears out the EFI storage.
- We should not set systemd-boot as default. This is up to the user to
  decide. There are exceptions when hardware only supports specific
  bootloaders so.
2021-08-21 09:22:25 +01:00
Jörg Thalheim 6f1dc0aed0
Merge pull request #302 from Valodim/rpi-4-audio-2
raspberry-pi/4: Include tsched=0 fix in audio module
2021-08-20 23:21:23 +01:00
Jörg Thalheim c00e3c39d3
Merge pull request #304 from ebbertd/e14
Lenovo ThinkPad E14
2021-08-20 23:21:04 +01:00
Vincent Breitmoser e45d775c93 raspberry-pi/4: Include tsched=0 fix in audio module
This applies a commonly suggested fix for pulseaudio sound glitches.
2021-08-19 23:57:05 +02:00
Daniel Ebbert 6f10c889c0
Init Lenovo ThinkPad E14 2021-08-19 12:15:46 +02:00
Jörg Thalheim 878f629005
Merge pull request #305 from NixOS/xps
xps-13-9310: fix evaluation
2021-08-18 17:08:45 +01:00
Jörg Thalheim 22f1a185cf xps-13-9310: fix evaluation 2021-08-18 17:53:34 +02:00
Jörg Thalheim 3c83cab719
Merge pull request #303 from ebbertd/backlight_e495
lenovo/thinkpad/e495: use native acpi backlight
2021-08-18 11:44:47 +01:00
Daniel Ebbert eb385fad1e
lenovo/thinkpad/e495: use native acpi backlight 2021-08-18 11:58:49 +02:00
Jörg Thalheim 566f4da366
Merge pull request #301 from Valodim/rpi-4-audio
rpi4: add module for audio settings
2021-08-15 07:03:05 +01:00
Vincent Breitmoser 745dd44071 raspberry-pi/4: Add audio option 2021-08-15 00:53:29 +02:00
Jörg Thalheim 7da029f268
Merge pull request #300 from devins2518/master
linux_surface kernel 5.10.19->5.13.4
2021-08-08 17:35:07 +01:00
Domen Kožar 8296b88560 Add Thinkpad P14s 2021-08-04 13:54:40 +02:00
Devin Singh c8cbe52953
linux_surface 5.10.19->5.13.4 2021-08-02 13:34:29 -05:00
Jörg Thalheim 09ed30ff3b rpi4/poe-hat: improve enable option slightly 2021-07-30 19:26:52 +02:00
Jörg Thalheim 67a20962f3
Merge pull request #272 from walkah/rpi-poe
raspberry-pi/4: Add poe-hat option
2021-07-30 18:25:39 +01:00
Jörg Thalheim 615e23579f
Merge pull request #297 from figsoda/master
Add asus rog zephyrus g14 ga401
2021-07-27 06:52:27 +01:00
Jörg Thalheim 72ff66f79e
Merge pull request #298 from terinjokes/patches/dell-xps-9310-upstream
xps/13-9310: remove custom patches
2021-07-27 05:49:50 +01:00
Terin Stock f22552c2e2 xps/13-9310: remove custom patches
The Linux kernel now has wireless patches upstreamed into the Linux
kernel. We can remove our custom build, but preserve enabling the
bluetooth drivers.
2021-07-26 16:33:44 -07:00
figsoda 107ab6ac42 add asus rog zephyrus ga401 2021-07-25 17:14:52 -04:00
Jörg Thalheim 03e7686c72
Merge pull request #294 from ncfavier/patch-1
lenovo/thinkpad/t420: use cpu/intel/sandy-bridge
2021-07-25 12:28:20 +01:00
Naïm Favier acc32e590b
lenovo/thinkpad/t420: use cpu/intel/sandy-bridge 2021-07-25 12:11:47 +02:00
Jörg Thalheim 41775780a0
Merge pull request #283 from vherrmann/master
Add L13 Yoga
2021-07-03 18:33:58 +01:00
Your Name 19071fde4f lenovo/thinkpad/x13-yoga: Use relative symlink 2021-07-03 09:17:31 +02:00
Your Name 723e8f796c lenovo/thinkpad: Added x13-yoga for backwards-compability 2021-07-01 23:14:45 +02:00
Your Name f08cf2d7f7 lenovo/thinkpad: #283 Use directory instead of file 2021-07-01 14:03:59 +02:00
Your Name c076216644 lenovo/thinkpad: Refactor of yogas 2021-07-01 13:52:08 +02:00
Your Name 6a77d708e7 leovo/thinkpad/l13-yoga: Use L13's definition 2021-07-01 11:42:08 +02:00
Your Name 020310e5a3 Merge branch 'master' of github.com:NixOS/nixos-hardware 2021-07-01 11:18:55 +02:00
Jörg Thalheim eb889532fe
Merge pull request #287 from NixOS/readme
README: resolve symlinks for some profiles
2021-07-01 09:18:48 +01:00
Jörg Thalheim 53b0197e38
README: resolve symlinks for some profiles 2021-07-01 10:18:20 +02:00
Jörg Thalheim d331ffc046
Merge pull request #286 from NixOS/readme
README: inline links
2021-07-01 09:13:18 +01:00
Jörg Thalheim 96e678dbc4
README: inline links
A lot of links where broken.
Inlining links for all profiles makes it easier to review and contribute.
2021-07-01 10:04:33 +02:00
Jörg Thalheim 1475e65b07
Merge pull request #285 from NixOS/l13
thinkpad-l13: add ssd
2021-07-01 06:41:19 +01:00
Jörg Thalheim 03085184c9
thinkpad-l13: add ssd 2021-07-01 07:32:25 +02:00
Jörg Thalheim 44db94954f
Merge pull request #284 from NixOS/SuperSandro2000-patch-1
toshiba/swanky: remove usage of alias
2021-07-01 06:28:49 +01:00
Sandro 244e81c2a7
toshiba/swanky: remove usage of alias 2021-06-30 23:50:00 +02:00
Your Name 49cb5fb3d3 Add L13 Yoga 2021-06-30 16:18:18 +02:00
Jörg Thalheim 03c60a2db2
Merge pull request #281 from NixOS/fix-eval
p1: remove nvidia module again
2021-06-26 15:21:41 +02:00
Jörg Thalheim a4a9796b73
p1: remove nvidia module again 2021-06-26 15:11:18 +02:00
Jörg Thalheim b59eaeb50a
Merge pull request #278 from symphorien/precision5530flicker
Dell Precision 5530: fix screen flicker
2021-06-26 15:08:59 +02:00
Jörg Thalheim 76ff88e0d2
Merge pull request #273 from t184256/onenetbook4
Add onenetbook/4
2021-06-26 15:08:29 +02:00
Alexander Sosedkin 4f74b8b63a onenetbook/4: update stylus patch for 5.12.12 2021-06-26 12:09:54 +02:00
Alexander Sosedkin 9a4e7bdd2a onenetbook/4: fix accelerometer 2021-06-26 12:09:54 +02:00
Alexander Sosedkin adfa06e0a9 onenetbook/4: init, fix stylus 2021-06-26 12:09:54 +02:00
Jörg Thalheim 7305b276c9
Merge pull request #276 from thiagokokada/remove-intel-drivers-from-nvidia-disable
Remove intel drivers from nvidia-disable
2021-06-13 09:37:15 +02:00
Jörg Thalheim d4ef27b668
Merge pull request #265 from tomberek/surface_iptsd
surface: add iptsd
2021-06-13 09:36:14 +02:00
Jörg Thalheim 7fb8aeaba7
Merge pull request #277 from cyplo/add-t480
Add Lenovo Thinkpad T480
2021-06-13 09:30:45 +02:00
Jörg Thalheim d4f7a768c0
README.md: fix tests 2021-06-13 09:11:52 +02:00
Cyryl Płotnicki a67ed0c3a2 Add Lenovo Thinkpad T480 2021-06-12 10:38:34 +01:00
Thiago Kenji Okada b0f31689ac Remove intel drivers from nvidia-disable
Two reasons for this change:
- `intel` drivers are not updated from quite a long time (since ~2019),
  and `modesetting` is the preferred one for Intel iGPUs.
- Technically you may want to disable NVIDIA GPUs on laptops with AMD
  processors too.

We don't want to pin `modesetting` here because it is already the default
since PR: https://github.com/NixOS/nixpkgs/pull/111551.
2021-06-11 17:04:10 -03:00
Jörg Thalheim 6bea976169
Merge pull request #275 from andyrichardson/patch-1
Fix 9500 AX Crashes
2021-06-10 10:51:46 +02:00
Andy Richardson 6392ffbafb
Update default.nix 2021-06-09 13:18:05 +01:00
Andy Richardson d41711076e
Update default.nix 2021-06-09 12:51:33 +01:00
Andy Richardson 59a171c833
Fix 9500 wifi support 2021-06-09 12:46:01 +01:00
cwyc fccbee72df
thinkpad t14s amd: add amd gpu module (#271) 2021-06-08 10:09:01 +01:00
James Walker cf3508aab6
raspberry-pi/4: Add poe-hat option 2021-06-02 20:47:23 -04:00
Pavel Nazarov b2186d6c3c
Add lenovo-thinkpad-p1 (#266)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2021-06-01 05:30:09 +01:00
Emery Hemingway d38958a6aa Revert mnt/reform2-nitrogen8m
Kernel config is too big to be stored here.
2021-05-31 17:35:42 +02:00
Emery Hemingway 1abe955ad5 mnt/reform2-nitrogen8m: read kernel config into a string 2021-05-31 16:18:09 +02:00
Jörg Thalheim 35b2bfdce7
Merge pull request #269 from tfc/master
raspberry-pi/4: Add tc358743 option
2021-05-31 06:50:19 +02:00
Jacek Galowicz c941aecfc3 raspberry-pi/4: Add tc358743 option 2021-05-30 20:27:13 +00:00
Jörg Thalheim 3fc630f84c
pc/laptop: fix evaluation on 20.09 (#270) 2021-05-30 21:10:22 +01:00
Jörg Thalheim 684ae160a6
Merge pull request #247 from NixOS/mnt-reform2-nitrogen8m
Add mnt-reform2-nitrogen8m
2021-05-29 20:47:32 +02:00
Emery Hemingway f39a23dab7 Add mnt-reform2-nitrogen8m
https://mntre.com/
2021-05-29 10:43:48 +02:00
Jörg Thalheim 1facb18f43
Merge pull request #263 from bryanhonof/tlp-and-power-profiles-daemon-clash
Tlp and power profiles daemon clash
2021-05-29 10:27:28 +02:00
Jörg Thalheim ca33f586e7
fix evaluation 2021-05-29 10:19:00 +02:00
Jörg Thalheim 0a7b43b595
Merge pull request #259 from jakubgs/add-nanopc-t4
friendlyarm/nanopc-t4: init
2021-05-29 10:17:04 +02:00
Jakub Sokołowski ff1b798346
friendlyarm/nanopc-t4: init
As suggested by @Mic92 in https://github.com/NixOS/nixpkgs/pull/111034
I'm submitting my fixes for the FriendlyARM NanoPC-T4 device.

I'm not sure if forcing a specific kernel version is kosher, but on the
other hand I don't know if my kernel config changes will work on any
other version. I'm open to suggestions as to how to do this better.

Also unusure if I should call the folder `friendlyarm` or `friendlyelec`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-29 09:59:44 +02:00
Domen Kožar 30f1a9952d
Merge pull request #264 from tfc/master
Raspberry pi 4: Add dwc2 usb otg gadget support
2021-05-28 14:15:24 +02:00
Jacek Galowicz e6c84e7eaf raspberry-pi/4: Add dwc2 option 2021-05-28 11:18:51 +02:00
Tom Bereknyei 2bc0b595b5 surface: add iptsd 2021-05-27 18:41:26 +00:00
Jacek Galowicz 5a67562945 raspberry-pi/4: move filter into default.nix 2021-05-27 04:41:34 +00:00
Bryan Honof 1fe5b7686d
Update common/pc/laptop/default.nix
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2021-05-27 00:15:49 +02:00
Bryan Honof 2bc26b3c5c
Add lib.mkDefault to the statement 2021-05-26 19:00:01 +02:00
Bryan Honof e4ce746d5b
Add check for power-profiles-daemon.enable
Gnome 40 now uses power-profile-daemon
https://gitlab.freedesktop.org/hadess/power-profiles-daemon ,
which clashes with tlp. This check will disable tlp whenever it finds
that the power-profiles-daemon is activated.
2021-05-26 18:54:50 +02:00
Jörg Thalheim c4399b921f
Merge pull request #258 from nurelin/micropc
add gpd-micropc
2021-05-14 10:18:11 +01:00
Vincent Gatine 72d7bb9434 add gpd-micropc 2021-05-11 16:28:15 +02:00
Symphorien Gibol b8a0c5251f dell precision 5530: remove irrelevant disk related setting 2021-05-01 17:46:04 +02:00
Symphorien Gibol 18af97340c dell precision 5530: avoid screen flicker 2021-05-01 17:45:25 +02:00
854 changed files with 34446 additions and 2864 deletions

48
.editorconfig Normal file
View file

@ -0,0 +1,48 @@
# EditorConfig configuration for nixpkgs
# https://EditorConfig.org
# Top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file, utf-8 charset
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
# Ignore diffs/patches
[*.{diff,patch}]
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
# see https://nixos.org/nixpkgs/manual/#chap-conventions
# Match json/lockfiles/markdown/nix/perl/python/ruby/shell/docbook files, set indent to spaces
[*.{json,lock,md,nix,pl,pm,py,rb,sh,xml}]
indent_style = space
# Match docbook files, set indent width of one
[*.xml]
indent_size = 1
# Match json/lockfiles/markdown/nix/ruby files, set indent width of two
[*.{json,lock,md,nix,rb}]
indent_size = 2
# Match perl/python/shell scripts, set indent width of four
[*.{pl,pm,py,sh}]
indent_size = 4
# Match gemfiles, set indent to spaces with width of two
[Gemfile]
indent_size = 2
indent_style = space
# Disable file types or individual files
# some of these files may be auto-generated and/or require significant changes
[*.{c,h}]
insert_final_newline = unset
trim_trailing_whitespace = unset

12
.git-blame-ignore-revs Normal file
View file

@ -0,0 +1,12 @@
# This file contains commits that should be ignored by git blame
# See https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-file
# and https://github.com/NixOS/nixpkgs/blob/master/.git-blame-ignore-revs for more info
# To enable this in your local repository, run:
# git config blame.ignoreRevsFile .git-blame-ignore-revs
# For rebasing PRs, commits marked with !autorebase will be automatically
# reapplied by the auto-rebase script
# nixfmt-rfc-style formatting
51e51e601448705c0d2f92ef90ec7b680123077c #!autorebase cd tests && nix fmt ..

11
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View file

@ -0,0 +1,11 @@
###### Description of changes
###### Things done
<!-- Please check what applies. Note that these are not hard requirements but merely serve as information for reviewers. -->
- [ ] Tested the changes in your own NixOS Configuration
- [ ] Tested the changes end-to-end by using your fork of `nixos-hardware` and
importing it via `<nixos-hardware>` or Flake input

View file

@ -2,14 +2,20 @@ name: "Test"
on: on:
pull_request: pull_request:
push: push:
branches:
- master
merge_group:
jobs: jobs:
tests: nixfmt:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v5
- uses: cachix/install-nix-action@v13 - uses: cachix/install-nix-action@v31
with: - run: nix build .#checks.x86_64-linux.formatting
nix_path: nixpkgs=channel:nixos-unstable tests:
- name: Show nixpkgs version needs: nixfmt
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version' runs-on: ubuntu-latest
- run: ./tests/run.py steps:
- uses: actions/checkout@v5
- uses: cachix/install-nix-action@v31
- run: nix run .#run-tests

13
.mergify.yml Normal file
View file

@ -0,0 +1,13 @@
queue_rules:
- name: default
merge_conditions:
- check-success=tests
batch_size: 5
merge_method: rebase
pull_request_rules:
- name: merge using the merge queue
conditions:
- base=master
- label~=merge-queue|dependencies
actions:
queue: {}

View file

@ -1,8 +1,14 @@
beagleboard/pocketbeagle @yegortimoshenko beagleboard/pocketbeagle @yegortimoshenko
dell/xps/13-9370 @moredread dell/xps/13-9370 @moredread
dell/xps/13-9380 @kalbasit dell/xps/13-9380 @kalbasit
dell/xps/15-9560 @Lyndeno
lenovo/thinkpad/x230 @makefu @yegortimoshenko lenovo/thinkpad/x230 @makefu @yegortimoshenko
lenovo/thinkpad/x250 @Mic92 lenovo/thinkpad/x250 @Mic92
pcengines/apu @yegortimoshenko pcengines/apu @yegortimoshenko
pine64/rockpro64 @tomfitzhenry
pine64/star64 @fgaz
purism/librem/13v3 @yegortimoshenko purism/librem/13v3 @yegortimoshenko
system76/darp6 @khumba system76/darp6 @khumba
framework @emiller88
tuxedo/pulse/15/gen2 @trueNAHO
tuxedo/pulse/14/gen3 @gabyx @britter

View file

@ -1,8 +1,14 @@
# Writing profiles # Contributing a Device Profile
## 1. Writing profiles
Create an appropriate directory and start writing your expression.
When setting an option, use `lib.mkDefault` unless: When setting an option, use `lib.mkDefault` unless:
- The option *must* be set and the user should get an error if they try to override it. - The option *must* be set and the user should get an error if they try to
- The setting should merge with the user's settings (typical for list or set options). override it.
- The setting should merge with the user's settings (typical for list or set
options).
For example: For example:
@ -15,17 +21,33 @@ For example:
} }
``` ```
Try to avoid "opinionated" settings relating to optional features like sound, bluetooth, choice of bootloader etc. Where possible, use module imports to share code between similar hardware
variants. In most cases, import:
- a cpu module;
- a gpu module;
- either the pc or the laptop module;
- either the HDD or the SSD module.
Where possible, use module imports to share code between similar hardware variants. Try to avoid "opinionated" settings relating to optional features like sound,
bluetooth, choice of bootloader etc. You can mention these in the readme.
# Performance Profiles should favor usability and stability, so performance improvements
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.
Profiles should favor usability and stability, so performance improvements should either be conservative or ## 2. Adding Entry
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. Link the profile in the table in README.md and in flake.nix.
# Testing ## 3. Testing
Because profiles can only be tested with the appropriate hardware, quality assurance is up to *you*. 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*.
# For reviewers:
This repository has [mergify](https://mergify.com/) enabled for easier merging after a successfull build:
* `@mergify queue` will add the current pull request to the merge queue and merge when all tests succeed

512
README.md
View file

@ -24,14 +24,15 @@ imports = [
New updates to the expressions here will be fetched when you update the channel. New updates to the expressions here will be fetched when you update the channel.
## Using nix flakes support ### Using nix flakes support
There is also experimental flake support. In your `/etc/nixos/flake.nix` add the following: There is also experimental flake support. In your `/etc/nixos/flake.nix` add
the following:
```nix ```nix
{ {
description = "NixOS configuration with flakes"; description = "NixOS configuration with flakes";
inputs.nixos-hardware.url = github:NixOS/nixos-hardware/master; inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master";
outputs = { self, nixpkgs, nixos-hardware }: { outputs = { self, nixpkgs, nixos-hardware }: {
# replace <your-hostname> with your actual hostname # replace <your-hostname> with your actual hostname
@ -47,7 +48,6 @@ There is also experimental flake support. In your `/etc/nixos/flake.nix` add the
} }
``` ```
### Using fetchGit ### Using fetchGit
You can fetch the git repository directly: You can fetch the git repository directly:
@ -61,129 +61,389 @@ imports = [
Unlike the channel, this will update the git repository on a rebuild. However, Unlike the channel, this will update the git repository on a rebuild. However,
you can easily pin to a particular revision if you desire more stability. you can easily pin to a particular revision if you desire more stability.
## How to contribute a new device profile
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.
# 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)
- **Where**: https://jitsi.lassul.us/Hardware-team
- **Contact**: hardware@nixos.org
All contributors and users are welcome to join!
## List of Profiles ## List of Profiles
See code for all available configurations. See code for all available configurations.
| Model | Path | | Model | Path | Flake Module |
| --------------------------------- | -------------------------------------------------- | | --------------------------------------------------------------------------------- | ------------------------------------------------------- | -------------------------------------- |
| [Acer Aspire 4810T][] | `<nixos-hardware/acer/aspire/4810t>` | | [Acer Aspire 4810T](acer/aspire/4810t) | `<nixos-hardware/acer/aspire/4810t>` | `acer-aspire-4810t` |
| Airis N990 | `<nixos-hardware/airis/n990>` | | [Airis N990](airis/n990) | `<nixos-hardware/airis/n990>` | `airis-n990` |
| Apple MacBook Air 3,X | `<nixos-hardware/apple/macbook-air/3>` | | [Apple iMac 14.2](apple/imac/14-2) | `<nixos-hardware/apple/imac/14-2>` | `apple-imac-14-2` |
| Apple MacBook Air 4,X | `<nixos-hardware/apple/macbook-air/4>` | | [Apple iMac 18.2](apple/imac/18-2) | `<nixos-hardware/apple/imac/18-2>` | `apple-imac-18-2` |
| Apple MacBook Air 6,X | `<nixos-hardware/apple/macbook-air/6>` | | [Apple MacBook Air 3,X](apple/macbook-air/3) | `<nixos-hardware/apple/macbook-air/3>` | `apple-macbook-air-3` |
| [Apple MacBook Pro 10,1][] | `<nixos-hardware/apple/macbook-pro/10-1>` | | [Apple MacBook Air 4,X](apple/macbook-air/4) | `<nixos-hardware/apple/macbook-air/4>` | `apple-macbook-air-4` |
| Apple MacBook Pro 12,1 | `<nixos-hardware/apple/macbook-pro/12-1>` | | [Apple MacBook Air 5,X](apple/macbook-air/5) | `<nixos-hardware/apple/macbook-air/5>` | `apple-macbook-air-5` |
| Asus TUF FX504GD | `<nixos-hardware/asus/fx504gd>` | | [Apple MacBook Air 6,X](apple/macbook-air/6) | `<nixos-hardware/apple/macbook-air/6>` | `apple-macbook-air-6` |
| BeagleBoard PocketBeagle | `<nixos-hardware/beagleboard/pocketbeagle>` | | [Apple MacBook Air 7,X](apple/macbook-air/7) | `<nixos-hardware/apple/macbook-air/7>` | `apple-macbook-air-7` |
| [Dell G3 3779][] | `<nixos-hardware/dell/g3/3779>` | | [Apple MacBook Pro 8,1](apple/macbook-pro/8-1) | `<nixos-hardware/apple/macbook-pro/8-1>` | `apple-macbook-pro-8-1` |
| Dell Latitude 3480 | `<nixos-hardware/dell/latitude/3480>` | | [Apple MacBook Pro 10,1](apple/macbook-pro/10-1) | `<nixos-hardware/apple/macbook-pro/10-1>` | `apple-macbook-pro-10-1` |
| Dell Precision 5530 | `<nixos-hardware/dell/precision/5530>` | | [Apple MacBook Pro 11,1](apple/macbook-pro/11-1) | `<nixos-hardware/apple/macbook-pro/11-1>` | `apple-macbook-pro-11-1` |
| [Dell XPS E7240][] | `<nixos-hardware/dell/e7240>` | | [Apple MacBook Pro 11,4](apple/macbook-pro/11-4) | `<nixos-hardware/apple/macbook-pro/11-4>` | `apple-macbook-pro-11-4` |
| [Dell XPS 13 7390][] | `<nixos-hardware/dell/xps/13-7390>` | | [Apple MacBook Pro 11,5](apple/macbook-pro/11-5) | `<nixos-hardware/apple/macbook-pro/11-5>` | `apple-macbook-pro-11-5` |
| [Dell XPS 13 9310][] | `<nixos-hardware/dell/xps/13-9310>` | | [Apple MacBook Pro 12,1](apple/macbook-pro/12-1) | `<nixos-hardware/apple/macbook-pro/12-1>` | `apple-macbook-pro-12-1` |
| [Dell XPS 13 9343][] | `<nixos-hardware/dell/xps/13-9343>` | | [Apple MacBook Pro 14,1](apple/macbook-pro/14-1) | `<nixos-hardware/apple/macbook-pro/14-1>` | `apple-macbook-pro-14-1` |
| [Dell XPS 13 9360][] | `<nixos-hardware/dell/xps/13-9360>` | | [Apple MacMini (2010, Intel, Nvidia)](apple/macmini/4) | `<nixos-hardware/apple/macmini/4>` | `apple-macmini-4-1` |
| [Dell XPS 13 9370][] | `<nixos-hardware/dell/xps/13-9370>` | | [Apple Macs with a T2 Chip](apple/t2) | `<nixos-hardware/apple/t2>` | `apple-t2` |
| [Dell XPS 13 9380][] | `<nixos-hardware/dell/xps/13-9380>` | | [Aoostar R1 N100](aoostar/r1/n100) | `<nixos-hardware/aoostar/r1/n100>` | `aoostar-r1-n100` |
| [Dell XPS 15 7590][] | `<nixos-hardware/dell/xps/15-7590>` | | [Asus Pro WS X570-ACE](asus/pro-ws-x570-ace) | `<nixos-hardware/asus/pro-ws-x570-ace>` | `asus-pro-ws-x570-ace` |
| [Dell XPS 15 9550][] | `<nixos-hardware/dell/xps/15-9550>` | | [Asus ROG Ally RC71L (2023)](asus/ally/rc71l) | `<nixos-hardware/asus/ally/rc71l>` | `asus-ally-rc71l` |
| [Dell XPS 15 9550, nvidia][] | `<nixos-hardware/dell/xps/15-9550/nvidia>` | | [Asus ROG Flow X13 GV302X\* (2023)](asus/flow/gv302x/amdgpu) | `<nixos-hardware/asus/flow/gv302x/amdgpu>` | `asus-flow-gv302x-amdgpu` |
| [Dell XPS 15 9560][] | `<nixos-hardware/dell/xps/15-9560>` | | [Asus ROG Flow X13 GV302X\* (2023)](asus/flow/gv302x/nvidia) | `<nixos-hardware/asus/flow/gv302x/nvidia>` | `asus-flow-gv302x-nvidia` |
| [Dell XPS 15 9560, intel only][] | `<nixos-hardware/dell/xps/15-9560/intel>` | | [Asus ROG GL552VW](asus/rog-gl552vw) | `<nixos-hardware/asus/rog-gl552vw>` | `asus-rog-gl552vw` |
| [Dell XPS 15 9560, nvidia only][] | `<nixos-hardware/dell/xps/15-9560/nvidia>` | | [Asus ROG Strix G513IM](asus/rog-strix/g513im) | `<nixos-hardware/asus/rog-strix/g513im>` | `asus-rog-strix-g513im` |
| [Dell XPS 15 9500][] | `<nixos-hardware/dell/xps/15-9500>` | | [Asus ROG Strix G533ZW](asus/rog-strix/g533zw) | `<nixos-hardware/asus/rog-strix/g533zw>` | `asus-rog-strix-g533zw` |
| [Dell XPS 15 9500, nvidia][] | `<nixos-hardware/dell/xps/15-9500/nvidia>` | | [Asus ROG Strix G533Q](asus/rog-strix/g533q) | `<nixos-hardware/asus/rog-strix/g533q>` | `asus-rog-strix-g533zw` |
| [Google Pixelbook][] | `<nixos-hardware/google/pixelbook>` | | [Asus ROG Strix G713IE](asus/rog-strix/g713ie) | `<nixos-hardware/asus/rog-strix/g713ie>` | `asus-rog-strix-g713ie` |
| [Inverse Path USB armory][] | `<nixos-hardware/inversepath/usbarmory>` | | [Asus ROG Strix G733QS](asus/rog-strix/g733qs) | `<nixos-hardware/asus/rog-strix/g733qs>` | `asus-rog-strix-g733qs` |
| Lenovo IdeaPad Z510 | `<nixos-hardware/lenovo/ideapad/z510>` | | [Asus ROG Strix X570-E GAMING](asus/rog-strix/x570e) | `<nixos-hardware/asus/rog-strix/x570e>` | `asus-rog-strix-x570e` |
| Lenovo ThinkPad E470 | `<nixos-hardware/lenovo/thinkpad/e470>` | | [Asus ROG Zephyrus G14 GA401IV (2020)](asus/zephyrus/ga401iv) | `<nixos-hardware/asus/zephyrus/ga401iv>` | `asus-zephyrus-ga401iv` |
| Lenovo ThinkPad E495 | `<nixos-hardware/lenovo/thinkpad/e495>` | | [Asus ROG Zephyrus G14 GA401 (2021)](asus/zephyrus/ga401) | `<nixos-hardware/asus/zephyrus/ga401>` | `asus-zephyrus-ga401` |
| Lenovo ThinkPad L13 | `<nixos-hardware/lenovo/thinkpad/l13>` | | [Asus ROG Zephyrus G14 GA402](asus/zephyrus/ga402) | `<nixos-hardware/asus/zephyrus/ga402>` | `asus-zephyrus-ga402` |
| Lenovo ThinkPad L14 (Intel) | `<nixos-hardware/lenovo/thinkpad/l14/intel> | | [Asus ROG Zephyrus G14 GA402X\* (2023)](asus/zephyrus/ga402x/amdgpu) | `<nixos-hardware/asus/zephyrus/ga402x/amdgpu>` | `asus-zephyrus-ga402x-amdgpu` |
| Lenovo ThinkPad L14 (AMD) | `<nixos-hardware/lenovo/thinkpad/l14/amd> | | [Asus ROG Zephyrus G14 GA402X\* (2023)](asus/zephyrus/ga402x/nvidia) | `<nixos-hardware/asus/zephyrus/ga402x/nvidia>` | `asus-zephyrus-ga402x-nvidia` |
| Lenovo ThinkPad P53 | `<nixos-hardware/lenovo/thinkpad/p53>` | | [Asus ROG Zephyrus G15 GA502](asus/zephyrus/ga502) | `<nixos-hardware/asus/zephyrus/ga502>` | `asus-zephyrus-ga502` |
| Lenovo ThinkPad T14 | `<nixos-hardware/lenovo/thinkpad/t14>` | | [Asus ROG Zephyrus G15 GA503](asus/zephyrus/ga503) | `<nixos-hardware/asus/zephyrus/ga503>` | `asus-zephyrus-ga503` |
| Lenovo ThinkPad T14 AMD Gen 1 | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen1>` | | [Asus ROG Zephyrus G16 GU605MY](asus/zephyrus/gu605my) | `<nixos-hardware/asus/zephyrus/gu605my>` | `asus-zephyrus-gu605my` |
| Lenovo ThinkPad T14s | `<nixos-hardware/lenovo/thinkpad/t14s>` | | [Asus ROG Zephyrus M16 GU603H](asus/zephyrus/gu603h) | `<nixos-hardware/asus/zephyrus/gu603h>` | `asus-zephyrus-gu603h` |
| Lenovo ThinkPad T14s AMD Gen 1 | `<nixos-hardware/lenovo/thinkpad/t14s/amd/gen1>` | | [Asus TUF FX504GD](asus/fx504gd) | `<nixos-hardware/asus/fx504gd>` | `asus-fx504gd` |
| Lenovo ThinkPad T410 | `<nixos-hardware/lenovo/thinkpad/t410>` | | [Asus TUF FX506HM](asus/fx506hm) | `<nixos-hardware/asus/fx506hm>` | `asus-fx506hm` |
| Lenovo ThinkPad T420 | `<nixos-hardware/lenovo/thinkpad/t420>` | | [Asus TUF FA506IC](asus/fa506ic) | `<nixos-hardware/asus/fa506ic>` | `asus-fa506ic` |
| Lenovo ThinkPad T430 | `<nixos-hardware/lenovo/thinkpad/t430>` | | [Asus TUF FA507RM](asus/fa507rm) | `<nixos-hardware/asus/fa507rm>` | `asus-fa507rm` |
| Lenovo ThinkPad T440s | `<nixos-hardware/lenovo/thinkpad/t440s>` | | [Asus TUF FA507NV](asus/fa507nv) | `<nixos-hardware/asus/fa507nv>` | `asus-fa507nv` |
| Lenovo ThinkPad T440p | `<nixos-hardware/lenovo/thinkpad/t440p>` | | [Asus Zenbook Duo 14 UX481](asus/zenbook/ux481/intelgpu/) | `<nixos-hardware/asus/zenbook/ux481/intelgpu>` | `asus-zenbook-ux481-intelgpu` |
| Lenovo ThinkPad T450s | `<nixos-hardware/lenovo/thinkpad/t450s>` | | [Asus Zenbook Duo 14 UX481](asus/zenbook/ux481/nvidia/) | `<nixos-hardware/asus/zenbook/ux481/nvidia>` | `asus-zenbook-ux481-nvidia` |
| Lenovo ThinkPad T460 | `<nixos-hardware/lenovo/thinkpad/t460>` | | [Asus Zenbook Flip S13 UX371](asus/zenbook/ux371/) | `<nixos-hardware/asus/zenbook/ux371>` | `asus-zenbook-ux371` |
| Lenovo ThinkPad T460s | `<nixos-hardware/lenovo/thinkpad/t460s>` | | [Asus Zenbook Pro 15 UX535](asus/zenbook/ux535/) | `<nixos-hardware/asus/zenbook/ux535>` | `asus-zenbook-ux535` |
| Lenovo ThinkPad T470s | `<nixos-hardware/lenovo/thinkpad/t470s>` | | [Asus Zenbook Pro 17 UM6702](asus/zenbook/um6702/) | `<nixos-hardware/asus/zenbook/um6702>` | `asus-zenbook-um6702` |
| Lenovo ThinkPad T480s | `<nixos-hardware/lenovo/thinkpad/t480s>` | | [BeagleBoard PocketBeagle](beagleboard/pocketbeagle) | `<nixos-hardware/beagleboard/pocketbeagle>` | `beagleboard-pocketbeagle` |
| Lenovo ThinkPad T490 | `<nixos-hardware/lenovo/thinkpad/t490>` | | [Chuwi MiniBook X](chuwi/minibook-x) | `<nixos-hardware/chuwi/minibook-x>` | `chuwi-minibook-x` |
| Lenovo ThinkPad T495 | `<nixos-hardware/lenovo/thinkpad/t495>` | | [Deciso DEC series](deciso/dec) | `<nixos-hardware/deciso/dec>` | `deciso-dec` |
| Lenovo ThinkPad X113 Yoga | `<nixos-hardware/lenovo/thinkpad/x13-yoga>` | | [Dell G3 3779](dell/g3/3779) | `<nixos-hardware/dell/g3/3779>` | `dell-g3-3779` |
| Lenovo ThinkPad X140e | `<nixos-hardware/lenovo/thinkpad/x140e>` | | [Dell G3 3579](dell/g3/3579) | `<nixos-hardware/dell/g3/3579>` | `dell-g3-3579` |
| Lenovo ThinkPad X200s | `<nixos-hardware/lenovo/thinkpad/x200s>` | | [Dell Inspiron 3442](dell/inspiron/3442) | `<nixos-hardware/dell/inspiron/3442>` | `dell-inspiron-3442` |
| Lenovo ThinkPad X220 | `<nixos-hardware/lenovo/thinkpad/x220>` | | [Dell Inspiron 14 5420](dell/inspiron/14-5420) | `<nixos-hardware/dell/inspiron/14-5420>` | `dell-inspiron-14-5420` |
| Lenovo ThinkPad X230 | `<nixos-hardware/lenovo/thinkpad/x230>` | | [Dell Inspiron 5509](dell/inspiron/5509) | `<nixos-hardware/dell/inspiron/5509>` | `dell-inspiron-5509` |
| Lenovo ThinkPad X250 | `<nixos-hardware/lenovo/thinkpad/x250>` | | [Dell Inspiron 5515](dell/inspiron/5515) | `<nixos-hardware/dell/inspiron/5515>` | `dell-inspiron-5515` |
| [Lenovo ThinkPad X260][] | `<nixos-hardware/lenovo/thinkpad/x260>` | | [Dell Inspiron 7405](dell/inspiron/7405) | `<nixos-hardware/dell/inspiron/7405>` | `dell-inspiron-7405` |
| Lenovo ThinkPad X270 | `<nixos-hardware/lenovo/thinkpad/x270>` | | [Dell Inspiron 7460](dell/inspiron/7460) | `<nixos-hardware/dell/inspiron/7460>` | `dell-inspiron-7460` |
| Lenovo ThinkPad X280 | `<nixos-hardware/lenovo/thinkpad/x280>` | | [Dell Inspiron 7559](dell/inspiron/7559) | `<nixos-hardware/dell/inspiron/7559>` | `dell-inspiron-7559` |
| [Lenovo ThinkPad X1 (6th Gen)][] | `<nixos-hardware/lenovo/thinkpad/x1/6th-gen>` | | [Dell Latitude 3340](dell/latitude/3340) | `<nixos-hardware/dell/latitude/3340>` | `dell-latitude-3340` |
| [Lenovo ThinkPad X1 (7th Gen)][] | `<nixos-hardware/lenovo/thinkpad/x1/7th-gen>` | | [Dell Latitude 3480](dell/latitude/3480) | `<nixos-hardware/dell/latitude/3480>` | `dell-latitude-3480` |
| Lenovo ThinkPad X1 Extreme Gen 2 | `<nixos-hardware/lenovo/thinkpad/x1-extreme/gen2>` | | [Dell Latitude 5490](dell/latitude/5490) | `<nixos-hardware/dell/latitude/5490>` | `dell-latitude-5490` |
| [Lenovo ThinkPad X13][] | `<nixos-hardware/lenovo/thinkpad/x13` | | [Dell Latitude 5520](dell/latitude/5520) | `<nixos-hardware/dell/latitude/5520>` | `dell-latitude-5520` |
| [Microsoft Surface Range][] | `<nixos-hardware/microsoft/surface>` | | [Dell Latitude 7280](dell/latitude/7280) | `<nixos-hardware/dell/latitude/7280>` | `dell-latitude-7280` |
| [Microsoft Surface Pro 3][] | `<nixos-hardware/microsoft/surface-pro/3>` | | [Dell Latitude 7390](dell/latitude/7390) | `<nixos-hardware/dell/latitude/7390>` | `dell-latitude-7390` |
| [MSI GS60 2QE][] | `<nixos-hardware/msi/gs60>` | | [Dell Latitude 7420](dell/latitude/7420) | `<nixos-hardware/dell/latitude/7420>` | `dell-latitude-7420` |
| PC Engines APU | `<nixos-hardware/pcengines/apu>` | | [Dell Latitude 7430](dell/latitude/7430) | `<nixos-hardware/dell/latitude/7430>` | `dell-latitude-7430` |
| [Raspberry Pi 2][] | `<nixos-hardware/raspberry-pi/2>` | | [Dell Latitude 7490](dell/latitude/7490) | `<nixos-hardware/dell/latitude/7490>` | `dell-latitude-7490` |
| [Raspberry Pi 4][] | `<nixos-hardware/raspberry-pi/4>` | | [Dell Latitude 9430](dell/latitude/9430) | `<nixos-hardware/dell/latitude/9430>` | `dell-latitude-9430` |
| [Samsung Series 9 NP900X3C][] | `<nixos-hardware/samsung/np900x3c>` | | [Dell Latitude E7240](dell/latitude/e7240) | `<nixos-hardware/dell/latitude/e7240>` | `dell-latitude-e7240` |
| [Purism Librem 13v3][] | `<nixos-hardware/purism/librem/13v3>` | | [Dell Optiplex 3050](dell/optiplex/3050) | `<nixos-hardware/dell/optiplex/3050>` | `dell-optiplex-3050` |
| [Purism Librem 15v3][] | `<nixos-hardware/purism/librem/15v3>` | | [Dell Poweredge R7515](dell/poweredge/r7515) | `<nixos-hardware/dell/poweredge/r7515>` | `dell-poweredge-r7515` |
| Supermicro A1SRi-2758F | `<nixos-hardware/supermicro/a1sri-2758f>` | | [Dell Precision 3490, nvidia](dell/precision/3490/nvidia) | `<nixos-hardware/dell/precision/3490/nvidia>` | `dell-precision-3490-nvidia` |
| Supermicro X10SLL-F | `<nixos-hardware/supermicro/x10sll-f>` | | [Dell Precision 3490, intel](dell/precision/3490/intel) | `<nixos-hardware/dell/precision/3490/intel>` | `dell-precision-3490-intel` |
| [System76 (generic)][] | `<nixos-hardware/system76>` | | [Dell Precision 3541](dell/precision/3541) | `<nixos-hardware/dell/precision/3541>` | `dell-precision-3541` |
| [System76 Darter Pro 6][] | `<nixos-hardware/system76/darp6>` | | [Dell Precision 5490](dell/precision/5490) | `<nixos-hardware/dell/precision/5490>` | `dell-precision-5490` |
| [Toshiba Chromebook 2 `swanky`][] | `<nixos-hardware/toshiba/swanky>` | | [Dell Precision 5530](dell/precision/5530) | `<nixos-hardware/dell/precision/5530>` | `dell-precision-5530` |
| [Tuxedo InfinityBook v4][] | `<nixos-hardware/tuxedo/infinitybook/v4>` | | [Dell Precision 5560](dell/precision/5560) | `<nixos-hardware/dell/precision/5560>` | `dell-precision-5560` |
| [Dell Precision 5570](dell/precision/5570) | `<nixos-hardware/dell/precision/5570>` | `dell-precision-5570` |
[Acer Aspire 4810T]: acer/aspire/4810t | [Dell Precision 7520](dell/precision/7520) | `<nixos-hardware/dell/precision/7520>` | `dell-precision-7520` |
[Asus TUF FX504GD]: asus/fx504gd | [Dell XPS 13 7390](dell/xps/13-7390) | `<nixos-hardware/dell/xps/13-7390>` | `dell-xps-13-7390` |
[Apple MacBook Pro 10,1]: apple/macbook-pro/10-1 | [Dell XPS 13 9300](dell/xps/13-9300) | `<nixos-hardware/dell/xps/13-9300>` | `dell-xps-13-9300` |
[Dell G3 3779]: dell/g3/3779 | [Dell XPS 13 9310](dell/xps/13-9310) | `<nixos-hardware/dell/xps/13-9310>` | `dell-xps-13-9310` |
[Dell XPS E7240]: dell/e7240 | [Dell XPS 13 9315](dell/xps/13-9315) | `<nixos-hardware/dell/xps/13-9315>` | `dell-xps-13-9315` |
[Dell XPS 13 7390]: dell/xps/13-7390 | [Dell XPS 13 9333](dell/xps/13-9333) | `<nixos-hardware/dell/xps/13-9333>` | `dell-xps-13-9333` |
[Dell XPS 13 9343]: dell/xps/13-9343 | [Dell XPS 13 9343](dell/xps/13-9343) | `<nixos-hardware/dell/xps/13-9343>` | `dell-xps-13-9343` |
[Dell XPS 13 9310]: dell/xps/13-9310 | [Dell XPS 13 9350](dell/xps/13-9350) | `<nixos-hardware/dell/xps/13-9350>` | `dell-xps-13-9350` |
[Dell XPS 13 9360]: dell/xps/13-9360 | [Dell XPS 13 9360](dell/xps/13-9360) | `<nixos-hardware/dell/xps/13-9360>` | `dell-xps-13-9360` |
[Dell XPS 13 9370]: dell/xps/13-9370 | [Dell XPS 13 9370](dell/xps/13-9370) | `<nixos-hardware/dell/xps/13-9370>` | `dell-xps-13-9370` |
[Dell XPS 13 9380]: dell/xps/13-9380 | [Dell XPS 13 9380](dell/xps/13-9380) | `<nixos-hardware/dell/xps/13-9380>` | `dell-xps-13-9380` |
[Dell XPS 15 7590]: dell/xps/15-7590 | [Dell XPS 15 7590, nvidia](dell/xps/15-7590/nvidia) | `<nixos-hardware/dell/xps/15-7590/nvidia>` | `dell-xps-15-7590-nvidia` |
[Dell XPS 15 9550]: dell/xps/15-9550 | [Dell XPS 15 7590](dell/xps/15-7590) | `<nixos-hardware/dell/xps/15-7590>` | `dell-xps-15-7590` |
[Dell XPS 15 9560]: dell/xps/15-9560 | [Dell XPS 15 9500, nvidia](dell/xps/15-9500/nvidia) | `<nixos-hardware/dell/xps/15-9500/nvidia>` | `dell-xps-15-9500-nvidia` |
[Dell XPS 15 9560, intel only]: dell/xps/15-9560/intel | [Dell XPS 15 9500](dell/xps/15-9500) | `<nixos-hardware/dell/xps/15-9500>` | `dell-xps-15-9500` |
[Dell XPS 15 9560, nvidia only]: dell/xps/15-9560/nvidia | [Dell XPS 15 9510, nvidia](dell/xps/15-9510/nvidia) | `<nixos-hardware/dell/xps/15-9510/nvidia>` | `dell-xps-15-9510-nvidia` |
[Google Pixelbook]: google/pixelbook | [Dell XPS 15 9510](dell/xps/15-9510) | `<nixos-hardware/dell/xps/15-9510>` | `dell-xps-15-9510` |
[Inverse Path USB armory]: inversepath/usbarmory | [Dell XPS 15 9520, nvidia](dell/xps/15-9520/nvidia) | `<nixos-hardware/dell/xps/15-9520/nvidia>` | `dell-xps-15-9520-nvidia` |
[Lenovo ThinkPad X1 (6th Gen)]: lenovo/thinkpad/x1/6th-gen | [Dell XPS 15 9520](dell/xps/15-9520) | `<nixos-hardware/dell/xps/15-9520>` | `dell-xps-15-9520` |
[Lenovo ThinkPad X1 (7th Gen)]: lenovo/thinkpad/x1/7th-gen | [Dell XPS 15 9530, nvidia](dell/xps/15-9530/nvidia) | `<nixos-hardware/dell/xps/15-9530/nvidia>` | `dell-xps-15-9530-nvidia` |
[Lenovo ThinkPad X13]: lenovo/thinkpad/x13 | [Dell XPS 15 9530](dell/xps/15-9530) | `<nixos-hardware/dell/xps/15-9530>` | `dell-xps-15-9530` |
[Lenovo ThinkPad X13 Yoga]: lenovo/thinkpad/x13-yoga | [Dell XPS 15 9550, nvidia](dell/xps/15-9550/nvidia) | `<nixos-hardware/dell/xps/15-9550/nvidia>` | `dell-xps-15-9550-nvidia` |
[Lenovo ThinkPad X260]: lenovo/thinkpad/x260 | [Dell XPS 15 9550](dell/xps/15-9550) | `<nixos-hardware/dell/xps/15-9550>` | `dell-xps-15-9550` |
[Microsoft Surface Pro 3]: microsoft/surface-pro/3 | [Dell XPS 15 9560, intel only](dell/xps/15-9560/intel) | `<nixos-hardware/dell/xps/15-9560/intel>` | `dell-xps-15-9560-intel` |
[MSI GS60 2QE]: msi/gs60 | [Dell XPS 15 9560, nvidia only](dell/xps/15-9560/nvidia) | `<nixos-hardware/dell/xps/15-9560/nvidia>` | `dell-xps-15-9560-nvidia` |
[Raspberry Pi 2]: raspberry-pi/2 | [Dell XPS 15 9560](dell/xps/15-9560) | `<nixos-hardware/dell/xps/15-9560>` | `dell-xps-15-9560` |
[Samsung Series 9 NP900X3C]: samsung/np900x3c | [Dell XPS 15 9570, intel only](dell/xps/15-9570/intel) | `<nixos-hardware/dell/xps/15-9570/intel>` | `dell-xps-15-9570-intel` |
[System76 (generic)]: system76 | [Dell XPS 15 9570, nvidia](dell/xps/15-9570/nvidia) | `<nixos-hardware/dell/xps/15-9570/nvidia>` | `dell-xps-15-9570-nvidia` |
[System76 Darter Pro 6]: system76/darp6 | [Dell XPS 15 9570](dell/xps/15-9570) | `<nixos-hardware/dell/xps/15-9570>` | `dell-xps-15-9570` |
[Purism Librem 13v3]: purism/librem/13v3 | [Dell XPS 17 9700, intel](dell/xps/17-9700/intel) | `<nixos-hardware/dell/xps/17-9700/intel` | `dell-xps-17-9700-intel` |
[Purism Librem 15v5]: purism/librem/15v5 | [Dell XPS 17 9700, nvidia](dell/xps/17-9700/nvidia) | `<nixos-hardware/dell/xps/17-9700/nvidia>` | `dell-xps-17-9700-nvidia` |
[Toshiba Chromebook 2 `swanky`]: toshiba/swanky | [Dell XPS 17 9710, intel only](dell/xps/17-9710/intel) | `<nixos-hardware/dell/xps/17-9710/intel>` | `dell-xps-17-9710-intel` |
[Tuxedo InfinityBook v4]: nixos-hardware/tuxedo/infinitybook/v4 | [Framework 11th Gen Intel Core](framework/13-inch/11th-gen-intel) | `<nixos-hardware/framework/13-inch/11th-gen-intel>` | `framework-11th-gen-intel` |
| [Framework 12th Gen Intel Core](framework/13-inch/12th-gen-intel) | `<nixos-hardware/framework/13-inch/12th-gen-intel>` | `framework-12th-gen-intel` |
## How to contribute a new device profile | [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` |
1. Add your device profile expression in the appropriate directory | [Framework 13 AMD Ryzen 7040 Series](framework/13-inch/7040-amd) | `<nixos-hardware/framework/13-inch/7040-amd>` | `framework-13-7040-amd` |
2. Link it in the table in README.md and in flake.nix | [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` |
3. Run ./tests/run.py to test it. The test script script will parse all the profiles from the README.md | [Framework 12 13th Gen Intel Core](framework/12-inch/13th-gen-intel) | `<nixos-hardware/framework/12-inch/13th-gen-intel>` | `framework-12-13th-gen-intel` |
| [Framework 16 AMD Ryzen 7040 Series](framework/16-inch/7040-amd) | `<nixos-hardware/framework/16-inch/7040-amd>` | `framework-16-7040-amd` |
| [Framework 16 AMD Ryzen AI 300 Series](framework/16-inch/amd-ai-300-series) | `<nixos-hardware/framework/16-inch/amd-ai-300-series>` | `framework-16-amd-ai-300-series` |
| [FriendlyARM NanoPC-T4](friendlyarm/nanopc-t4) | `<nixos-hardware/friendlyarm/nanopc-t4>` | `friendlyarm-nanopc-t4` |
| [FriendlyARM NanoPi R5s](friendlyarm/nanopi-r5s) | `<nixos-hardware/friendlyarm/nanopi-r5s>` | `friendlyarm-nanopi-r5s` |
| [Focus M2 Gen 1](focus/m2/gen1) | `<nixos-hardware/focus/m2/gen1>` | `focus-m2-gen1` |
| [Fydetab Duo](fydetab/duo) | `<nixos-hardware/fydetab/duo>` | `fydetab-duo` |
| [Gigabyte B550](gigabyte/b550) | `<nixos-hardware/gigabyte/b550>` | `gigabyte-b550` |
| [Gigabyte B650](gigabyte/b650) | `<nixos-hardware/gigabyte/b650>` | `gigabyte-b650` |
| [GMKtec NucBox G3 Plus](gmktec/nucbox/g3-plus) | `<nixos-hardware/gmktec/nucbox/g3-plus>` | `gmktec-nucbox-g3-plus` |
| [GPD MicroPC](gpd/micropc) | `<nixos-hardware/gpd/micropc>` | `gpd-micropc` |
| [GPD P2 Max](gpd/p2-max) | `<nixos-hardware/gpd/p2-max>` | `gpd-p2-max` |
| [GPD Pocket 3](gpd/pocket-3) | `<nixos-hardware/gpd/pocket-3>` | `gpd-pocket-3` |
| [GPD Pocket 4](gpd/pocket-4) | `<nixos-hardware/gpd/pocket-4>` | `gpd-pocket-4` |
| [GPD WIN 2](gpd/win-2) | `<nixos-hardware/gpd/win-2>` | `gpd-win-2` |
| [GPD WIN Max 2 2023](gpd/win-max-2/2023) | `<nixos-hardware/gpd/win-max-2/2023>` | `gpd-win-max-2-2023` |
| [GPD WIN Mini 2024](gpd/win-mini/2024) | `<nixos-hardware/gpd/win-mini/2024>` | `gpd-win-mini-2024` |
| [Google Pixelbook](google/pixelbook) | `<nixos-hardware/google/pixelbook>` | `google-pixelbook` |
| [HP Elitebook 2560p](hp/elitebook/2560p) | `<nixos-hardware/hp/elitebook/2560p>` | `hp-elitebook-2560p` |
| [HP Elitebook 830g6](hp/elitebook/830/g6) | `<nixos-hardware/hp/elitebook/830/g6>` | `hp-elitebook-830g6` |
| [HP Elitebook 845g7](hp/elitebook/845/g7) | `<nixos-hardware/hp/elitebook/845/g7>` | `hp-elitebook-845g7` |
| [HP Elitebook 845g8](hp/elitebook/845/g8) | `<nixos-hardware/hp/elitebook/845/g8>` | `hp-elitebook-845g8` |
| [HP Elitebook 845g9](hp/elitebook/845/g9) | `<nixos-hardware/hp/elitebook/845/g9>` | `hp-elitebook-845g9` |
| [HP Laptop 14s-dq2024nf](hp/laptop/14s-dq2024nf) | `<nixos-hardware/hp/laptop/14s-dq2024nf>` | `hp-laptop-14s-dq2024nf` |
| [HP Notebook 14-df0023](hp/notebook/14-df0023) | `<nixos-hardware/hp/notebook/14-df0023>` | `hp-notebook-14-df0023` |
| [HP Probook 440G5](hp/probook/440G5) | `<nixos-hardware/hp/probook/440G5>` | `hp-probook-440G5` |
| [HP Laptop 14s-dq2024nf](hp/laptop/14s-dq2024nf) | `<nixos-hardware/hp/laptop/14s-dq2024nf>` | `hp-laptop-14s-dq2024nf` |
| [HP Probook 460G11](hp/probook/460g11) | `<nixos-hardware/hp/probook/460g11>` | `hp-probook-46011` |
| [Huawei Matebook X Pro (2020)](huawei/machc-wa) | `<nixos-hardware/huawei/machc-wa>` | `huawei-machc-wa` |
| [i.MX8QuadMax Multisensory Enablement Kit](nxp/imx8qm-mek/) | `<nixos-hardware/nxp/imx8qm-mek>` | `nxp-imx8qm-mek` |
| [Intel NUC 5i5RYB](intel/nuc/5i5ryb/) | `<nixos-hardware/intel/nuc/5i5ryb>` | `intel-nuc-5i5ryb` |
| [Intel NUC 8i7BEH](intel/nuc/8i7beh/) | `<nixos-hardware/intel/nuc/8i7beh>` | `intel-nuc-8i7beh` |
| [Kobol Helios4](kobol/helios4) | `<nixos-hardware/kobol/helios4>` | `kobol-helios-4` |
| [Lenovo IdeaCentre K330](lenovo/ideacentre/k330) | `<nixos-hardware/lenovo/ideacentre/k330>` | `lenovo-ideacentre-k330` |
| [Lenovo IdeaPad 3 15alc6](lenovo/ideapad/15alc6) | `<nixos-hardware/lenovo/ideapad/15alc6>` | `lenovo-ideapad-15alc6` |
| [Lenovo IdeaPad Gaming 3 15arh05](lenovo/ideapad/15arh05) | `<nixos-hardware/lenovo/ideapad/15arh05>` | `lenovo-ideapad-15arh05` |
| [Lenovo IdeaPad Gaming 3 15ach6](lenovo/ideapad/15ach6) | `<nixos-hardware/lenovo/ideapad/15ach6>` | `lenovo-ideapad-15ach6` |
| [Lenovo IdeaPad 5 Pro 14imh9](lenovo/ideapad/14imh9) | `<nixos-hardware/lenovo/ideapad/14imh9>` | `lenovo-ideapad-14imh9` |
| [Lenovo IdeaPad 5 Pro 16ach6](lenovo/ideapad/16ach6) | `<nixos-hardware/lenovo/ideapad/16ach6>` | `lenovo-ideapad-16ach6` |
| [Lenovo IdeaPad Z510](lenovo/ideapad/z510) | `<nixos-hardware/lenovo/ideapad/z510>` | `lenovo-ideapad-z510` |
| [Lenovo IdeaPad Slim 5](lenovo/ideapad/slim-5) | `<nixos-hardware/lenovo/ideapad/slim-5>` | `lenovo-ideapad-slim-5` |
| [Lenovo IdeaPad Slim 5 16iah8](lenovo/ideapad/16iah8) | `<nixos-hardware/lenovo/ideapad/16iah8` | `lenovo-ideapad-s5-16iah8` |
| [Lenovo IdeaPad 2-in-1 16ahp9](lenovo/ideapad/16ahp9) | `<nixos-hardware/lenovo/ideapad/16ahp9>` | `lenovo-ideapad-16ahp9` |
| [Lenovo IdeaPad S145 15api](lenovo/ideapad/s145-15api) | `<nixos-hardware/lenovo/ideapad/s145-15api>` | `lenovo-ideapad-s145-15api` |
| [Lenovo Legion 5 15ach6h](lenovo/legion/15ach6h) | `<nixos-hardware/lenovo/legion/15ach6h>` | `lenovo-legion-15ach6h` |
| [Lenovo Legion 5 15ach6h (Hybrid)](lenovo/legion/15ach6h/hybrid) | `<nixos-hardware/lenovo/legion/15ach6h/hybrid>` | `lenovo-legion-15ach6h-hybrid` |
| [Lenovo Legion 5 15ach6h (Nvidia)](lenovo/legion/15ach6h/hybrid) | `<nixos-hardware/lenovo/legion/15ach6h/nvidia>` | `lenovo-legion-15ach6h-nvidia` |
| [Lenovo Legion 5 15arh05h](lenovo/legion/15arh05h) | `<nixos-hardware/lenovo/legion/15arh05h>` | `lenovo-legion-15arh05h` |
| [Lenovo Legion 7 Slim 15ach6](lenovo/legion/15ach6) | `<nixos-hardware/lenovo/legion/15ach6>` | `lenovo-legion-15ach6` |
| [Lenovo Legion 5 Pro 16ach6h](lenovo/legion/16ach6h) | `<nixos-hardware/lenovo/legion/16ach6h>` | `lenovo-legion-16ach6h` |
| [Lenovo Legion 5 Pro 16ach6h (Hybrid)](lenovo/legion/16ach6h/hybrid) | `<nixos-hardware/lenovo/legion/16ach6h/hybrid>` | `lenovo-legion-16ach6h-hybrid` |
| [Lenovo Legion 5 Pro 16ach6h (Nvidia)](lenovo/legion/16ach6h/nvidia) | `<nixos-hardware/lenovo/legion/16ach6h/nvidia>` | `lenovo-legion-16ach6h-nvidia` |
| [Lenovo Legion 5 Pro 16arh7h (IGPU Only)](lenovo/legion/16arh7h/igpu-only) | `<nixos-hardware/lenovo/legion/16arh7h/igpu-only>` | `lenovo-legion-16arh7h-igpu-only` |
| [Lenovo Legion 5 Pro 16arh7h (Hybrid)](lenovo/legion/16arh7h/hybrid) | `<nixos-hardware/lenovo/legion/16arh7h/hybrid>` | `lenovo-legion-16arh7h-hybrid` |
| [Lenovo Legion 5 Pro 16IAH7H (Intel)](lenovo/legion/16iah7h/) | `<nixos-hardware/lenovo/legion/16iah7h>` | `lenovo-legion-16iah7h` |
| [Lenovo Legion 7 16achg6 (Hybrid)](lenovo/legion/16achg6/hybrid) | `<nixos-hardware/lenovo/legion/16achg6/hybrid>` | `lenovo-legion-16achg6-hybrid` |
| [Lenovo Legion 7 16achg6 (Nvidia)](lenovo/legion/16achg6/nvidia) | `<nixos-hardware/lenovo/legion/16achg6/nvidia>` | `lenovo-legion-16achg6-nvidia` |
| [Lenovo Legion 7i Pro 16irx8h (Intel)](lenovo/legion/16irx8h) | `<nixos-hardware/lenovo/legion/16irx8h>` | `lenovo-legion-16irx8h` |
| [Lenovo Legion 7 Pro 16irx9h (Intel)](lenovo/legion/16irx9h) | `<nixos-hardware/lenovo/legion/16irx9h>` | `lenovo-legion-16irx9h` |
| [Lenovo Legion Slim 5](lenovo/legion/16aph8/) | `<nixos-hardware/lenovo/legion/16aph8>` | `lenovo-legion-16aph8` |
| [Lenovo Legion Slim 7 Gen 7 (AMD)](lenovo/legion/16arha7/) | `<nixos-hardware/lenovo/legion/16arha7>` | `lenovo-legion-16arha7` |
| [Lenovo Legion T5 AMR5](lenovo/legion/t526amr5) | `<nixos-hardware/lenovo/legion/t526amr5>` | `lenovo-legion-t526amr5` |
| [Lenovo Legion Y530 15ICH](lenovo/legion/15ich) | `<nixos-hardware/lenovo/legion/15ich>` | `lenovo-legion-y530-15ich` |
| [Lenovo ThinkPad A475](lenovo/thinkpad/a475) | `<nixos-hardware/lenovo/thinkpad/a475>` | `lenovo-thinkpad-a475` |
| [Lenovo ThinkPad E14 (AMD)](lenovo/thinkpad/e14/amd) | `<nixos-hardware/lenovo/thinkpad/e14/amd>` | `lenovo-thinkpad-e14-amd` |
| [Lenovo ThinkPad E14 (Intel - Gen 1)](lenovo/thinkpad/e14/intel) | `<nixos-hardware/lenovo/thinkpad/e14/intel>` | `lenovo-thinkpad-e14-intel` |
| [Lenovo ThinkPad E14 (Intel - Gen 4)](lenovo/thinkpad/e14/intel/gen4) | `<nixos-hardware/lenovo/thinkpad/e14/intel/gen4>` | `lenovo-thinkpad-e14-intel-gen4` |
| [Lenovo ThinkPad E14 (Intel - Gen 6)](lenovo/thinkpad/e14/intel/gen6) | `<nixos-hardware/lenovo/thinkpad/e14/intel/gen6>` | `lenovo-thinkpad-e14-intel-gen6` |
| [Lenovo ThinkPad E15 (Intel)](lenovo/thinkpad/e15/intel) | `<nixos-hardware/lenovo/thinkpad/e15/intel>` | `lenovo-thinkpad-e15-intel` |
| [Lenovo ThinkPad E470](lenovo/thinkpad/e470) | `<nixos-hardware/lenovo/thinkpad/e470>` | `lenovo-thinkpad-e470` |
| [Lenovo ThinkPad E495](lenovo/thinkpad/e495) | `<nixos-hardware/lenovo/thinkpad/e495>` | `lenovo-thinkpad-e495` |
| [Lenovo ThinkPad L13 Yoga](lenovo/thinkpad/l13/yoga) | `<nixos-hardware/lenovo/thinkpad/l13/yoga>` | `lenovo-thinkpad-l13-yoga` |
| [Lenovo ThinkPad L13](lenovo/thinkpad/l13) | `<nixos-hardware/lenovo/thinkpad/l13>` | `lenovo-thinkpad-l13` |
| [Lenovo ThinkPad L14 (AMD)](lenovo/thinkpad/l14/amd) | `<nixos-hardware/lenovo/thinkpad/l14/amd>` | `lenovo-thinkpad-l14-amd` |
| [Lenovo ThinkPad L14 (Intel)](lenovo/thinkpad/l14/intel) | `<nixos-hardware/lenovo/thinkpad/l14/intel>` | `lenovo-thinkpad-l14-intel` |
| [Lenovo ThinkPad L480](lenovo/thinkpad/l480) | `<nixos-hardware/lenovo/thinkpad/l480>` | `lenovo-thinkpad-l480` |
| [Lenovo ThinkPad P1 Gen 3](lenovo/thinkpad/p1/3th-gen) | `<nixos-hardware/lenovo/thinkpad/p1/3th-gen>` | `lenovo-thinkpad-p1-gen3` |
| [Lenovo ThinkPad P14s AMD Gen 1](lenovo/thinkpad/p14s/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen1>` | `lenovo-thinkpad-p14s-amd-gen1` |
| [Lenovo ThinkPad P14s AMD Gen 2](lenovo/thinkpad/p14s/amd/gen2) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen2>` | `lenovo-thinkpad-p14s-amd-gen2` |
| [Lenovo ThinkPad P14s AMD Gen 3](lenovo/thinkpad/p14s/amd/gen3) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen3>` | `lenovo-thinkpad-p14s-amd-gen3` |
| [Lenovo ThinkPad P14s AMD Gen 4](lenovo/thinkpad/p14s/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen4>` | `lenovo-thinkpad-p14s-amd-gen4` |
| [Lenovo ThinkPad P14s AMD Gen 5](lenovo/thinkpad/p14s/amd/gen5) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen5>` | `lenovo-thinkpad-p14s-amd-gen5` |
| [Lenovo ThinkPad P14s Intel Gen 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 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 P1](lenovo/thinkpad/p1) | `<nixos-hardware/lenovo/thinkpad/p1>` | `lenovo-thinkpad-p1` |
| [Lenovo ThinkPad P43s](lenovo/thinkpad/p43s) | `<nixos-hardware/lenovo/thinkpad/p43s>` | `lenovo-thinkpad-p43s` |
| [Lenovo ThinkPad P50](lenovo/thinkpad/p50) | `<nixos-hardware/lenovo/thinkpad/p50>` | `lenovo-thinkpad-p50` |
| [Lenovo ThinkPad P51](lenovo/thinkpad/p51) | `<nixos-hardware/lenovo/thinkpad/p51>` | `lenovo-thinkpad-p51` |
| [Lenovo ThinkPad P52](lenovo/thinkpad/p52) | `<nixos-hardware/lenovo/thinkpad/p52>` | `lenovo-thinkpad-p52` |
| [Lenovo ThinkPad P53](lenovo/thinkpad/p53) | `<nixos-hardware/lenovo/thinkpad/p53>` | `lenovo-thinkpad-p53` |
| [Lenovo ThinkPad T14 AMD Gen 1](lenovo/thinkpad/t14/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen1>` | `lenovo-thinkpad-t14-amd-gen1` |
| [Lenovo ThinkPad T14 AMD Gen 2](lenovo/thinkpad/t14/amd/gen2) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen2>` | `lenovo-thinkpad-t14-amd-gen2` |
| [Lenovo ThinkPad T14 AMD Gen 3](lenovo/thinkpad/t14/amd/gen3) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen3>` | `lenovo-thinkpad-t14-amd-gen3` |
| [Lenovo ThinkPad T14 AMD Gen 4](lenovo/thinkpad/t14/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen4>` | `lenovo-thinkpad-t14-amd-gen4` |
| [Lenovo ThinkPad T14 AMD Gen 5](lenovo/thinkpad/t14/amd/gen5) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen5>` | `lenovo-thinkpad-t14-amd-gen5` |
| [Lenovo ThinkPad T14](lenovo/thinkpad/t14) | `<nixos-hardware/lenovo/thinkpad/t14>` | `lenovo-thinkpad-t14` |
| [Lenovo ThinkPad T14 Intel Gen 1](lenovo/thinkpad/t14/intel/gen1) | `<nixos-hardware/lenovo/thinkpad/t14/intel/gen1>` | `lenovo-thinkpad-t14-intel-gen1` |
| [Lenovo ThinkPad T14 Intel Gen 1 (Nvidia)](lenovo/thinkpad/t14/intel/gen1/nvidia) | `<nixos-hardware/lenovo/thinkpad/t14/intel/gen1/nvidia>`| `lenovo-thinkpad-t14-intel-gen1-nvidia`|
| [Lenovo ThinkPad T14 Intel Gen 6](lenovo/thinkpad/t14/intel/gen6) | `<nixos-hardware/lenovo/thinkpad/t14/intel/gen6>` | `lenovo-thinkpad-t14-intel-gen6` |
| [Lenovo ThinkPad T14s AMD Gen 1](lenovo/thinkpad/t14s/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/t14s/amd/gen1>` | `lenovo-thinkpad-t14s-amd-gen1` |
| [Lenovo ThinkPad T14s AMD Gen 4](lenovo/thinkpad/t14s/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/t14s/amd/gen4>` | `lenovo-thinkpad-t14s-amd-gen4` |
| [Lenovo ThinkPad T14s](lenovo/thinkpad/t14s) | `<nixos-hardware/lenovo/thinkpad/t14s>` | `lenovo-thinkpad-t14s` |
| [Lenovo ThinkPad T410](lenovo/thinkpad/t410) | `<nixos-hardware/lenovo/thinkpad/t410>` | `lenovo-thinkpad-t410` |
| [Lenovo ThinkPad T420](lenovo/thinkpad/t420) | `<nixos-hardware/lenovo/thinkpad/t420>` | `lenovo-thinkpad-t420` |
| [Lenovo ThinkPad T430](lenovo/thinkpad/t430) | `<nixos-hardware/lenovo/thinkpad/t430>` | `lenovo-thinkpad-t430` |
| [Lenovo ThinkPad T440p](lenovo/thinkpad/t440p) | `<nixos-hardware/lenovo/thinkpad/t440p>` | `lenovo-thinkpad-t440p` |
| [Lenovo ThinkPad T440s](lenovo/thinkpad/t440s) | `<nixos-hardware/lenovo/thinkpad/t440s>` | `lenovo-thinkpad-t440s` |
| [Lenovo ThinkPad T450s](lenovo/thinkpad/t450s) | `<nixos-hardware/lenovo/thinkpad/t450s>` | `lenovo-thinkpad-t450s` |
| [Lenovo ThinkPad T460](lenovo/thinkpad/t460) | `<nixos-hardware/lenovo/thinkpad/t460>` | `lenovo-thinkpad-t460` |
| [Lenovo ThinkPad T460p](lenovo/thinkpad/t460p) | `<nixos-hardware/lenovo/thinkpad/t460p>` | `lenovo-thinkpad-t460p` |
| [Lenovo ThinkPad T460s](lenovo/thinkpad/t460s) | `<nixos-hardware/lenovo/thinkpad/t460s>` | `lenovo-thinkpad-t460s` |
| [Lenovo ThinkPad T470s](lenovo/thinkpad/t470s) | `<nixos-hardware/lenovo/thinkpad/t470s>` | `lenovo-thinkpad-t470s` |
| [Lenovo ThinkPad T480](lenovo/thinkpad/t480) | `<nixos-hardware/lenovo/thinkpad/t480>` | `lenovo-thinkpad-t480` |
| [Lenovo ThinkPad T480s](lenovo/thinkpad/t480s) | `<nixos-hardware/lenovo/thinkpad/t480s>` | `lenovo-thinkpad-t480s` |
| [Lenovo ThinkPad T490](lenovo/thinkpad/t490) | `<nixos-hardware/lenovo/thinkpad/t490>` | `lenovo-thinkpad-t490` |
| [Lenovo ThinkPad T490s](lenovo/thinkpad/t490s) | `<nixos-hardware/lenovo/thinkpad/t490s>` | `lenovo-thinkpad-t490s` |
| [Lenovo ThinkPad T495](lenovo/thinkpad/t495) | `<nixos-hardware/lenovo/thinkpad/t495>` | `lenovo-thinkpad-t495` |
| [Lenovo ThinkPad T520](lenovo/thinkpad/t520) | `<nixos-hardware/lenovo/thinkpad/t520>` | `lenovo-thinkpad-t520` |
| [Lenovo ThinkPad T550](lenovo/thinkpad/t550) | `<nixos-hardware/lenovo/thinkpad/t550>` | `lenovo-thinkpad-t550` |
| [Lenovo ThinkPad T590](lenovo/thinkpad/t590) | `<nixos-hardware/lenovo/thinkpad/t590>` | `lenovo-thinkpad-t590` |
| [Lenovo ThinkPad W520](lenovo/thinkpad/w520) | `<nixos-hardware/lenovo/thinkpad/w520>` | `lenovo-thinkpad-w520` |
| [Lenovo ThinkPad X1 Yoga](lenovo/thinkpad/x1/yoga) | `<nixos-hardware/lenovo/thinkpad/x1/yoga>` | `lenovo-thinkpad-x1-yoga` |
| [Lenovo ThinkPad X1 Yoga Gen 7](lenovo/thinkpad/x1/yoga/7th-gen/) | `<nixos-hardware/lenovo/thinkpad/x1/yoga/7th-gen>` | `lenovo-thinkpad-x1-yoga-7th-gen` |
| [Lenovo ThinkPad X1 Yoga Gen 8](lenovo/thinkpad/x1/yoga/8th-gen/) | `<nixos-hardware/lenovo/thinkpad/x1/yoga/8th-gen>` | `lenovo-thinkpad-x1-yoga-8th-gen` |
| [Lenovo ThinkPad X1 (2nd Gen)](lenovo/thinkpad/x1/2nd-gen) | `<nixos-hardware/lenovo/thinkpad/x1/2nd-gen>` | `lenovo-thinkpad-x1-2nd-gen` |
| [Lenovo ThinkPad X1 (6th Gen)](lenovo/thinkpad/x1/6th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/6th-gen>` | `lenovo-thinkpad-x1-6th-gen` |
| [Lenovo ThinkPad X1 (7th Gen)](lenovo/thinkpad/x1/7th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/7th-gen>` | `lenovo-thinkpad-x1-7th-gen` |
| [Lenovo ThinkPad X1 (9th Gen)](lenovo/thinkpad/x1/9th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/9th-gen>` | `lenovo-thinkpad-x1-9th-gen` |
| [Lenovo ThinkPad X1 (10th Gen)](lenovo/thinkpad/x1/10th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/10th-gen>` | `lenovo-thinkpad-x1-10th-gen` |
| [Lenovo ThinkPad X1 (11th Gen)](lenovo/thinkpad/x1/11th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/11th-gen>` | `lenovo-thinkpad-x1-11th-gen` |
| [Lenovo ThinkPad X1 (12th Gen)](lenovo/thinkpad/x1/12th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/12th-gen>` | `lenovo-thinkpad-x1-12th-gen` |
| [Lenovo ThinkPad X1 (13th Gen)](lenovo/thinkpad/x1/13th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/13th-gen>` | `lenovo-thinkpad-x1-13th-gen` |
| [Lenovo ThinkPad X1 Extreme Gen 2](lenovo/thinkpad/x1-extreme/gen2) | `<nixos-hardware/lenovo/thinkpad/x1-extreme/gen2>` | `lenovo-thinkpad-x1-extreme-gen2` |
| [Lenovo ThinkPad X1 Extreme Gen 3](lenovo/thinkpad/x1-extreme/gen3) | `<nixos-hardware/lenovo/thinkpad/x1-extreme/gen3>` | `lenovo-thinkpad-x1-extreme-gen3` |
| [Lenovo ThinkPad X1 Extreme Gen 4](lenovo/thinkpad/x1-extreme/gen4) | `<nixos-hardware/lenovo/thinkpad/x1-extreme/gen4>` | `lenovo-thinkpad-x1-extreme-gen4` |
| [Lenovo ThinkPad X1 Nano Gen 1](lenovo/thinkpad/x1-nano/gen1) | `<nixos-hardware/lenovo/thinkpad/x1-nano/gen1>` | `lenovo-thinkpad-x1-nano-gen1` |
| [Lenovo ThinkPad X13s](lenovo/thinkpad/x13s) | `<nixos-hardware/lenovo/thinkpad/x13s>` | `lenovo-thinkpad-x13s` |
| [Lenovo ThinkPad X13 Yoga](lenovo/thinkpad/x13/yoga) | `<nixos-hardware/lenovo/thinkpad/x13/yoga>` | `lenovo-thinkpad-x13-yoga` |
| [Lenovo ThinkPad X13 Yoga (3th Gen)](lenovo/thinkpad/x13/yoga/3th-gen) | `<nixos-hardware/lenovo/thinkpad/x13/yoga/3th-gen>` | `lenovo-thinkpad-x13-yoga-3th-gen` |
| [Lenovo ThinkPad X13 (Intel)](lenovo/thinkpad/x13/intel) | `<nixos-hardware/lenovo/thinkpad/x13/intel>` | `lenovo-thinkpad-x13-intel` |
| [Lenovo ThinkPad X13 (AMD)](lenovo/thinkpad/x13/amd) | `<nixos-hardware/lenovo/thinkpad/x13/amd>` | `lenovo-thinkpad-x13-amd` |
| [Lenovo ThinkPad X140e](lenovo/thinkpad/x140e) | `<nixos-hardware/lenovo/thinkpad/x140e>` | `lenovo-thinkpad-x140e` |
| [Lenovo ThinkPad X200s](lenovo/thinkpad/x200s) | `<nixos-hardware/lenovo/thinkpad/x200s>` | `lenovo-thinkpad-x200s` |
| [Lenovo ThinkPad X220](lenovo/thinkpad/x220) | `<nixos-hardware/lenovo/thinkpad/x220>` | `lenovo-thinkpad-x220` |
| [Lenovo ThinkPad X230](lenovo/thinkpad/x230) | `<nixos-hardware/lenovo/thinkpad/x230>` | `lenovo-thinkpad-x230` |
| [Lenovo ThinkPad X250](lenovo/thinkpad/x250) | `<nixos-hardware/lenovo/thinkpad/x250>` | `lenovo-thinkpad-x250` |
| [Lenovo ThinkPad X260](lenovo/thinkpad/x260) | `<nixos-hardware/lenovo/thinkpad/x260>` | `lenovo-thinkpad-x260` |
| [Lenovo ThinkPad X270](lenovo/thinkpad/x270) | `<nixos-hardware/lenovo/thinkpad/x270>` | `lenovo-thinkpad-x270` |
| [Lenovo ThinkPad X280](lenovo/thinkpad/x280) | `<nixos-hardware/lenovo/thinkpad/x280>` | `lenovo-thinkpad-x280` |
| [Lenovo ThinkPad X390](lenovo/thinkpad/x390) | `<nixos-hardware/lenovo/thinkpad/x390>` | `lenovo-thinkpad-x390` |
| [Lenovo ThinkPad Z Series](lenovo/thinkpad/z) | `<nixos-hardware/lenovo/thinkpad/z>` | `lenovo-thinkpad-z` |
| [Lenovo ThinkPad Z13 Gen 1](lenovo/thinkpad/z/gen1/z13) | `<nixos-hardware/lenovo/thinkpad/z/gen1/z13>` | `lenovo-thinkpad-z13-gen1` |
| [Lenovo ThinkPad Z13 Gen 2](lenovo/thinkpad/z/gen2/z13) | `<nixos-hardware/lenovo/thinkpad/z/gen2/z13>` | `lenovo-thinkpad-z13-gen2` |
| [Lenovo XiaoXin Pro 14imh9 2024](lenovo/ideapad/14imh9) | `<nixos-hardware/lenovo/ideapad/14imh9>` | `lenovo-ideapad-14imh9` |
| [LENOVO Yoga 6 13ALC6 82ND](lenovo/yoga/6/13ALC6) | `<nixos-hardware/lenovo/yoga/6/13ALC6>` | `lenovo-yoga-6-13ALC6` |
| [LENOVO Yoga Slim 7 Pro-X 14ARH7 82ND](lenovo/yoga/7/14ARH7/amdgpu) | `<nixos-hardware/lenovo/yoga/7/14ARH7/amdgpu>` | `lenovo-yoga-7-14ARH7-amdgpu` |
| [LENOVO Yoga Slim 7 Pro-X 14ARH7 82ND](lenovo/yoga/7/14ARH7/nvidia) | `<nixos-hardware/lenovo/yoga/7/14ARH7/nvidia>` | `lenovo-yoga-7-14ARH7-nvidia` |
| [Lenovo Yoga Slim 7i Pro X 14IAH7 (Integrated)](lenovo/yoga/7/14IAH7/integrated) | `<nixos-hardware/lenovo/yoga/7/14IAH7/integrated>` | `lenovo-yoga-7-14IAH7-integrated` |
| [Lenovo Yoga Slim 7i Pro X 14IAH7 (Hybrid)](lenovo/yoga/7/14IAH7/hybrid) | `<nixos-hardware/lenovo/yoga/7/14IAH7/hybrid>` | `lenovo-yoga-7-14IAH7-hybrid` |
| [Lenovo Yoga Slim 7 14ILL10](lenovo/yoga/7/14ILL10) | `<nixos-hardware/lenovo/yoga/7/14ILL10>` | `lenovo-yoga-7-14ILL10` |
| [LENOVO Yoga 7 Slim Gen8](lenovo/yoga/7/slim/gen8) | `<nixos-hardware/lenovo/yoga/7/slim/gen8>` | `lenovo-yoga-7-slim-gen8` |
| [Linglong Nova Studio](linglong/nova-studio) | `<nixos-hardware/linglong/nova-studio>` | `linglong-nova-studio` |
| [MSI B550-A PRO](msi/b550-a-pro) | `<nixos-hardware/msi/b550-a-pro>` | `msi-b550-a-pro` |
| [MSI B350 TOMAHAWK](msi/b350-tomahawk) | `<nixos-hardware/msi/b350-tomahawk>` | `msi-b350-tomahawk` |
| [MSI B550 TOMAHAWK](msi/b550-tomahawk) | `<nixos-hardware/msi/b550-tomahawk>` | `msi-b550-tomahawk` |
| [MSI 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` |
| [Malibal Aon S1](malibal/aon/s1) | | `<nixos-hardware/malibal/aon/s1>` | `malibal-aon-s1` |
| [Microchip Icicle Kit](microchip/icicle-kit) | `<nixos-hardware/microchip/icicle-kit>` | `microchip-icicle-kit` |
| [Microsoft Surface Go](microsoft/surface/surface-go) | `<nixos-hardware/microsoft/surface/surface-go>` | `microsoft-surface-go` |
| [Microsoft Surface Pro (Intel)](microsoft/surface/surface-pro-intel) | `<nixos-hardware/microsoft/surface/surface-pro-intel>` | `microsoft-surface-pro-intel` |
| [Microsoft Surface Laptop (AMD)](microsoft/surface/surface-laptop-amd) | `<nixos-hardware/microsoft/surface/surface-laptop-amd>` | `microsoft-surface-laptop-amd` |
| [Microsoft Surface Range (Common Modules)](microsoft/surface/common) | `<nixos-hardware/microsoft/surface/common>` | `microsoft-surface-common` |
| [Microsoft Surface Pro 3](microsoft/surface-pro/3) | `<nixos-hardware/microsoft/surface-pro/3>` | `microsoft-surface-pro-3` |
| [Microsoft Surface Pro 9](microsoft/surface-pro/9) | `<nixos-hardware/microsoft/surface-pro/9>` | `microsoft-surface-pro-9` |
| [Milk-V Pioneer](milkv/pioneer) | `<nixos-hardware/milkv/pioneer>` | `milkv-pioneer` |
| [Morefine M600](morefine/m600) | `<nixos-hardware/morefine/m600>` | `morefine-m600` |
| [Minisforum V3](minisforum/v3) | `<nixos-hardware/minisforum/v3>` | `minisforum-v3` |
| [MNT Reform with RK3588 module](mnt/reform/rk3588) | `<nixos-hardware/mnt/reform/rk3588` | `mnt-reform-rk3588` |
| [MECHREVO Yilong15Pro](mechrevo/GM5HG0A) | `<nixos-hardware/mechrevo/GM5HG0A>` | `mechrevo-gm5hg0a` |
| [NXP iMX8 MPlus Evaluation Kit](nxp/imx8mp-evk) | `<nixos-hardware/nxp/imx8mp-evk>` | `nxp-imx8mp-evk` |
| [NXP iMX8 MQuad Evaluation Kit](nxp/imx8mq-evk) | `<nixos-hardware/nxp/imx8mq-evk>` | `nxp-imx8mq-evk` |
| [Hardkernel Odroid HC4](hardkernel/odroid-hc4/default.nix) | `<nixos-hardware/hardkernel/odroid-hc4>` | `hardkernel-odroid-hc4` |
| [Hardkernel Odroid H3](hardkernel/odroid-h3/default.nix) | `<nixos-hardware/hardkernel/odroid-h3>` | `hardkernel-odroid-h3` |
| [Hardkernel Odroid H4](hardkernel/odroid-h4/default.nix) | `<nixos-hardware/hardkernel/odroid-h4>` | `hardkernel-odroid-h4` |
| [Olimex TERES-I](olimex/teres_i) | `<nixos-hardware/olimex/teres_i>` | `olimex-teres_i` |
| [Omen 14-fb0798ng](omen/14-fb0798ng) | `<nixos-hardware/omen/14-fb0798ng>` | `omen-14-fb0798ng` |
| [Omen 15-ce002ns](omen/15-ce002ns) | `<nixos-hardware/omen/15-ce002ns>` | `omen-15-ce002ns` |
| [Omen 15-en0010ca](omen/15-en0010ca) | `<nixos-hardware/omen/15-en0010ca>` | `omen-15-en0010ca` |
| [Omen 16-n0005ne](omen/16-n0005ne) | `<nixos-hardware/omen/16-n0005ne>` | `omen-16-n0005ne` |
| [Omen 16-n0280nd](/omen/16-n0280nd) | `<nixos-hardware/omen/16-n0280nd>` | `omen-16-n0280nd` |
| [Omen 15-en1007sa](omen/15-en1007sa) | `<nixos-hardware/omen/15-en1007sa>` | `omen-15-en1007sa` |
| [Omen 15-en0002np](omen/15-en0002np) | `<nixos-hardware/omen/15-en0002np>` | `omen-15-en0002np` |
| [One-Netbook OneNetbook 4](onenetbook/4) | `<nixos-hardware/onenetbook/4>` | `onenetbook-4` |
| [Panasonic Let's Note CF-LX3](panasonic/letsnote/cf-lx3) | `<nixos-hardware/panasonic/letsnote/cf-lx3>` | `panasonic-letsnote-cf-lx3` |
| [Panasonic Let's Note CF-LX4](panasonic/letsnote/cf-lx4) | `<nixos-hardware/panasonic/letsnote/cf-lx4>` | `letsnote-cf-lx4` |
| [PC Engines APU](pcengines/apu) | `<nixos-hardware/pcengines/apu>` | `pcengines-apu` |
| [PINE64 Pinebook Pro](pine64/pinebook-pro/) | `<nixos-hardware/pine64/pinebook-pro>` | `pine64-pinebook-pro` |
| [PINE64 RockPro64](pine64/rockpro64/) | `<nixos-hardware/pine64/rockpro64>` | `pine64-rockpro64` |
| [PINE64 STAR64](pine64/star64/) | `<nixos-hardware/pine64/star64>` | `pine64-star64` |
| [Protectli VP4670](protectli/vp4670/) | `<nixos-hardware/protectli/vp4670>` | `protectli-vp4670` |
| [Purism Librem 13v3](purism/librem/13v3) | `<nixos-hardware/purism/librem/13v3>` | `purism-librem-13v3` |
| [Purism Librem 15v3](purism/librem/15v3) | `<nixos-hardware/purism/librem/15v3>` | `purism-librem-15v3` |
| [Purism Librem 5r4](purism/librem/5r4) | `<nixos-hardware/purism/librem/5r4>` | `purism-librem-5r4` |
| [Radxa ROCK 4C+](radxa/rock-4c-plus) | `<nixos-hardware/radxa/rock-4c-plus>` | `rock-4c-plus` |
| [Radxa ROCK 5 Model B](radxa/rock-5b) | `<nixos-hardware/radxa/rock-5b>` | `rock-5b` |
| [Radxa ROCK Pi 4](radxa/rock-pi-4) | `<nixos-hardware/radxa/rock-pi-4>` | `rock-pi-4` |
| [Radxa ROCK Pi E](radxa/rock-pi-e) | `<nixos-hardware/radxa/rock-pi-e>` | `rock-pi-e` |
| [Raspberry Pi 2](raspberry-pi/2) | `<nixos-hardware/raspberry-pi/2>` | `raspberry-pi-2` |
| [Raspberry Pi 3](raspberry-pi/3) | `<nixos-hardware/raspberry-pi/3>` | `raspberry-pi-3` |
| [Raspberry Pi 4](raspberry-pi/4) | `<nixos-hardware/raspberry-pi/4>` | `raspberry-pi-4` |
| [Raspberry Pi 5](raspberry-pi/5) | `<nixos-hardware/raspberry-pi/5>` | `raspberry-pi-5` |
| [Samsung Series 9 NP900X3C](samsung/np900x3c) | `<nixos-hardware/samsung/np900x3c>` | `samsung-np900x3c` |
| [Slimbook Hero RPL-RTX](slimbook/hero/rpl-rtx) | `<nixos-hardware/slimbook/hero/rpl-rtx>` | `slimbook-hero-rpl-rtx` |
| [StarFive VisionFive v1](starfive/visionfive/v1) | `<nixos-hardware/starfive/visionfive/v1>` | `starfive-visionfive-v1` |
| [StarFive VisionFive 2](starfive/visionfive/v2) | `<nixos-hardware/starfive/visionfive/v2>` | `starfive-visionfive-2` |
| [StarLabs StarLite 5 (I5)](starlabs/starlite/i5) | `<nixos-hardware/starlabs/starlite/i5>` | `starlabs-starlite-i5` |
| [Supermicro A1SRi-2758F](supermicro/a1sri-2758f) | `<nixos-hardware/supermicro/a1sri-2758f>` | `supermicro-a1sri-2758f` |
| [Supermicro M11SDV-8C-LN4F](supermicro/m11sdv-8c-ln4f) | `<nixos-hardware/supermicro/m11sdv-8c-ln4f>` | `supermicro-m11sdv-8c-ln4f` |
| [Supermicro X10SLL-F](supermicro/x10sll-f) | `<nixos-hardware/supermicro/x10sll-f>` | `supermicro-x10sll-f` |
| [Supermicro X12SCZ-TLN4F](supermicro/x12scz-tln4f) | `<nixos-hardware/supermicro/x12scz-tln4f>` | `supermicro-x12scz-tln4f` |
| [System76 (generic)](system76) | `<nixos-hardware/system76>` | `system76` |
| [System76 Darter Pro 6](system76/darp6) | `<nixos-hardware/system76/darp6>` | `system76-darp6` |
| [System76 Gazelle 18](system76/gaze18) | `<nixos-hardware/system76/gaze18>` | `system76-gaze18` |
| [System76 Galago Pro 5](system76/galp5-1650) | `<nixos-hardware/system76/galp5-1650>` | `system76-galp5-1650` |
| [System76 Thelio Mega](system76/thelio-mega) | `<nixos-hardware/system76/thelio-mega>` | `system76-thelio-mega` |
| [Toshiba Chromebook 2 `swanky`](toshiba/swanky) | `<nixos-hardware/toshiba/swanky>` | `toshiba-swanky` |
| [Tuxedo InfinityBook v4](tuxedo/infinitybook/v4) | `<nixos-hardware/tuxedo/infinitybook/v4>` | `tuxedo-infinitybook-v4` |
| [TUXEDO Aura 15 - Gen1](tuxedo/aura/15/gen1) | `<nixos-hardware/tuxedo/aura/15/gen1>` | `tuxedo-aura-15-gen1` |
| [TUXEDO InfinityBook Pro 14 - Gen7](tuxedo/infinitybook/pro14/gen7) | `<nixos-hardware/tuxedo/infinitybook/pro14/gen7>` | `tuxedo-infinitybook-pro14-gen7` |
| [TUXEDO InfinityBook Pro 14 - Gen9 - AMD](tuxedo/infinitybook/pro14/gen9/amd) | `<nixos-hardware/tuxedo/infinitybook/pro14/gen9/amd>` | `tuxedo-infinitybook-pro14-gen9-amd` |
| [TUXEDO InfinityBook Pro 14 - Gen9 - INTEL](tuxedo/infinitybook/pro14/gen9/intel) | `<nixos-hardware/tuxedo/infinitybook/pro14/gen9/intel>` | `tuxedo-infinitybook-pro14-gen9-intel` |
| [TUXEDO Pulse 14 - Gen3](tuxedo/pulse/14/gen3) | `<nixos-hardware/tuxedo/pulse/14/gen3>` | `tuxedo-pulse-14-gen3` |
| [TUXEDO Pulse 15 - Gen2](tuxedo/pulse/15/gen2) | `<nixos-hardware/tuxedo/pulse/15/gen2>` | `tuxedo-pulse-15-gen2` |
| [Xiaomi Redmibook 15 Pro 2021](xiaomi/redmibook/15-pro-2021) | `<nixos-hardware/xiaomi/redmibook/15-pro-2021>` | `xiaomi-redmibook-15-pro-2021` |
| [Xiaomi Redmibook 16 Pro 2024](xiaomi/redmibook/16-pro-2024) | `<nixos-hardware/xiaomi/redmibook/16-pro-2024>` | `xiaomi-redmibook-16-pro-2024` |

View file

@ -19,9 +19,6 @@
]; ];
}; };
# TODO: reverse compat
hardware.opengl.driSupport = false;
# TODO: reverse compat # TODO: reverse compat
services.xserver = { services.xserver = {
defaultDepth = lib.mkDefault 24; defaultDepth = lib.mkDefault 24;

View file

@ -1,4 +1,4 @@
{ lib, pkgs, ... }: { pkgs, ... }:
{ {
imports = [ ../../common/pc/laptop ]; imports = [ ../../common/pc/laptop ];
@ -9,10 +9,10 @@
kernelParams = [ kernelParams = [
"apm=on" "apm=on"
"acpi=on" "acpi=on"
"vga=0x317" # 1024x768 "vga=0x317" # 1024x768
"console=tty1" "console=tty1"
"video=vesafb:ywrap" # Faster scroll "video=vesafb:ywrap" # Faster scroll
]; ];
}; };
hardware.firmware = with pkgs; [ intel2200BGFirmware ]; hardware.firmware = with pkgs; [ intel2200BGFirmware ];

View file

@ -0,0 +1,12 @@
{
imports = [
../../../common/cpu/intel/alder-lake
];
# lopter@(2025-02-06): according to sensors-detect this comes with an ITE
# IT8613E super io chip, which is not officialy supported yet. See also:
#
# - unofficial driver: https://github.com/frankcrawford/it87
# - reddit thread on with useful information to configure pwm from the bios:
# https://www.reddit.com/r/MiniPCs/comments/1bnkg1u/aoostar_r1r7_question_does_the_fan_header_support/
}

View file

@ -1,12 +1,7 @@
{ config, lib, ... }: { config, lib, ... }:
{ {
boot.kernelParams = [ hardware.facetimehd.enable = lib.mkDefault (config.nixpkgs.config.allowUnfree or false);
"hid_apple.iso_layout=0"
];
hardware.facetimehd.enable = lib.mkDefault
(config.nixpkgs.config.allowUnfree or false);
services.mbpfan.enable = lib.mkDefault true; services.mbpfan.enable = lib.mkDefault true;
} }

61
apple/imac/14-2/README.md Normal file
View file

@ -0,0 +1,61 @@
# iMac 14,2, NixOS (nixos-unstable, September 2024)
## Audio
- [x] ok
## Bluetooth
- [x] ok
## Thunderbolt
- [x] ok
## SATA
- [x] ok
## NVME
- [x] ok
## Suspend/Resumer
- [x] ok
## Wifi
- [x] ok
## Graphics
- [x] Latest unsupported Nvidia drivers available are 390.157, working with Kernel 6.10.6.
## LSPCI
```
lspci
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d5)
00:1f.0 ISA bridge: Intel Corporation Z87 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GK104M [GeForce GTX 775M Mac Edition] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4360 802.11ac Dual Band Wireless Network Adapter (rev 03)
04:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM57766 Gigabit Ethernet PCIe (rev 01)
04:00.1 SD Host controller: Broadcom Inc. and subsidiaries BCM57765/57785 SDXC/MMC Card Reader (rev 01)
05:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:03.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:04.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:05.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:06.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
07:00.0 System peripheral: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
```
## Links
- https://support.apple.com/en-us/111970
- https://everymac.com/ultimate-mac-lookup/?search_keywords=iMac14,2

View file

@ -0,0 +1,37 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [
../.
../../../common/cpu/intel
../../../common/gpu/nvidia
../../../common/gpu/nvidia/kepler
../../../common/hidpi.nix
];
boot = {
initrd.kernelModules = [
"applesmc"
"applespi"
"intel_lpss_pci"
"spi_pxa2xx_platform"
"kvm-intel"
];
blacklistedKernelModules = [
"b43"
"ssb"
"brcmfmac"
"brcmsmac"
"bcma"
];
kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.0") pkgs.linuxPackages_latest;
};
hardware = {
bluetooth.enable = lib.mkDefault true;
};
}

26
apple/imac/18-2/README.md Normal file
View file

@ -0,0 +1,26 @@
# iMac 18,2, NixOS 24.05 (2024)
## Audio
- [ ] broken until https://github.com/NixOS/nixpkgs/pull/322968 lands in master
## Bluetooth
- [ ] broken until https://github.com/NixOS/nixpkgs/pull/322964 lands in master
## Thunderbolt
- [x] ok
## SATA
- [x] ok
## NVME
- [x] ok, older NVME / Controller may need workaround for resume
## Suspend/Resumer
- [ ] Thunderbolt, WIFI, NVME may still need reboot (sometimes).
## Wifi
- [x] Working (2,4Ghz & 5Ghz supported), WEP3 broken -> brcm fw blob (2015)
## Resources (Intel iMac/MacBook share similar custom hardware)
- https://github.com/Dunedan/mbp-2016-linux?tab=readme-ov-file
- https://gist.github.com/roadrunner2/1289542a748d9a104e7baec6a92f9cd7

View file

@ -0,0 +1,34 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [
../.
../../../common/cpu/intel/kaby-lake
../../../common/gpu/amd
../../../common/hidpi.nix
../../../common/pc/ssd
];
# apple smc (TODO: check spi)
boot = {
initrd.kernelModules = [
"applespi"
"spi_pxa2xx_platform"
"intel_lpss_pci"
"applesmc"
];
kernelParams = [ "intel_iommu=on" ];
kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.0") pkgs.linuxPackages_latest;
};
# Wifi, CPU Microcode FW updates
networking.enableB43Firmware = lib.mkDefault true;
hardware = {
enableRedistributableFirmware = lib.mkDefault true;
cpu.intel.updateMicrocode = lib.mkDefault true;
};
}

8
apple/imac/default.nix Normal file
View file

@ -0,0 +1,8 @@
{
imports = [
../.
../../common/cpu/intel
../../common/pc/laptop
../../common/pc/ssd
];
}

View file

@ -1,15 +1,13 @@
{ config, lib, ... }: { config, lib, ... }:
{ {
imports = [ imports = [
../../. ../../.
../../../common/cpu/intel
../../../common/pc/laptop ../../../common/pc/laptop
../../../common/pc/ssd ../../../common/pc/ssd
]; ];
# Built-in iSight is recognized by the generic uvcvideo kernel module # Built-in iSight is recognized by the generic uvcvideo kernel module
hardware.facetimehd.enable = false; hardware.facetimehd.enable = false;
hardware.cpu.intel.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
} }

View file

@ -0,0 +1,9 @@
{
...
}:
{
imports = [
../.
];
}

View file

@ -3,16 +3,14 @@
{ {
imports = [ ../. ]; imports = [ ../. ];
boot = { boot.blacklistedKernelModules = [ "bcma" ];
extraModulePackages = with config.boot.kernelPackages; [ mba6x_bl ];
kernelModules = [ "mba6x_bl" ];
boot = {
# Divides power consumption by two. # Divides power consumption by two.
kernelParams = [ "acpi_osi=" ]; kernelParams = [ "acpi_osi=" ];
}; };
services.xserver.deviceSection = lib.mkDefault '' services.xserver.deviceSection = lib.mkDefault ''
Option "Backlight" "mba6x_backlight"
Option "TearFree" "true" Option "TearFree" "true"
''; '';
} }

View file

@ -0,0 +1,5 @@
# MacBook Air 7,X
### For wifi driver
broadcomt_sta was the best working driver I could find, however on the normal kernel, you need to `sudo modprobe -r wl` and `sudo modprobe wl`, however it was fully working on the zen kernel.

View file

@ -0,0 +1,12 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [
../.
];
}

View file

@ -3,6 +3,6 @@
../. ../.
../../common/cpu/intel ../../common/cpu/intel
../../common/pc/laptop ../../common/pc/laptop
../../common/pc/laptop/ssd ../../common/pc/ssd
]; ];
} }

View file

@ -1,17 +1,15 @@
{ lib, pkgs, ... }: { lib, ... }:
{ {
imports = [ imports = [
../. ../.
../../../common/pc/laptop/ssd ../../../common/pc/ssd
../../../common/gpu/24.05-compat.nix
../../../common/gpu/nvidia/kepler
]; ];
# TODO: boot loader
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# TODO: reverse compat # TODO: reverse compat
hardware.opengl.driSupport32Bit = true; hardware.graphics.enable32Bit = lib.mkDefault true;
services.xserver = { services.xserver = {
# TODO: we should not enable unfree drivers # TODO: we should not enable unfree drivers

View file

@ -0,0 +1,12 @@
# Apple MacBook Pro 11,1
This configuration is tested on my 13" *MacBook Pro (Retina, 13-inch, Late 2013),* model number `A1502`.
The 6.11.5 kernel appears to work well with only minor adjustments on this notebook. Note that my machine has a BCM4360 wireless card (PCI-ID `14e4:43a0`) which appears to only work with the nonfree `wl` driver.
## Additional resources
* Linux Wireless Documentation: [List of hardware](https://wireless.docs.kernel.org/en/latest/en/users/drivers/b43.html#list-of-hardware)
* Arch linux wiki: [MacBookPro11,x](https://wiki.archlinux.org/index.php/MacBookPro11,x)
* Kernel patches: [MacBookPro11,x](https://bugzilla.kernel.org/buglist.cgi?quicksearch=macbookpro11)

View file

@ -0,0 +1,10 @@
{ lib, config, ... }:
{
imports = [
../.
../../../common/pc/ssd
../../../common/cpu/intel/haswell
];
hardware.enableRedistributableFirmware = lib.mkDefault true;
}

View file

@ -0,0 +1,42 @@
# Apple MacBookPro11,4
[Product page](https://support.apple.com/en-us/111955)
## Tested Hardware
```console
foo@bar:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Crystal Well DRAM Controller [8086:0d04] (rev 08)
00:01.0 PCI bridge [0604]: Intel Corporation Crystal Well PCI Express x16 Controller [8086:0d01] (rev 08)
00:01.1 PCI bridge [0604]: Intel Corporation Crystal Well PCI Express x8 Controller [8086:0d05] (rev 08)
00:02.0 VGA compatible controller [0300]: Intel Corporation Crystal Well Integrated Graphics Controller [8086:0d26] (rev 08)
00:03.0 Audio device [0403]: Intel Corporation Crystal Well HD Audio Controller [8086:0d0c] (rev 08)
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05)
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d5)
00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 [8086:8c14] (rev d5)
00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 [8086:8c16] (rev d5)
00:1f.0 ISA bridge [0601]: Intel Corporation HM87 Express LPC Controller [8086:8c4b] (rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 05)
00:1f.6 Signal processing controller [1180]: Intel Corporation 8 Series Chipset Family Thermal Management Controller [8086:8c24] (rev 05)
01:00.0 SATA controller [0106]: Samsung Electronics Co Ltd S4LN058A01[SSUBX] AHCI SSD Controller (Apple slot) [144d:a801] (rev 01)
03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43602 802.11ac Wireless LAN SoC [14e4:43ba] (rev 01)
04:00.0 Multimedia controller [0480]: Broadcom Inc. and subsidiaries 720p FaceTime HD Camera [14e4:1570]
05:00.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013] [8086:156d]
06:00.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013] [8086:156d]
06:03.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013] [8086:156d]
06:04.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013] [8086:156d]
06:05.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013] [8086:156d]
06:06.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013] [8086:156d]
07:00.0 System peripheral [0880]: Intel Corporation DSL5520 Thunderbolt 2 NHI [Falcon Ridge 4C 2013] [8086:156c]
```
## Tested Nix Configuration
- system: `"x86_64-linux"`
- host os: `Linux 6.12.36, NixOS, 25.11 (Xantusia), 25.11.20250708.9807714`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.28.4`
- channels(root): `"nixos"`
- nixpkgs: `/nix/store/bgl6ldj5ihbwcq8p42z3a0qzgqafgk2b-source`

View file

@ -0,0 +1,17 @@
{
lib,
config,
pkgs,
modulesPath,
...
}:
{
imports = [
../.
../../../common/cpu/intel/haswell
../../../common/pc/ssd
"${modulesPath}/hardware/network/broadcom-43xx.nix"
];
hardware.graphics.enable = lib.mkDefault true;
}

View file

@ -22,11 +22,49 @@ This configuration will **not** work with MacBook Pro 11,2 or 11,3 models.
## Graphics ## Graphics
The [MacBookPro11,4 and MacBookPro11,5](https://support.apple.com/kb/SP719) models ship with a discrete ATI graphics card (whereas MacBookPro11,2 and MacBookPro11,3 ship with NVidia cards). This is alongside the usual integrated Intel GPU. The [MacBookPro11,4 and MacBookPro11,5](https://support.apple.com/kb/SP719) models ship with a discrete ATI/AMD graphics card (whereas MacBookPro11,2 and MacBookPro11,3 ship with NVidia cards). This is alongside the usual integrated Intel GPU.
You may wish to look into dynamic switching between integrated and discrete graphics, but this config doesn't attempt it. To switch from the older `radeon` driver to the newer `amdgpu` driver (via experimental `si_support`), include `nixos-hardware.nixosModules.common-gpu-amd-southern-islands` (or `${nixos-hardware}/common/gpu/amd/southern-islands`) in your configuration. This will get you vulkan support among other benefits.
For example, in your `flake.nix`:
```nix
nixosConfigurations = {
macbook-pro-11-5 = lib.nixosSystem {
system = "x86_64-linux";
modules = [
nixos-hardware.nixosModules.apple-macbook-pro-11-5
nixos-hardware.nixosModules.common-gpu-amd-southern-islands
{
# Your personal configuration
}
];
};
};
```
## Power management
You may also wish to look into dynamic switching between integrated and discrete graphics, but this config doesn't currently attempt it.
See the removed [hardware.amdHybridGraphics.disable](https://github.com/NixOS/nixpkgs/pull/33915) option for an entry point.
## Hardware probes
Hardware probes generated with `nix run nixpkgs#hw-probe -- -all -upload`:
* Probe [#305905e674](https://linux-hardware.org/?probe=305905e674) of Apple MacBookPro11,5 (with `amdgpu` driver)
DRM (Direct Rendering Manager) snapshots generated with `drm_info -j | curl -d @- https://drmdb.emersion.fr/submit`:
* Snapshot [#e8f8076f1f1b](https://drmdb.emersion.fr/snapshots/e8f8076f1f1b) (with `amdgpu` driver)
## Additional resources ## Additional resources
* Arch linux wiki: [MacBookPro11,x](https://wiki.archlinux.org/index.php/MacBookPro11,x) * Arch linux wiki: [MacBookPro11,x](https://wiki.archlinux.org/index.php/MacBookPro11,x)
* Kernel patches: [MacBookPro11,x](https://bugzilla.kernel.org/buglist.cgi?quicksearch=macbookpro11) * Kernel patches: [MacBookPro11,x](https://bugzilla.kernel.org/buglist.cgi?quicksearch=macbookpro11)
For more context about experimental `amdgpu` support, see:
* [Enabling AMDGPU by default for SI & CIK (November 2021)](https://gitlab.freedesktop.org/drm/amd/-/issues/1776)
* [Enabling AMDGPU by default for SI & CIK (August 2020))](https://lists.freedesktop.org/archives/amd-gfx/2020-August/052243.html)
* [Feature support matrix](https://wiki.gentoo.org/wiki/AMDGPU#Feature_support)

View file

@ -1,27 +1,23 @@
{ lib, config, pkgs, ... }: { lib, config, ... }:
let let
kernelPackages = config.boot.kernelPackages; inherit (config.boot) kernelPackages;
in in
{ {
imports = [ imports = [
../. ../.
../../../common/pc/laptop/ssd ../../../common/pc/ssd
<nixpkgs/nixos/modules/hardware/network/broadcom-43xx.nix>
]; ];
# Apparently this is currently only supported by ati_unfree drivers, not ati # Enable broadcom-43xx firmware
hardware.opengl.driSupport32Bit = false; hardware.enableRedistributableFirmware = lib.mkDefault true;
services.xserver.videoDrivers = [ "ati" ];
services.udev.extraRules = services.udev.extraRules =
# Disable XHC1 wakeup signal to avoid resume getting triggered some time # Disable XHC1 wakeup signal to avoid resume getting triggered some time
# after suspend. Reboot required for this to take effect. # after suspend. Reboot required for this to take effect.
lib.optionalString lib.optionalString (lib.versionAtLeast kernelPackages.kernel.version "3.13")
(lib.versionAtLeast kernelPackages.kernel.version "3.13")
''SUBSYSTEM=="pci", KERNEL=="0000:00:14.0", ATTR{power/wakeup}="disabled"''; ''SUBSYSTEM=="pci", KERNEL=="0000:00:14.0", ATTR{power/wakeup}="disabled"'';
} }

View file

@ -9,7 +9,6 @@ This means it might be required to restart your wifi deamon i.e. wpa_supplicant:
powerManagement.powerUpCommands = '' powerManagement.powerUpCommands = ''
${pkgs.systemd}/bin/systemctl restart wpa_supplicant.service ${pkgs.systemd}/bin/systemctl restart wpa_supplicant.service
''; '';
};
``` ```
You can apply this to your network management software of choice. You can apply this to your network management software of choice.

View file

@ -1,9 +1,14 @@
{ lib, pkgs, modulesPath, ... }: {
lib,
pkgs,
modulesPath,
...
}:
{ {
imports = [ imports = [
../. ../.
../../../common/pc/laptop/ssd ../../../common/pc/ssd
"${modulesPath}/hardware/network/broadcom-43xx.nix" "${modulesPath}/hardware/network/broadcom-43xx.nix"
]; ];
@ -16,7 +21,10 @@
# https://bugzilla.kernel.org/show_bug.cgi?id=101681#c116. # https://bugzilla.kernel.org/show_bug.cgi?id=101681#c116.
# Also brcmfmac could randomly crash on resume from sleep. # Also brcmfmac could randomly crash on resume from sleep.
powerUpCommands = lib.mkBefore "${pkgs.kmod}/bin/modprobe brcmfmac"; powerUpCommands = lib.mkBefore "${pkgs.kmod}/bin/modprobe brcmfmac";
powerDownCommands = lib.mkBefore "${pkgs.kmod}/bin/rmmod brcmfmac"; powerDownCommands = lib.mkBefore ''
${pkgs.kmod}/bin/rmmod -f -v brcmfmac_wcc 2>/dev/null || true
${pkgs.kmod}/bin/rmmod brcmfmac
'';
}; };
# USB subsystem wakes up MBP right after suspend unless we disable it. # USB subsystem wakes up MBP right after suspend unless we disable it.

View file

@ -0,0 +1,26 @@
# MacBook Pro 14,1, NixOS 24.05 (2024)
## Audio
- [ ] broken until https://github.com/NixOS/nixpkgs/pull/322968 lands in master
## Bluetooth
- [ ] broken lands https://github.com/NixOS/nixpkgs/pull/322964 in master
## Touchpad
- [x] Working, including 'disable while typing' usable quirk
## Thunderbolt
- [x] Working
## NVME
- [x] Working, older NVME / Controller may need workaround for resume
## Suspend/Resume
- [ ] Thunderbolt, WIFI, NVME may still need reboot (sometimes).
## Wifi
- [x] Working (2,4Ghz & 5Ghz supported), WEP3 broken -> brcm fw blob (2015)
## Resources
- https://github.com/Dunedan/mbp-2016-linux?tab=readme-ov-file
- https://gist.github.com/roadrunner2/1289542a748d9a104e7baec6a92f9cd7

View file

@ -0,0 +1,69 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [
../.
../../../common/cpu/intel/kaby-lake
../../../common/hidpi.nix
../../../common/pc/ssd
];
# Make the keyboard work in stage1, enable iommu
# https://www.kernelconfig.io/config_keyboard_applespi
boot = {
initrd.kernelModules = [
"applespi"
"spi_pxa2xx_platform"
"intel_lpss_pci"
"applesmc"
];
kernelParams = [ "intel_iommu=on" ];
kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.0") pkgs.linuxPackages_latest;
};
# Touchpad quirks to make "disable-while-typing" actually work
services.libinput.enable = true;
environment.etc."libinput/local-overrides.quirks".text = ''
[MacBook(Pro) SPI Touchpads]
MatchName=*Apple SPI Touchpad*
ModelAppleTouchpad=1
AttrTouchSizeRange=200:150
AttrPalmSizeThreshold=1100
[MacBook(Pro) SPI Keyboards]
MatchName=*Apple SPI Keyboard*
AttrKeyboardIntegration=internal
[MacBookPro Touchbar]
MatchBus=usb
MatchVendor=0x05AC
MatchProduct=0x8600
AttrKeyboardIntegration=internal
'';
# Wifi, CPU Microcode FW updates
networking.enableB43Firmware = lib.mkDefault true;
hardware = {
enableRedistributableFirmware = lib.mkDefault true;
cpu.intel.updateMicrocode = lib.mkDefault true;
};
# [Enable only if needed!]
# Disable d3cold on older NVME controller, only if needed
# https://github.com/Dunedan/mbp-2016-linux
#
#systemd.services.disable-nvme-d3cold = {
# description = "Disables d3cold on the NVME controller";
# before = [ "suspend.target" ];
# path = [ pkgs.bash pkgs.coreutils ];
# serviceConfig.Type = "oneshot";
# serviceConfig.ExecStart = "${./disable-nvme-d3cold.sh}";
# serviceConfig.TimeoutSec = 0;
# wantedBy = [ "multi-user.target" "suspend.target" ];
#};
}

View file

@ -0,0 +1,18 @@
#!/usr/bin/env bash
driver_path=/sys/bus/pci/devices/0000:01:00.0
if [[ ! -e "$driver_path" ]]; then
echo "$driver_path does not exist, exiting..."
exit 1
fi
driver=$(basename $(readlink "$driver_path/driver"))
if [[ "$driver" -ne "nvme" ]]; then
echo "$driver_path is not an NVME device, got $driver, exiting..."
exit 1
fi
echo 0 > "$driver_path/d3cold_allowed"

View file

@ -0,0 +1,23 @@
# MacBook Pro 8,1
## Enable unfree packages in your nix config for b43-firmware (wifi driver) to work
### For b43-firmware only (Ideal)
```nix
{lib, ...}:
{
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"b43-firmware"
];
}
```
### For all packages
```nix
{
nixpkgs.config.allowUnfree = true;
}
```

View file

@ -0,0 +1,16 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [
../.
../../../common/cpu/intel/sandy-bridge
../../../common/pc/ssd
];
networking.enableB43Firmware = lib.mkDefault true;
}

View file

@ -0,0 +1,30 @@
{
lib,
...
}:
let
inherit (lib) mkDefault;
in
{
imports = [
../.
../../../common/gpu/24.05-compat.nix
];
services.xserver.videoDrivers = mkDefault [ "nvidiaLegacy340" ];
hardware = {
graphics = {
enable = mkDefault true;
enable32Bit = mkDefault true;
};
nvidia = {
modesetting.enable = mkDefault true;
powerManagement.enable = mkDefault false;
powerManagement.finegrained = mkDefault false;
open = mkDefault false;
nvidiaSettings = mkDefault true;
};
};
}

View file

@ -0,0 +1,6 @@
{
imports = [
../.
../../common/cpu/intel
];
}

12
apple/t2/README.md Normal file
View file

@ -0,0 +1,12 @@
# NixOS on T2 Macs
This is the `nixos-hardware` module of the [T2 Linux Project](https://t2linux.org).
Overall, most features (WiFi, bluetooth, audio, touchbar, ...) of Macs are supported, [see this page](https://wiki.t2linux.org/state/) for a detailed list of things that work and things that don't/partially work.
Following [this guide](https://wiki.t2linux.org/distributions/nixos/installation/) is the recommended way to install, as it incudes the extra things you have to do on a T2 Mac.
You can consult the [wiki](https://wiki.t2linux.org/) for information specific to T2 Macs.
> [!warning]
> Always ensure compatibility and make backups of your data before making any system changes.

133
apple/t2/default.nix Normal file
View file

@ -0,0 +1,133 @@
{
config,
lib,
pkgs,
...
}:
let
inherit (lib) types;
nixosVersion = lib.versions.majorMinor lib.version;
audioFiles = pkgs.fetchFromGitHub {
owner = "kekrby";
repo = "t2-better-audio";
rev = "e46839a28963e2f7d364020518b9dac98236bcae";
hash = "sha256-x7K0qa++P1e1vuCGxnsFxL1d9+nwMtZUJ6Kd9e27TFs=";
};
audioFilesUdevRules = pkgs.runCommand "audio-files-udev-rules" { } ''
mkdir -p $out/lib/udev/rules.d
cp ${audioFiles}/files/*.rules $out/lib/udev/rules.d
substituteInPlace $out/lib/udev/rules.d/*.rules --replace "/usr/bin/sed" "${pkgs.gnused}/bin/sed"
'';
overrideAudioFiles =
package: pluginsPath:
package.overrideAttrs (
_new: old: {
preConfigurePhases = old.preConfigurePhases or [ ] ++ [ "postPatchPhase" ];
postPatchPhase = ''
cp -r ${audioFiles}/files/{profile-sets,paths} ${pluginsPath}/alsa/mixer/
'';
}
);
pipewirePackage = overrideAudioFiles pkgs.pipewire "spa/plugins/";
t2Cfg = config.hardware.apple-t2;
in
{
imports = [
(lib.mkRemovedOptionModule [ "hardware" "apple-t2" "enableTinyDfr" ] ''
The hardware.apple-t2.enableTinyDfr option was deprecated and removed since upstream Nixpkgs now has an identical module.
Please migrate to hardware.apple.touchBar.
'')
(lib.mkRemovedOptionModule [ "hardware" "apple-t2" "enableAppleSetOsLoader" ] ''
The hardware.apple-t2.enableAppleSetOsLoader option was removed as the apple_set_os functionality was integrated into the kernel.
Please uninstall the loader by replacing /esp/EFI/BOOTX64.EFI with /esp/EFI/BOOTX64_original.EFI, where esp is the EFI partition mount point.
If you have a device with an AMD dGPU and would like to keep using the iGPU, please set hardware.apple-t2.enableIGPU to true.
'')
];
options.hardware.apple-t2 = {
enableIGPU = lib.mkEnableOption "the usage of the iGPU on specific Apple devices with an AMD dGPU";
kernelChannel = lib.mkOption {
type = types.enum [
"stable"
"latest"
];
default = "stable";
example = "latest";
description = "The kernel release stream to use.";
};
firmware = {
enable = lib.mkEnableOption "automatic and declarative Wi-Fi and Bluetooth firmware configuration";
version = lib.mkOption {
type = types.enum [
"monterey"
"ventura"
"sonoma"
];
default = "sonoma";
example = "ventura";
description = "The macOS version to use.";
};
};
};
config = lib.mkMerge [
{
# Specialized kernel for keyboard, touchpad, touchbar and audio.
boot.kernelPackages = pkgs.linuxPackagesFor (
pkgs.callPackage (
if t2Cfg.kernelChannel == "stable" then ./pkgs/linux-t2 else ./pkgs/linux-t2/latest.nix
) { }
);
boot.initrd.kernelModules = [ "apple-bce" ];
services.udev.packages = [ audioFilesUdevRules ];
# For audio
boot.kernelParams = [
"pcie_ports=compat"
"intel_iommu=on"
"iommu=pt"
];
services.pipewire.package = pipewirePackage;
services.pipewire.wireplumber.package = pkgs.wireplumber.override {
pipewire = pipewirePackage;
};
# Make sure post-resume.service exists
powerManagement.enable = true;
}
(
if lib.versionAtLeast nixosVersion "25.05" then
{
services.pulseaudio.package = overrideAudioFiles pkgs.pulseaudio "src/modules/";
}
else
{
hardware.pulseaudio.package = overrideAudioFiles pkgs.pulseaudio "src/modules/";
}
)
(lib.mkIf t2Cfg.enableIGPU {
# Enable the iGPU by default if present
environment.etc."modprobe.d/apple-gmux.conf".text = ''
options apple-gmux force_igd=y
'';
})
(lib.mkIf t2Cfg.firmware.enable {
# Configure Wi-Fi and Bluetooth firmware
hardware.firmware = [
(pkgs.callPackage ./pkgs/brcm-firmware { version = t2Cfg.firmware.version; })
];
})
];
}

View file

@ -0,0 +1,89 @@
{
lib,
stdenvNoCC,
callPackage,
vmTools,
util-linux,
linux,
kmod,
version,
}:
let
get-firmware = callPackage ./get-firmware.nix { };
fetchmacos = callPackage ./fetchmacos.nix { };
# See https://github.com/kholia/OSX-KVM/blob/master/fetch-macOS-v2.py#L534-L546.
# Versions before macOS Monterey don't have Bluetooth firmware.
# Whereas macOS Sequoia doesn't have firmware for MacBook Air 2018 and 2019.
boards = {
monterey = {
boardId = "Mac-B809C3757DA9BB8D";
mlb = "00000000000000000";
osType = "latest";
hash = "sha256-My8FLnqHZn+THfGPIhTSApW/kIWM0ZZhjBxWujhhWPM=";
};
ventura = {
boardId = "Mac-4B682C642B45593E";
mlb = "00000000000000000";
osType = "latest";
hash = "sha256-Qy9Whu8pqHo+m6wHnCIqURAR53LYQKc0r87g9eHgnS4=";
};
sonoma = {
boardId = "Mac-827FAC58A8FDFA22";
mlb = "00000000000000000";
osType = "default";
hash = "sha256-phlpwNTYhugqX2KGljqxpbfGtCFDgggQPzB7U29XSmM=";
};
};
in
vmTools.runInLinuxVM (
stdenvNoCC.mkDerivation {
pname = "brcm-firmware";
inherit version;
src = fetchmacos {
name = version;
inherit (boards.${version})
boardId
mlb
osType
hash
;
};
dontUnpack = true;
nativeBuildInputs = [
util-linux
get-firmware
];
buildPhase = ''
ln -s ${linux}/lib /lib
${kmod}/bin/modprobe loop
${kmod}/bin/modprobe hfsplus
imgdir=$(mktemp -d)
loopdev=$(losetup -f | cut -d "/" -f 3)
losetup -P $loopdev $src
loopdev_partition=/dev/$(lsblk -o KNAME,TYPE,MOUNTPOINT -n | grep $loopdev | tail -1 | awk '{print $1}')
mount $loopdev_partition $imgdir
get-bluetooth $imgdir/usr/share/firmware/bluetooth bluetooth/
get-wifi $imgdir/usr/share/firmware/wifi wifi/
'';
installPhase = ''
mkdir -p $out/lib/firmware/brcm
cp bluetooth/brcm/* $out/lib/firmware/brcm/
cp wifi/brcm/* $out/lib/firmware/brcm/
'';
meta = with lib; {
description = "Wi-Fi and Bluetooth firmware for T2 Macs";
license = licenses.unfree;
maintainers = with maintainers; [ mkorje ];
platforms = platforms.linux;
};
}
)

View file

@ -0,0 +1,42 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
callPackage,
dmg2img,
}:
let
macrecovery = callPackage ./macrecovery.nix { };
in
{
name,
boardId,
mlb,
osType,
hash,
}:
stdenvNoCC.mkDerivation {
name = name;
dontUnpack = true;
nativeBuildInputs = [
macrecovery
dmg2img
];
buildPhase = ''
macrecovery download -o . -b ${boardId} -m ${mlb} -os ${osType}
dmg2img -s BaseSystem.dmg fw.img
'';
installPhase = ''
cp fw.img $out
'';
outputHashMode = "recursive";
outputHashAlgo = "sha256";
outputHash = hash;
}

View file

@ -0,0 +1,133 @@
diff --git a/asahi_firmware/bluetooth.py b/asahi_firmware/bluetooth.py
index 0934225..3eaa442 100644
--- a/asahi_firmware/bluetooth.py
+++ b/asahi_firmware/bluetooth.py
@@ -1,8 +1,25 @@
+#!/usr/bin/env python3
# SPDX-License-Identifier: MIT
import logging, os, os.path, re, sys
from collections import namedtuple, defaultdict
+from hashlib import sha256
-from .core import FWFile
+class FWFile(object):
+ def __init__(self, name, data):
+ self.name = name
+ self.data = data
+ self.sha = sha256(data).hexdigest()
+
+ def __repr__(self):
+ return f"FWFile({self.name!r}, <{self.sha[:16]}>)"
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+ return self.sha == other.sha
+
+ def __hash__(self):
+ return hash(self.sha)
log = logging.getLogger("asahi_firmware.bluetooth")
@@ -127,16 +144,16 @@ class BluetoothFWCollection(object):
if __name__ == "__main__":
col = BluetoothFWCollection(sys.argv[1])
-
- if len(sys.argv) > 2:
- from . import FWPackage
-
- pkg = FWPackage(sys.argv[2])
- pkg.add_files(sorted(col.files()))
- pkg.close()
-
- for i in pkg.manifest:
- print(i)
- else:
- for name, fwfile in col.files():
- print(name, f"{fwfile.name} ({len(fwfile.data)} bytes)")
+
+ dir = os.path.join(sys.argv[2], "brcm")
+ os.makedirs(dir)
+
+ hashes = {}
+ for name, data in sorted(col.files()):
+ path = os.path.join(sys.argv[2], name)
+ if data.sha in hashes:
+ os.link(hashes[data.sha], path)
+ else:
+ with open(path, "wb") as f:
+ f.write(data.data)
+ hashes[data.sha] = path
diff --git a/asahi_firmware/wifi.py b/asahi_firmware/wifi.py
index 346965c..261aa32 100644
--- a/asahi_firmware/wifi.py
+++ b/asahi_firmware/wifi.py
@@ -1,6 +1,24 @@
+#!/usr/bin/env python3
# SPDX-License-Identifier: MIT
import sys, os, os.path, pprint, statistics, logging
-from .core import FWFile
+from hashlib import sha256
+
+class FWFile(object):
+ def __init__(self, name, data):
+ self.name = name
+ self.data = data
+ self.sha = sha256(data).hexdigest()
+
+ def __repr__(self):
+ return f"FWFile({self.name!r}, <{self.sha[:16]}>)"
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+ return self.sha == other.sha
+
+ def __hash__(self):
+ return hash(self.sha)
log = logging.getLogger("asahi_firmware.wifi")
@@ -40,7 +58,9 @@ class WiFiFWCollection(object):
self.prune()
def load(self, source_path):
+ included_folders = ["C-4355__s-C1", "C-4364__s-B2", "C-4364__s-B3", "C-4377__s-B3"]
for dirpath, dirnames, filenames in os.walk(source_path):
+ dirnames[:] = [d for d in dirnames if d in included_folders]
if "perf" in dirnames:
dirnames.remove("perf")
if "assert" in dirnames:
@@ -141,18 +161,16 @@ class WiFiFWCollection(object):
if __name__ == "__main__":
col = WiFiFWCollection(sys.argv[1])
- if len(sys.argv) > 2:
- from .core import FWPackage
-
- pkg = FWPackage(sys.argv[2])
- pkg.add_files(sorted(col.files()))
- pkg.close()
-
- for i in pkg.manifest:
- print(i)
- else:
- for name, fwfile in col.files():
- if isinstance(fwfile, str):
- print(name, "->", fwfile)
- else:
- print(name, f"({len(fwfile.data)} bytes)")
+
+ dir = os.path.join(sys.argv[2], "brcm")
+ os.makedirs(dir)
+
+ hashes = {}
+ for name, data in sorted(col.files()):
+ path = os.path.join(sys.argv[2], name)
+ if data.sha in hashes:
+ os.link(hashes[data.sha], path)
+ else:
+ with open(path, "wb") as f:
+ f.write(data.data)
+ hashes[data.sha] = path

View file

@ -0,0 +1,35 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
python3,
}:
stdenvNoCC.mkDerivation {
name = "get-firmware";
src = fetchFromGitHub {
owner = "AsahiLinux";
repo = "asahi-installer";
rev = "v0.7.9";
hash = "sha256-vbhepoZ52k5tW2Gd7tfQTZ5CLqzhV7dUcVh6+AYwECk=";
};
patches = [ ./get-firmware-standalone.patch ];
buildInputs = [ python3 ];
installPhase = ''
cd asahi_firmware
install -Dm755 bluetooth.py $out/bin/get-bluetooth
install -Dm755 wifi.py $out/bin/get-wifi
'';
meta = with lib; {
description = "Patched Asahi Linux Installer scripts to get brcm firmware";
homepage = "https://github.com/AsahiLinux/asahi-installer";
license = licenses.mit;
maintainers = with maintainers; [ mkorje ];
platforms = platforms.all;
};
}

View file

@ -0,0 +1,36 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
python3,
}:
stdenvNoCC.mkDerivation {
name = "macrecovery";
src = fetchFromGitHub {
owner = "acidanthera";
repo = "OpenCorePkg";
rev = "1.0.4";
hash = "sha256-5Eypza9teSJSulHaK7Sxh562cTKedXKn3y+Z3+fC6sM=";
};
buildInputs = [ python3 ];
installPhase = ''
cd Utilities/macrecovery
install -Dm755 macrecovery.py $out/opt/macrecovery
cp boards.json $out/opt/boards.json
mkdir $out/bin
ln -s $out/opt/macrecovery $out/bin/macrecovery
'';
meta = with lib; {
description = "A tool that helps to automate recovery interaction";
homepage = "https://github.com/acidanthera/OpenCorePkg";
license = licenses.bsd3;
maintainers = with maintainers; [ mkorje ];
mainProgram = "macrecovery";
platforms = platforms.all;
};
}

View file

@ -0,0 +1,6 @@
{ callPackage, linux_6_12, ... }@args:
callPackage ./generic.nix args {
kernel = linux_6_12;
patchesFile = ./stable.json;
}

View file

@ -0,0 +1,60 @@
{
lib,
fetchurl, # fetchpatch does unnecessary normalization
...
}@args:
{
kernel,
patchesFile,
}:
let
inherit (builtins) readFile fromJSON;
patchset = fromJSON (readFile patchesFile);
t2-patches = map (
{ name, hash }:
{
inherit name;
patch = fetchurl {
inherit name hash;
url = patchset.base_url + name;
};
}
) patchset.patches;
in
kernel.override (
args
// {
pname = "linux-t2";
structuredExtraConfig = with lib.kernel; {
APPLE_BCE = module;
APPLE_GMUX = module;
APFS_FS = module;
BRCMFMAC = module;
BT_BCM = module;
BT_HCIBCM4377 = module;
BT_HCIUART_BCM = yes;
BT_HCIUART = module;
HID_APPLETB_BL = module;
HID_APPLETB_KBD = module;
HID_APPLE = module;
HID_MAGICMOUSE = module;
DRM_APPLETBDRM = module;
HID_SENSOR_ALS = module;
SND_PCM = module;
STAGING = yes;
};
kernelPatches = t2-patches ++ (args.kernelPatches or [ ]);
argsOverride.extraMeta = {
description = "The Linux kernel (with patches from the T2 Linux project)";
# take responsibility for the downstream kernel
maintainers = with lib.maintainers; [ soopyc ];
};
}
// (args.argsOverride or { })
)

View file

@ -0,0 +1,121 @@
{
"base_url": "https://raw.githubusercontent.com/t2linux/linux-t2-patches/6b41c3fd65913e0fa3592ad16ff4a3a5b01efc7a/",
"patches": [
{
"name": "1001-Add-apple-bce-driver.patch",
"hash": "sha256-00K3LmId2Ag6s5K76p7mB2a0oEXp815yRd+U5wxWPMc="
},
{
"name": "1002-Put-apple-bce-in-drivers-staging.patch",
"hash": "sha256-wkveNo1qwAwXWDGTFed4ZDbuBnJbwKgWLmTHK9qq0oM="
},
{
"name": "1003-Fix-sparse-errors.patch",
"hash": "sha256-nuCOPWa4Hp+HCCBe6Y++M4g1k4plOWzy2hqHXlJbp9g="
},
{
"name": "1004-Fix-freezing-on-turning-off-camera.patch",
"hash": "sha256-rFrSUhiNXgQbfgKjryJktYxYcchXE1PI49Q1gW001+0="
},
{
"name": "1007-HID-multitouch-Get-the-contact-ID-from-HID_DG_TRANSD.patch",
"hash": "sha256-JF5PjByo4S1Rd/B5luAzOXDv+iakCnJfmujIQuUiT1A="
},
{
"name": "1008-HID-multitouch-support-getting-the-tip-state-from-HI.patch",
"hash": "sha256-m/NAKoHRC/HwxG5fFZxFl6DtY4Xv8kPBWvdKdtadrrk="
},
{
"name": "1009-HID-multitouch-take-cls-maxcontacts-into-account-for.patch",
"hash": "sha256-h6jk9yw/4txd8PATpMxB9mIzik9+X1zP6p4K35AqdXw="
},
{
"name": "1010-HID-multitouch-specify-that-Apple-Touch-Bar-is-direc.patch",
"hash": "sha256-5PbLynVnQqlJKPTWhcmwXCkYDEopLBQWnxWvZUt0EN4="
},
{
"name": "1011-HID-multitouch-add-device-ID-for-Apple-Touch-Bar.patch",
"hash": "sha256-dIzEOj89D2rIEc2/mjq3TkIfI3ZHzu0VRDQQOzp+Snc="
},
{
"name": "2008-i915-4-lane-quirk-for-mbp15-1.patch",
"hash": "sha256-PjMVt4u505PXnKFpojov0Uwhj0KxZas1E4NYJGI6lQ4="
},
{
"name": "2009-apple-gmux-allow-switching-to-igpu-at-probe.patch",
"hash": "sha256-aE+MEu/jRrZBa+3Q03quOHUsIseRED6A7N/K9kEVtbM="
},
{
"name": "3001-applesmc-convert-static-structures-to-drvdata.patch",
"hash": "sha256-7KGC0pCos351wKNhwJI/Qoc7w+orOPpiTkdCN50G8nI="
},
{
"name": "3002-applesmc-make-io-port-base-addr-dynamic.patch",
"hash": "sha256-1fnmMP/3WSy2JqjdCvxu8tWoshCPr8eiG6ttYK/N9WA="
},
{
"name": "3003-applesmc-switch-to-acpi_device-from-platform.patch",
"hash": "sha256-3S6BzyoPLoirfyAu4yDyE9aYjUYr/7etmAvN3uKSDLE="
},
{
"name": "3004-applesmc-key-interface-wrappers.patch",
"hash": "sha256-9Bq28WcqiOnef0br6bATOudr1ViSpajQs7fv7o8Tg0I="
},
{
"name": "3005-applesmc-basic-mmio-interface-implementation.patch",
"hash": "sha256-Hh9DymQ+Y74oSs1zv9F0lTU3jfAenKTM+cmFH9tmN9Q="
},
{
"name": "3006-applesmc-fan-support-on-T2-Macs.patch",
"hash": "sha256-D5IQHE8QFo49mnUawSau7xUsMFkHKayyhnHW4hi+fWE="
},
{
"name": "3007-applesmc-Add-iMacPro-to-applesmc_whitelist.patch",
"hash": "sha256-rLDuyQYzAaWuu/u6nRRVvGdwyfpLvkGPu1OoD8KS0os="
},
{
"name": "3008-applesmc-make-applesmc_remove-void.patch",
"hash": "sha256-j2Rj1PW/bFEYh9IkGkkG9b+G27IAPCInyd828z4WE1s="
},
{
"name": "3009-applesmc-battery-charge-limiter.patch",
"hash": "sha256-skYKmLsJ6O42/wINLccZWoKS0XhVlC1Nfxi1Ekloxns="
},
{
"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="
},
{
"name": "4003-HID-apple-ignore-the-trackpad-on-T2-Macs.patch",
"hash": "sha256-JTeYtaBqMyTu5IdGb8x7wbP9ZE1rXT4lpEjudR1ySFI="
},
{
"name": "4004-HID-magicmouse-Add-support-for-trackpads-found-on-T2.patch",
"hash": "sha256-dNrpDlIE9SaQUOntVQHMOyj7T/dsuRemN56yskKWue0="
},
{
"name": "4005-HID-apple-Add-necessary-IDs-and-support-for-replacem.patch",
"hash": "sha256-SRKESCbpxSYm7U0VyCmvkmT/er6/GEHhwo8tgJDO6mQ="
},
{
"name": "4006-HID-magicmouse-Add-MacBookPro15-1-replacement-trackp.patch",
"hash": "sha256-mMqHhxig+Z9eVPaa1qfcNVCRX16B6/KuEd1KnSZMLLk="
},
{
"name": "7001-drm-i915-fbdev-Discard-BIOS-framebuffers-exceeding-h.patch",
"hash": "sha256-/EKN7JsAxcpAgfJFtPp2NLYaGqQ0kl8wjJEXifSzJpY="
},
{
"name": "8001-Add-APFS-driver.patch",
"hash": "sha256-uR5hg75SFFWzfrKyU5UnzPL4U7LkjqGs44rkxM7ur8o="
},
{
"name": "8002-Necessary-modifications-to-build-APFS-with-the-kerne.patch",
"hash": "sha256-n1SH5vC//LRJdWOavH9/BHqBTjkUj5f+dFGitSeHksw="
}
]
}

View file

@ -0,0 +1,6 @@
{ callPackage, linux_6_16, ... }@args:
callPackage ./generic.nix args {
kernel = linux_6_16;
patchesFile = ./latest.json;
}

View file

@ -0,0 +1,137 @@
{
"base_url": "https://raw.githubusercontent.com/t2linux/linux-t2-patches/5eaf1261d069bbc67aba7fe2737a5fe981e05a9e/",
"patches": [
{
"name": "1001-Add-apple-bce-driver.patch",
"hash": "sha256-e3RPvWPj2QASGOS4kieO8YFekrXsBCJtfF82OPlOn2E="
},
{
"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="
},
{
"name": "2008-i915-4-lane-quirk-for-mbp15-1.patch",
"hash": "sha256-lZ7MWXZubmAlJCqBmuzueg7agENJbikxP1SE46SmwNw="
},
{
"name": "2009-apple-gmux-allow-switching-to-igpu-at-probe.patch",
"hash": "sha256-XKwlyJZjJLQz39mc0/S7sPnRnwrqMsq9OKy+QCO+oho="
},
{
"name": "3001-applesmc-convert-static-structures-to-drvdata.patch",
"hash": "sha256-7KGC0pCos351wKNhwJI/Qoc7w+orOPpiTkdCN50G8nI="
},
{
"name": "3002-applesmc-make-io-port-base-addr-dynamic.patch",
"hash": "sha256-1fnmMP/3WSy2JqjdCvxu8tWoshCPr8eiG6ttYK/N9WA="
},
{
"name": "3003-applesmc-switch-to-acpi_device-from-platform.patch",
"hash": "sha256-3S6BzyoPLoirfyAu4yDyE9aYjUYr/7etmAvN3uKSDLE="
},
{
"name": "3004-applesmc-key-interface-wrappers.patch",
"hash": "sha256-9Bq28WcqiOnef0br6bATOudr1ViSpajQs7fv7o8Tg0I="
},
{
"name": "3005-applesmc-basic-mmio-interface-implementation.patch",
"hash": "sha256-Hh9DymQ+Y74oSs1zv9F0lTU3jfAenKTM+cmFH9tmN9Q="
},
{
"name": "3006-applesmc-fan-support-on-T2-Macs.patch",
"hash": "sha256-D5IQHE8QFo49mnUawSau7xUsMFkHKayyhnHW4hi+fWE="
},
{
"name": "3007-applesmc-Add-iMacPro-to-applesmc_whitelist.patch",
"hash": "sha256-rLDuyQYzAaWuu/u6nRRVvGdwyfpLvkGPu1OoD8KS0os="
},
{
"name": "3008-applesmc-make-applesmc_remove-void.patch",
"hash": "sha256-j2Rj1PW/bFEYh9IkGkkG9b+G27IAPCInyd828z4WE1s="
},
{
"name": "3009-applesmc-battery-charge-limiter.patch",
"hash": "sha256-skYKmLsJ6O42/wINLccZWoKS0XhVlC1Nfxi1Ekloxns="
},
{
"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="
},
{
"name": "4003-HID-apple-ignore-the-trackpad-on-T2-Macs.patch",
"hash": "sha256-JTeYtaBqMyTu5IdGb8x7wbP9ZE1rXT4lpEjudR1ySFI="
},
{
"name": "4004-HID-magicmouse-Add-support-for-trackpads-found-on-T2.patch",
"hash": "sha256-HcPX7gY3hnlwM/tY06pbtXnch04AqwHgC596E8ZqGY8="
},
{
"name": "4005-HID-apple-Add-necessary-IDs-and-support-for-replacem.patch",
"hash": "sha256-SRKESCbpxSYm7U0VyCmvkmT/er6/GEHhwo8tgJDO6mQ="
},
{
"name": "4006-HID-magicmouse-Add-MacBookPro15-1-replacement-trackp.patch",
"hash": "sha256-uAlT/4ADwYyKvbuPQaGwqCjZ2/myruC63etVV6cfFLk="
},
{
"name": "7001-drm-i915-fbdev-Discard-BIOS-framebuffers-exceeding-h.patch",
"hash": "sha256-O6RHFxmKZn7aCq1D+r5z2T3jLt0r5+01EABD9rs0E5M="
},
{
"name": "8001-Add-APFS-driver.patch",
"hash": "sha256-QpIPsMjWNPOkw6rSKn7rW0Fmx9HUwJaiGy3pZeT5Fd0="
},
{
"name": "8002-Necessary-modifications-to-build-APFS-with-the-kerne.patch",
"hash": "sha256-n1SH5vC//LRJdWOavH9/BHqBTjkUj5f+dFGitSeHksw="
}
]
}

View file

@ -0,0 +1,99 @@
#!/usr/bin/env nix-shell
#!nix-shell -i python -p nix -p "python3.withPackages (p: [p.requests])"
import argparse
import json
import re
import subprocess
import sys
from tempfile import NamedTemporaryFile
from concurrent.futures import ThreadPoolExecutor, as_completed
import requests
API_BASE = "https://api.github.com"
PATCH_PATTERN = re.compile(r"^\d{4}-.*\.patch$")
parser = argparse.ArgumentParser(
description="Update linux-t2 patches from a GitHub repository."
)
parser.add_argument("filename", help="the output filename")
parser.add_argument(
"--repository",
help="the source github repository",
default="t2linux/linux-t2-patches",
nargs="?",
)
ref_group = parser.add_mutually_exclusive_group()
ref_group.add_argument(
"--reference", help="the git reference for the patches", default=None, nargs="?"
)
ref_group.add_argument(
"--branch", help="the git branch to fetch", default=None, nargs="?"
)
def get_api(endpoint, *args, **kwargs):
kwargs["headers"] = {"X-GitHub-Api-Version": "2022-11-28"}
response = requests.get(API_BASE + endpoint, *args, **kwargs)
response.raise_for_status()
return response.json()
def get_sri_hash(data: bytes):
with NamedTemporaryFile() as tmpfile:
tmpfile.write(data)
tmpfile.flush()
proc = subprocess.run(
["nix-hash", "--sri", "--flat", "--type", "sha256", tmpfile.name],
check=True,
capture_output=True,
)
return proc.stdout.decode("utf8").strip()
def download_task(patch: dict):
patch_content = requests.get(patch["download_url"])
patch_hash = get_sri_hash(patch_content.content)
print(f"{patch['name']}: {patch_hash}")
return {"name": patch["name"], "hash": patch_hash}
def main():
args = parser.parse_args()
reference = args.reference
branch = args.branch
if reference is None:
if branch is None:
print("Branch and reference not provided, fetching default branch")
branch = get_api(f"/repos/{args.repository}")["default_branch"]
print(f"Reference not provided, fetching from branch {branch}")
branch_data = get_api(f"/repos/{args.repository}/branches/{branch}")
reference = branch_data["commit"]["sha"]
print(f"Repository: {args.repository}")
print(f" Reference: {reference}")
base_url = f"https://raw.githubusercontent.com/{args.repository}/{reference}/"
contents = get_api(f"/repos/{args.repository}/contents", {"ref": reference})
patches = filter(lambda e: PATCH_PATTERN.match(e.get("name")), contents)
patches_with_hash = []
with ThreadPoolExecutor() as executor:
futures = {executor.submit(download_task, patch) for patch in patches}
for future in as_completed(futures):
patches_with_hash.append(future.result())
result = {"base_url": base_url, "patches": sorted(patches_with_hash, key=lambda p: p["name"])}
with open(args.filename, "w+") as f:
json.dump(result, f, indent=2)
f.write("\n") # write final newline
print(f"Wrote to {args.filename}")
return 0
if __name__ == "__main__":
sys.exit(main())

10
asus/ally/rc71l/README.md Normal file
View file

@ -0,0 +1,10 @@
# [ROG Ally (2023)](https://rog.asus.com/gaming-handhelds/rog-ally/rog-ally-2023/)
## BIOS
The ROG Ally has a troublesome history with different BIOS versions creating different issues.
At the time of writing, the current BIOS version 330 allows for working audio without further kernel patches.
## Further resources
- The steam module from https://github.com/Jovian-Experiments/Jovian-NixOS can be used to boot into the Steam Deck UI

View file

@ -0,0 +1,17 @@
{ pkgs, lib, ... }:
{
imports = [
../../../common/cpu/amd
../../../common/cpu/amd/pstate.nix
../../../common/gpu/amd
../../../common/pc/laptop
../../../common/pc/ssd
../../battery.nix
];
# 6.5 adds many fixes and improvements for the Ally
# This includes for example performance, audio and bluetooth
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.5") (
lib.mkDefault pkgs.linuxPackages_latest
);
}

53
asus/battery.nix Normal file
View file

@ -0,0 +1,53 @@
{
config,
pkgs,
lib,
...
}:
let
p = pkgs.writeScriptBin "charge-upto" ''
#!${pkgs.bash}/bin/bash
echo ''${1:-100} > /sys/class/power_supply/BAT?/charge_control_end_threshold
'';
cfg = config.hardware.asus.battery;
in
{
options.hardware.asus.battery = {
chargeUpto = lib.mkOption {
description = "Maximum level of charge for your battery, as a percentage.";
default = 100;
type = lib.types.int;
};
enableChargeUptoScript = lib.mkOption {
description = "Whether to add charge-upto to environment.systemPackages. `charge-upto 75` temporarily sets the charge limit to 75%.";
default = true;
type = lib.types.bool;
};
};
config = {
environment.systemPackages = lib.mkIf cfg.enableChargeUptoScript [ p ];
systemd.services.battery-charge-threshold = {
wantedBy = [
"local-fs.target"
"suspend.target"
"suspend-then-hibernate.target"
"hibernate.target"
];
after = [
"local-fs.target"
"suspend.target"
"suspend-then-hibernate.target"
"hibernate.target"
];
description = "Set the battery charge threshold to ${toString cfg.chargeUpto}%";
startLimitBurst = 5;
startLimitIntervalSec = 1;
serviceConfig = {
Type = "oneshot";
Restart = "on-failure";
ExecStart = "${pkgs.runtimeShell} -c 'echo ${toString cfg.chargeUpto} > /sys/class/power_supply/BAT?/charge_control_end_threshold'";
};
};
};
}

33
asus/fa506ic/default.nix Normal file
View file

@ -0,0 +1,33 @@
{ 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 = {
modesetting.enable = lib.mkDefault true;
open = lib.mkDefault false;
nvidiaSettings = lib.mkDefault true;
dynamicBoost.enable = lib.mkDefault true;
prime = {
amdgpuBusId = "PCI:0:6:0";
nvidiaBusId = "PCI:0:1:0";
};
};
services = {
asusd = {
enable = lib.mkDefault true;
enableUserService = lib.mkDefault true;
};
supergfxd.enable = lib.mkDefault true;
};
}

2
asus/fa507nv/README.md Normal file
View file

@ -0,0 +1,2 @@
# ASUS TUF A15 FA507NV
As Nvidia offload is not available for AMD CPU, nvidia prime is using sync. Additionally the kernel is set to the latest stable release(using boot.kernelPackages = pkgs.linuxPackages_latest) as the keyboard and wireless drivers does not work in the default NixOS kernel which is the LTS kernel.

51
asus/fa507nv/default.nix Normal file
View file

@ -0,0 +1,51 @@
{
lib,
pkgs,
config,
...
}:
{
imports = [
../../common/cpu/amd
../../common/cpu/amd/raphael/igpu.nix
../../common/cpu/amd/pstate.nix
../../common/gpu/nvidia
../../common/gpu/nvidia/prime.nix
../../common/hidpi.nix
../../common/pc/laptop
../../common/pc/ssd
../battery.nix
];
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.6") pkgs.linuxPackages_latest;
# The bottom 2 parts are taken from the framework 16-inch laptops configurations.
# Workaround for SuspendThenHibernate: https://lore.kernel.org/linux-kernel/20231106162310.85711-1-mario.limonciello@amd.com/
boot.kernelParams =
lib.optionals (lib.versionOlder config.boot.kernelPackages.kernel.version "6.8")
[ "rtc_cmos.use_acpi_alarm=1" ];
# 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;
# Adds the missing asus functionality to Linux.
# https://asus-linux.org/manual/asusctl-manual/
services = {
asusd = {
enable = lib.mkDefault true;
enableUserService = lib.mkDefault true;
};
};
hardware.nvidia = {
powerManagement.enable = lib.mkDefault true;
modesetting.enable = lib.mkDefault true;
open = lib.mkDefault false;
nvidiaSettings = lib.mkDefault true;
prime = {
amdgpuBusId = "PCI:54:0:0";
nvidiaBusId = "PCI:1:0:0";
};
};
}

16
asus/fa507rm/default.nix Normal file
View file

@ -0,0 +1,16 @@
{ ... }:
{
imports = [
../../common/cpu/amd
../../common/gpu/nvidia/prime.nix
../../common/gpu/nvidia/ampere
../../common/pc/laptop
../../common/pc/ssd
];
hardware.nvidia.prime = {
amdgpuBusId = "PCI:5:0:0";
nvidiaBusId = "PCI:1:0:0";
};
}

View file

@ -0,0 +1,52 @@
{
config,
lib,
...
}:
let
inherit (lib) mkEnableOption mkIf mkMerge;
cfg = config.hardware.asus.flow.gv302x;
in
{
imports = [
../shared.nix
];
options.hardware.asus.flow.gv302x.amdgpu = {
recovery.enable = (mkEnableOption "Enable amdgpu.gpu_recovery kernel boot param") // {
default = false;
};
sg_display.enable = (mkEnableOption "Enable amdgpu.gpu_recovery kernel boot param") // {
default = true;
};
psr.enable = (mkEnableOption "Enable amdgpu.dcdebugmask=0x10 kernel boot param") // {
default = true;
};
};
config = mkMerge [
(mkIf cfg.amdgpu.recovery.enable {
# Hopefully fixes for where the kernel sometimes hangs when suspending or hibernating
# (Though, I'm very suspicious of the Mediatek Wifi...)
boot.kernelParams = [
"amdgpu.gpu_recovery=1"
];
})
(mkIf (!cfg.amdgpu.sg_display.enable) {
# Can help solve flickering/glitching display issues since Scatter/Gather code was reenabled
boot.kernelParams = [
"amdgpu.sg_display=0"
];
})
(mkIf (!cfg.amdgpu.psr.enable) {
# Can help solve flickering/glitching display issues since Scatter/Gather code was reenabled
boot.kernelParams = [
"amdgpu.dcdebugmask=0x10"
];
})
];
}

View file

@ -0,0 +1,55 @@
{
lib,
pkgs,
config,
...
}:
let
inherit (lib) mkDefault;
in
{
imports = [
../shared.nix
## "prime.nix" loads this, aleady:
# ../../../common/gpu/nvidia
../../../../common/gpu/nvidia/prime.nix
../../../../common/gpu/nvidia/ada-lovelace
];
# NVIDIA GeForce RTX 4070 Mobile
boot = {
blacklistedKernelModules = [ "nouveau" ];
};
hardware = {
## Enable the Nvidia card, as well as Prime and Offload:
amdgpu.initrd.enable = mkDefault true;
nvidia = {
modesetting.enable = true;
nvidiaSettings = mkDefault true;
prime = {
offload = {
enable = mkDefault true;
enableOffloadCmd = mkDefault true;
};
amdgpuBusId = "PCI:69:0:0";
nvidiaBusId = "PCI:1:0:0";
};
powerManagement = {
enable = mkDefault true;
finegrained = mkDefault true;
};
dynamicBoost.enable = mkDefault true;
};
};
}

114
asus/flow/gv302x/shared.nix Normal file
View file

@ -0,0 +1,114 @@
{
config,
pkgs,
lib,
...
}:
let
inherit (lib)
mkDefault
mkEnableOption
mkIf
mkMerge
versionAtLeast
;
cfg = config.hardware.asus.flow.gv302x;
in
{
imports = [
../../../common/cpu/amd
# Better power-savings from AMD PState:
../../../common/cpu/amd/pstate.nix
../../../common/gpu/amd
../../../common/pc/laptop
../../../common/pc/ssd
];
options.hardware.asus.flow.gv302x = {
# Kernels earlier than 6.9 (possibly even earlier) tend to take 1-2 key-presses
# to wake-up the internal keyboard after the device is suspended.
# Therefore, this option disables auto-suspend for the keyboard by default, but
# enables it for kernel 6.9.x onwards.
#
# Note: the device name is "ASUS N-KEY Device".
keyboard.autosuspend.enable =
(mkEnableOption "Enable auto-suspend on the internal USB keyboard (ASUS N-KEY Device) on Flow GV302X")
// {
default = versionAtLeast config.boot.kernelPackages.kernel.version "6.9";
defaultText = lib.literalExpression "lib.versionAtLeast config.boot.kernelPackages.kernel.version \"6.9\"";
};
# The ASUS 8295 ITE device will cause an immediate wake-up when trying to suspend the laptop.
# After the first successful hibernate, it will work as expected, however.
# NOTE: I'm not actually sure what this device, as neither the touchpad nor the M1-M4 keys cause a wake-up.
ite-device.wakeup.enable = mkEnableOption "Enable power wakeup on the internal USB keyboard-like device (8295 ITE Device) on Flow GV302X";
};
config = mkMerge [
{
# Configure basic system settings:
boot = {
kernelModules = [ "kvm-amd" ];
kernelParams = [
"mem_sleep_default=deep"
"pcie_aspm.policy=powersupersave"
];
};
services = {
asusd = {
enable = mkDefault true;
enableUserService = mkDefault true;
};
supergfxd.enable = mkDefault true;
udev = {
extraHwdb = ''
# Fixes mic mute button
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
KEYBOARD_KEY_ff31007c=f20
'';
};
};
#flow devices are 2 in 1 laptops
hardware.sensor.iio.enable = mkDefault true;
}
(mkIf (!cfg.keyboard.autosuspend.enable) {
services.udev.extraRules = ''
# Disable power auto-suspend for the ASUS N-KEY device, i.e. USB Keyboard.
# Otherwise on certain kernel-versions, it will tend to take 1-2 key-presses to wake-up after the device suspends.
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/autosuspend", ATTR{idVendor}=="0b05", ATTR{idProduct}=="19b6", ATTR{power/autosuspend}="-1"
'';
})
(mkIf (!cfg.ite-device.wakeup.enable) {
services.udev.extraRules = ''
# Disable power wakeup for the 8295 ITE device.
# Otherwise on certain kernel-versions, it will tend to cause the laptop to immediately wake-up when suspending.
# ACTION=="add|change", SUBSYSTEM=="usb", DRIVER="usb", TEST="power/wakeup", ATTR{idVendor}=="0b05", ATTR{idProduct}=="193b", ATTR{power/wakeup}="disabled"
ACTION=="add|change", SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="193b", ATTR{power/wakeup}="disabled"
'';
})
(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
# https://wiki.archlinux.org/title/Iwd#iwd_keeps_roaming
#
# But NixOS doesn't have the tweaks for IWD, yet.
networking.wireless.iwd.settings = {
General = {
RoamThreshold = -75;
RoamThreshold5G = -80;
RoamRetryInterval = 20;
};
};
})
];
}

View file

@ -2,7 +2,7 @@
{ {
imports = [ imports = [
../../common/cpu/intel ../../common/cpu/intel
../../common/pc/laptop ../../common/pc/laptop
]; ];
#Nouveau doesn't work at all on this model. #Nouveau doesn't work at all on this model.

28
asus/fx506hm/README.md Normal file
View file

@ -0,0 +1,28 @@
<!-- vim: set fenc=utf-8 ts=2 sw=2 sts=-1 sr et si tw=0 fdm=marker fmr={{{,}}}: -->
# [ASUS TUF Gaming F15 FX506HM (2021)](https://www.asus.com/laptops/for-gaming/tuf-gaming/2021-asus-tuf-gaming-f15/)
This imports common modules for the Intel CPU and iGPU, Nvidia and PRIME render offloading, basic laptop configs, basic SSD configs and configs for ASUS batteries.
On top of that, it sets the right PCI bus IDs for the iGPU and dGPU to make PRIME work well and enables modesetting.
## Useful other things to consider in your configuration
### Battery charging limit
Due to the common module for ASUS batteries, you can make your battery only charge up to a certain percentage to improve its life. You can place something similar to the following in your configuration to enable it:
```nix
hardware.asus.battery =
{
chargeUpto = 85; # Maximum level of charge for your battery, as a percentage.
enableChargeUptoScript = true; # Whether to add charge-upto to environment.systemPackages. `charge-upto 85` temporarily sets the charge limit to 85%.
};
```
### OpenRGB
You can use OpenRGB to control the RGB keyboard on this laptop. There's also plugins for it to get some extra RGB lighting modes if you wish. You can place the following in your configuration to enable it:
```nix
boot.kernelModules = [ "i2c-dev" ];
hardware.i2c.enable = true;
services.udev.packages = [ pkgs.openrgb ];
services.hardware.openrgb.enable = true;
```

22
asus/fx506hm/default.nix Normal file
View file

@ -0,0 +1,22 @@
{ config, lib, ... }:
{
imports = [
../../common/cpu/intel
../../common/gpu/nvidia
../../common/gpu/nvidia/prime.nix
../../common/pc/laptop
../../common/pc/ssd
../battery.nix
];
hardware.nvidia = {
modesetting.enable = lib.mkDefault true;
open = lib.mkIf (lib.versionAtLeast config.hardware.nvidia.package.version "555") true;
prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
};
}

View file

@ -0,0 +1,29 @@
= ASUS Pro WS X570-ACE =
== Firmware issues ==
=== BIOS ===
BIOS version 4805 (and possibly older) has broken <code>X2APIC</code> mode, which in turn breaks <code>amd-pstate</code> support.
Other possible config values for <code>APIC</code> are <code>Compatibility</code>, <code>Auto</code> and <code>XAPIC</code>; best results were observed with <code>XAPIC</code>.
This is the error in dmesg when <code>X2APIC</code> is enabled:
<code>
amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled
</code>
=== IPMI ===
The IPMI is half-baked and for the most part unusable in a pure Linux environment, see https://forum.level1techs.com/t/remote-management-on-the-asus-pro-ws-x570-ace-under-linux
== Firmware features ==
=== IOMMU ===
The groups are great, it's a good board for VFIO.
=== ECC Memory ===
As stated on the product page, it works; explicitly enabling in BIOS might be required.
Tested with <code>M391A2K43BB1-CTD</code>.

View file

@ -0,0 +1,19 @@
{
imports = [
../../common/pc
../../common/pc/ssd
../../common/cpu/amd/pstate.nix
];
boot.kernelModules = [
# Nuvoton NCT6798D - temperature, voltage and RPM
"nct6775"
# a single "temp1" sensor, always at "+31.9°C"
# commented because it's not useful, but left here for reference
# Bus `SMBus PIIX4 adapter port 1 at 0b20'
# Busdriver `i2c_piix4', I2C address 0x4f
# Chip `ds75'
# "lm75"
];
}

View file

@ -0,0 +1,16 @@
{ ... }:
{
imports = [
../../common/cpu/intel/skylake
../../common/gpu/nvidia/maxwell
../../common/gpu/nvidia/prime.nix
../../common/pc/laptop
../../common/pc/ssd
];
hardware.nvidia.prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
}

View file

@ -0,0 +1,17 @@
{
imports = [
../../../common/cpu/amd
../../../common/cpu/amd/pstate.nix
../../../common/gpu/nvidia
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/ampere
../../../common/pc/laptop
../../../common/pc/ssd
../../battery.nix
];
hardware.nvidia.prime = {
amdgpuBusId = "PCI:05:00:0";
nvidiaBusId = "PCI:01:00:0";
};
}

View file

@ -0,0 +1,18 @@
{ ... }:
{
imports = [
../../../common/cpu/amd
../../../common/cpu/amd/pstate.nix
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/ampere
../../../common/pc/laptop
../../../common/pc/ssd
../../battery.nix
];
hardware.nvidia.prime = {
amdgpuBusId = "PCI:6:0:0";
nvidiaBusId = "PCI:1:0:0";
};
}

View file

@ -0,0 +1,17 @@
{ ... }:
{
imports = [
../../../common/cpu/intel
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/ampere
../../../common/pc/laptop
../../../common/pc/ssd
../../battery.nix
];
hardware.nvidia.prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
}

View file

@ -0,0 +1,17 @@
{
imports = [
../../../common/cpu/amd
../../../common/cpu/amd/pstate.nix
../../../common/gpu/nvidia
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/ampere
../../../common/pc/laptop
../../../common/pc/ssd
../../battery.nix
];
hardware.nvidia.prime = {
amdgpuBusId = "PCI:5:0:0";
nvidiaBusId = "PCI:1:0:0";
};
}

View file

@ -0,0 +1,31 @@
{ pkgs, lib, ... }:
{
imports = [
../../../common/cpu/amd/pstate.nix
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/ampere
../../../common/pc/laptop
../../../common/pc/ssd
../../battery.nix
];
# fixing audio by overriding pins as suggested in
# https://www.reddit.com/r/ASUS/comments/mfokva/asus_strix_scar_17_g733qs_and_linux/
hardware.firmware = [
(pkgs.runCommand "jack-retask" { } ''
install -D ${./hda-jack-retask.fw} $out/lib/firmware/hda-jack-retask.fw
'')
];
boot.extraModprobeConfig = ''
options snd-hda-intel patch=hda-jack-retask.fw
'';
# before 5.12 it would interpret every keystroke as the power button
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.12") (
lib.mkDefault pkgs.linuxPackages_latest
);
hardware.nvidia.prime = {
amdgpuBusId = "PCI:5:0:0";
nvidiaBusId = "PCI:1:0:1";
};
}

View file

@ -0,0 +1,16 @@
[codec]
0x10ec0285 0x10431e6e 0
[pincfg]
0x12 0x90a60140
0x13 0x40000000
0x14 0x90170152
0x16 0x411111f0
0x17 0x90170110
0x18 0x411111f0
0x19 0x03a19020
0x1a 0x411111f0
0x1b 0x411111f0
0x1d 0x40663a45
0x1e 0x90170151
0x21 0x03211020

View file

@ -0,0 +1,26 @@
# Motherboard: ROG STRIX X570-E GAMING
{ ... }:
{
imports = [
../../../common/cpu/amd
../../../common/cpu/amd/pstate.nix
../../../common/cpu/amd/zenpower.nix
../../../common/pc/ssd
];
boot.kernelModules = [
"btintel" # Bluetooth driver for Intel AX200 802.11ax
"nct6775" # Temperature and Fan Sensor for Nuvoton NCT6798D-R
];
}
# Troubleshooting: Bluetooth device missing
# There is a known electrical design problem in ROG Strix X570-E Gaming motherboard:
# https://www.reddit.com/r/ASUS/comments/romkqq/bluetooth_and_wifi_stopped_working_rog_strix/
# Whenever Bluetooth device fails to list (sudo dmesg | grep Bluetooth; hciconfig).
# Consider:
# 1. Turning off computer.
# 2. Unplugging computer's power supply.
# 3. Holding down power button for 15s.
# 4. Bluetooth device should list then.

View file

@ -0,0 +1,36 @@
{ lib, ... }:
let
inherit (lib) mkDefault;
in
{
imports = [
../../../common/cpu/amd
../../../common/cpu/amd/pstate.nix
# iGPU
../../../common/gpu/amd
# dGPU
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/ampere
../../../common/pc/laptop
../../../common/pc/ssd
../../battery.nix
];
hardware.nvidia = {
dynamicBoost.enable = mkDefault true;
powerManagement = {
enable = mkDefault true;
finegrained = mkDefault true;
};
prime = {
amdgpuBusId = "PCI:1:0:0";
nvidiaBusId = "PCI:101:0:0";
};
};
}

View file

@ -0,0 +1,47 @@
# Asus Zenbook Flip S13
This is tested on an [UX371](https://www.asus.com/laptops/for-home/zenbook/zenbook-flip-s-ux371-11th-gen-intel/).
## Tested Hardware
```bash
lspci -nn
0000:00:00.0 Host bridge [0600]: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers [8086:9a14] (rev 01)
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01)
0000:00:04.0 Signal processing controller [1180]: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant [8086:9a03] (rev 01)
0000:00:07.0 PCI bridge [0604]: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #0 [8086:9a23] (rev 01)
0000:00:07.1 PCI bridge [0604]: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #1 [8086:9a25] (rev 01)
0000:00:08.0 System peripheral [0880]: Intel Corporation GNA Scoring Accelerator module [8086:9a11] (rev 01)
0000:00:0a.0 Signal processing controller [1180]: Intel Corporation Tigerlake Telemetry Aggregator Driver [8086:9a0d] (rev 01)
0000:00:0d.0 USB controller [0c03]: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller [8086:9a13] (rev 01)
0000:00:0d.2 USB controller [0c03]: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #0 [8086:9a1b] (rev 01)
0000:00:0e.0 RAID bus controller [0104]: Intel Corporation Volume Management Device NVMe RAID Controller [8086:9a0b]
0000:00:12.0 Serial controller [0700]: Intel Corporation Tiger Lake-LP Integrated Sensor Hub [8086:a0fc] (rev 20)
0000:00:14.0 USB controller [0c03]: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller [8086:a0ed] (rev 20)
0000:00:14.2 RAM memory [0500]: Intel Corporation Tiger Lake-LP Shared SRAM [8086:a0ef] (rev 20)
0000:00:14.3 Network controller [0280]: Intel Corporation Wi-Fi 6 AX201 [8086:a0f0] (rev 20)
0000:00:15.0 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 [8086:a0e8] (rev 20)
0000:00:15.1 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #1 [8086:a0e9] (rev 20)
0000:00:16.0 Communication controller [0780]: Intel Corporation Tiger Lake-LP Management Engine Interface [8086:a0e0] (rev 20)
0000:00:1d.0 System peripheral [0880]: Intel Corporation RST VMD Managed Controller [8086:09ab]
0000:00:1f.0 ISA bridge [0601]: Intel Corporation Tiger Lake-LP LPC Controller [8086:a082] (rev 20)
0000:00:1f.3 Multimedia audio controller [0401]: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller [8086:a0c8] (rev 20)
0000:00:1f.4 SMBus [0c05]: Intel Corporation Tiger Lake-LP SMBus Controller [8086:a0a3] (rev 20)
0000:00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP SPI Controller [8086:a0a4] (rev 20)
10000:e0:1d.0 PCI bridge [0604]: Intel Corporation Tiger Lake-LP PCI Express Root Port #9 [8086:a0b0] (rev 20)
10000:e1:00.0 Non-Volatile memory controller [0108]: Sandisk Corp WD Black SN750 / PC SN730 / Red SN700 NVMe SSD [15b7:5006]
```
## Updating Firmware
First enable `fwupd` in your config
```nix
services.fwupd.enable = true;
```
Then run
```bash
$ fwupdmgr update
```

View file

@ -0,0 +1,25 @@
{
config,
lib,
...
}:
{
imports = [
../../../common/cpu/intel/tiger-lake
../../../common/pc/laptop
../../../common/pc/ssd
../../battery.nix
];
# while tiger-lake in general not supported by xe, some chipsets like this one are.
hardware.intelgpu.driver = lib.mkIf (lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.8") "xe";
boot.kernelParams = lib.mkIf (config.hardware.intelgpu.driver == "xe") [
"i915.force_probe=!9a49"
"xe.force_probe=9a49"
];
hardware.enableRedistributableFirmware = lib.mkDefault true;
services.thermald.enable = lib.mkDefault true;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}

View file

@ -0,0 +1,53 @@
# Asus Zenbook Duo 14 UX481
These profiles has been tested on a slightly modified device as I have swapped the Intel Optane NVME for a Kingston NVME with a higher capacity.
# GPU
You need to pick between running only Intel iGPU or running both Intel iGPU and NVIDIA dGPU. By only running iGPU the battery life is a bit better as the dGPU is turned off. You can offload applications if running on NVIDIA dGPU using
```bash
nvidia-offload
```
## Battery charging limit:
Using the ASUS module you can limit the charging percentage. This can be done as follows:
```nix
hardware.asus.battery =
{
chargeUpto = 90; # Maximum level of charge for your battery, as a percentage.
enableChargeUptoScript = true; # Whether to add charge-upto to environment.systemPackages. `charge-upto 100` temporarily sets the charge limit to 100%, useful if you're going to need the extra battery on a longer journey.
};
```
## Hardware:
```bash
$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Comet Lake-U v1 4c Host Bridge/DRAM Controller [8086:9b61] (rev 0c)
00:02.0 VGA compatible controller [0300]: Intel Corporation CometLake-U GT2 [UHD Graphics] [8086:9b41] (rev 02)
00:04.0 Signal processing controller [1180]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8086:1903] (rev 0c)
00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911]
00:12.0 Signal processing controller [1180]: Intel Corporation Comet Lake Thermal Subsytem [8086:02f9]
00:14.0 USB controller [0c03]: Intel Corporation Comet Lake PCH-LP USB 3.1 xHCI Host Controller [8086:02ed]
00:14.2 RAM memory [0500]: Intel Corporation Comet Lake PCH-LP Shared SRAM [8086:02ef]
00:14.3 Network controller [0280]: Intel Corporation Comet Lake PCH-LP CNVi WiFi [8086:02f0]
00:15.0 Serial bus controller [0c80]: Intel Corporation Serial IO I2C Host Controller [8086:02e8]
00:15.1 Serial bus controller [0c80]: Intel Corporation Comet Lake Serial IO I2C Host Controller [8086:02e9]
00:15.2 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH-LP LPSS: I2C Controller #2 [8086:02ea]
00:15.3 Serial bus controller [0c80]: Intel Corporation Device [8086:02eb]
00:16.0 Communication controller [0780]: Intel Corporation Comet Lake Management Engine Interface [8086:02e0]
00:1c.0 PCI bridge [0604]: Intel Corporation Comet Lake PCI Express Root Port #1 [8086:02b8] (rev f0)
00:1c.4 PCI bridge [0604]: Intel Corporation Comet Lake PCI Express Root Port #5 [8086:02bc] (rev f0)
00:1d.0 PCI bridge [0604]: Intel Corporation Comet Lake PCI Express Root Port #9 [8086:02b0] (rev f0)
00:1d.4 PCI bridge [0604]: Intel Corporation Comet Lake PCI Express Root Port #13 [8086:02b4] (rev f0)
00:1f.0 ISA bridge [0601]: Intel Corporation Comet Lake PCH-LP LPC Premium Controller/eSPI Controller [8086:0284]
00:1f.3 Audio device [0403]: Intel Corporation Comet Lake PCH-LP cAVS [8086:02c8]
00:1f.4 SMBus [0c05]: Intel Corporation Comet Lake PCH-LP SMBus Host Controller [8086:02a3]
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake SPI (flash) Controller [8086:02a4]
02:00.0 3D controller [0302]: NVIDIA Corporation GP108BM [GeForce MX250] [10de:1d52] (rev a1)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader [10ec:522a] (rev 01)
04:00.0 Non-Volatile memory controller [0108]: Kingston Technology Company, Inc. NV2 NVMe SSD [TC2200] (DRAM-less) [2646:501d]
```

View file

@ -0,0 +1,8 @@
{ lib, ... }:
{
imports = [
../shared.nix
../../../../common/gpu/intel/comet-lake
../../../../common/gpu/nvidia/disable.nix # Disabling nvidia
];
}

View file

@ -0,0 +1,17 @@
{ lib, ... }:
{
imports = [
../shared.nix
../../../../common/gpu/nvidia/pascal
../../../../common/gpu/nvidia/prime.nix
];
hardware.nvidia = {
prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:2:0:0";
};
dynamicBoost.enable = lib.mkForce false; # Dynamic boost is not supported on Pascal architeture
};
}

View file

@ -0,0 +1,25 @@
{
config,
lib,
...
}:
{
imports = [
../../../common/cpu/intel/comet-lake/cpu-only.nix
../../../common/pc/laptop
../../../common/pc/ssd
../../battery.nix
];
boot.kernelParams = [
# These options are needed for suspend to work,
# otherwise the nvme will be mounted read-only on resume
"pcie_aspm=off"
"pcie_port_pm=off"
"nvme_core.default_ps_max_latency_us=0"
"mem_sleep_default=deep"
];
services.thermald.enable = lib.mkDefault true;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}

View file

@ -0,0 +1,105 @@
# Asus Zenbook Pro UX535
Tested on a slightly modified device - the Intel Optane combination SSD was replaced with a higher capacity Sabrent Drive. From Using the Optane Drive without Optane Mode in Windows, I hypothesise that the drive should work assuming the BIOS Settings are Correct - I believe there was a RAID mode I turned off? In Windows, the Optane blocks appeared as a separate drive, I'd suggest maybe use this as Swap?
## ScreenPad:
Configuration for the ScreenPad is unable to be provided here at this time, due to reliance on Additional Modules not included in Nixpkgs. If you want to install the [ScreenPad Kernel Module](https://github.com/Plippo/asus-wmi-screenpad), I recommend using the packaging of it for nix created by [MatthewCash](https://github.com/MatthewCash/asus-wmi-screenpad-module). It can be installed as below:
```nix
# flake.nix
{
inputs = {
nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-unstable";
};
screenpad-driver={
url = "github:MatthewCash/asus-wmi-screenpad-module";
inputs.nixpkgs.follows="nixpkgs";
};
};
outputs = inputs@{nixpkgs, screenpad-driver, ...}:{
# Replace hostname with your hostname
nixosConfigurations.hostname=inputs.nixpkgs.lib.nixosSystem{
modules = [
./configuration.nix
{
boot.extraModulePackages = let
screenpad-driver-package = (kernelPackage:
let
asus-wmi-screenpad = screenpad-driver.defaultPackage.${system}.override{kernel=kernelPackage;};
in [
asus-wmi-screenpad
]
);
in (screenpad-driver-package ${yourKernelPackages}.kernel); # Replace ${yourKernelPackages} with the value of your config.boot.kernelPackages, for me, this would be pkgs.kernelPackages_latest
boot.kernelModules = [
"asus-wmi-screenpad"
];
}
];
};
};
}
```
I also recommend writing some kind of script to be able to turn the screenpad On and Off with the correct positioning. If you're using KDE Plasma, feel free to use [mine](https://github.com/Green-D-683/Asus-ScreenPad-Linux). You may also want a script to be able to turn on the main display, as it has an irritating habit of turning itself off, making the screenpad the primary display whenever you plug in a new monitor configuration.
## Battery charging limit:
Due to the common module for ASUS batteries, you can make your battery only charge up to a certain percentage to improve its life. You can place something similar to the following in your configuration to enable it.
```nix
hardware.asus.battery =
{
chargeUpto = 90; # Maximum level of charge for your battery, as a percentage.
enableChargeUptoScript = true; # Whether to add charge-upto to environment.systemPackages. `charge-upto 100` temporarily sets the charge limit to 100%, useful if you're going to need the extra battery on a longer journey.
};
```
## Thunderbolt:
I don't own any Thunderbolt devices to be able to test transfer speeds or PCIe Tunnelling, but I've tested both USB Monitors and Display-Out though the Thunderbolt 3 port and both seem to work well.
## Hardware Lists:
```bash
$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 10th Gen Core Processor Host Bridge/DRAM Registers [8086:9b44] (rev 02)
00:01.0 PCI bridge [0604]: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation CometLake-H GT2 [UHD Graphics] [8086:9bc4] (rev 05)
00:04.0 Signal processing controller [1180]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8086:1903] (rev 02)
00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911]
00:12.0 Signal processing controller [1180]: Intel Corporation Comet Lake PCH Thermal Controller [8086:06f9]
00:14.0 USB controller [0c03]: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller [8086:06ed]
00:14.2 RAM memory [0500]: Intel Corporation Comet Lake PCH Shared SRAM [8086:06ef]
00:14.3 Network controller [0280]: Intel Corporation Comet Lake PCH CNVi WiFi [8086:06f0]
00:15.0 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH Serial IO I2C Controller #0 [8086:06e8]
00:15.1 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH Serial IO I2C Controller #1 [8086:06e9]
00:15.2 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH Serial IO I2C Controller #2 [8086:06ea]
00:16.0 Communication controller [0780]: Intel Corporation Comet Lake HECI Controller [8086:06e0]
00:17.0 SATA controller [0106]: Intel Corporation Device [8086:06d3]
00:1b.0 PCI bridge [0604]: Intel Corporation Comet Lake PCI Express Root Port #21 [8086:06ac] (rev f0)
00:1d.0 PCI bridge [0604]: Intel Corporation Comet Lake PCI Express Root Port #9 [8086:06b0] (rev f0)
00:1d.5 PCI bridge [0604]: Intel Corporation Device [8086:06b5] (rev f0)
00:1f.0 ISA bridge [0601]: Intel Corporation Comet Lake LPC Controller [8086:068d]
00:1f.3 Audio device [0403]: Intel Corporation Comet Lake PCH cAVS [8086:06c8]
00:1f.4 SMBus [0c05]: Intel Corporation Comet Lake PCH SMBus Controller [8086:06a3]
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH SPI Controller [8086:06a4]
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU117M [GeForce GTX 1650 Ti Mobile] [10de:1f95] (rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10fa] (rev a1)
02:00.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] [8086:15e7] (rev 06)
03:00.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] [8086:15e7] (rev 06)
03:01.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] [8086:15e7] (rev 06)
03:02.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] [8086:15e7] (rev 06)
04:00.0 System peripheral [0880]: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 2C 2018] [8086:15e8] (rev 06)
6c:00.0 USB controller [0c03]: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 2C 2018] [8086:15e9] (rev 06)
6d:00.0 Non-Volatile memory controller [0108]: Phison Electronics Corporation E18 PCIe4 NVMe Controller [1987:5018] (rev 01)
6e:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader [10ec:522a] (rev 01)
```

View file

@ -0,0 +1,31 @@
{
lib,
...
}:
{
imports = [
../../../common/gpu/nvidia/turing
../../../common/gpu/nvidia/prime.nix
../../../common/cpu/intel
../../../common/gpu/intel/comet-lake
../../../common/pc/ssd
../../../common/hidpi.nix # 4K screen is HiDPI
../../battery.nix
];
config = {
hardware.nvidia = {
prime = {
intelBusId = "PCI:0:2:0"; # Intel UHD Graphics Comet Lake
nvidiaBusId = "PCI:1:0:0"; # Nvidia GTX 1650 Ti Max-Q
reverseSync.enable = lib.mkDefault true; # Turning this on meant the Thunderbolt port was able to be used for video
};
dynamicBoost.enable = false; # Doesn't work on this GPU - causes error rebuilding
};
powerManagement.powertop.enable = lib.mkDefault false; # This caused issues with USB ports losing power while the device was on
services.hardware.bolt.enable = lib.mkDefault true; # Thunderbolt
};
}

View file

@ -0,0 +1,37 @@
{ 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 = {
# Enable DRM kernel mode setting
# This will also cause "PCI-Express Runtime D3 Power Management" to be enabled by default
modesetting.enable = lib.mkDefault true;
dynamicBoost.enable = lib.mkDefault true;
prime = {
amdgpuBusId = "PCI:4:0:0";
nvidiaBusId = "PCI:1:0:0";
};
};
services = {
asusd.enable = lib.mkDefault true;
udev.extraHwdb = ''
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
KEYBOARD_KEY_ff31007c=f20 # fixes mic mute button
KEYBOARD_KEY_ff3100b2=home # Set fn+LeftArrow as Home
KEYBOARD_KEY_ff3100b3=end # Set fn+RightArrow as End
'';
};
}

View file

@ -0,0 +1,38 @@
{ lib, ... }:
{
imports = [
../../../common/cpu/amd
../../../common/cpu/amd/pstate.nix
../../../common/gpu/amd
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/turing
../../../common/pc/laptop
../../../common/pc/ssd
];
hardware.nvidia = {
# Enable DRM kernel mode setting
# This will also cause "PCI-Express Runtime D3 Power Management" to be enabled by default
modesetting.enable = lib.mkDefault true;
# Dynamic boost is available on ampere GPUs and newer, not this laptop
dynamicBoost.enable = lib.mkDefault false;
prime = {
amdgpuBusId = "PCI:4:0:0";
nvidiaBusId = "PCI:1:0:0";
};
};
services = {
asusd.enable = lib.mkDefault true;
udev.extraHwdb = ''
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
KEYBOARD_KEY_ff31007c=f20 # fixes mic mute button
KEYBOARD_KEY_ff3100b2=home # Set fn+LeftArrow as Home
KEYBOARD_KEY_ff3100b3=end # Set fn+RightArrow as End
'';
};
}

View file

@ -0,0 +1,32 @@
{ lib, config, ... }:
{
imports = [
../../../common/cpu/amd
../../../common/cpu/amd/pstate.nix
../../../common/gpu/amd
../../../common/pc/laptop
../../../common/pc/ssd
];
services = {
asusd.enable = lib.mkDefault true;
# fixes mic mute button
udev.extraHwdb = ''
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
KEYBOARD_KEY_ff31007c=f20
'';
};
boot = {
kernelParams = [ "pcie_aspm.policy=powersupersave" ];
};
assertions = [
{
assertion = (lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.2");
message = "The ga402 requires kernel version >=6.2 to ensure that fans are correctly managed. Please upgrade nixpkgs for this system.";
}
];
}

View file

@ -0,0 +1,16 @@
# Deprecation of //asus/zephyrus/ga402x/default.nix
Background:
The `asus-zephyrus-ga402x` provides an attr-set with `amdgpu` and `nvidia` entries, to allow users
to choose whether to enable only the AMD-GPU driver, or also enable the NVidia driver with (by
default) Prime enabled.
However, this attr-set style seems to be broken by [PR #1046](https://github.com/NixOS/nixos-hardware/pull/1046),
which exports modules as paths, instead.
That change seems to cause an error of "value is a path while a set was expected".
[PR #1053](https://github.com/NixOS/nixos-hardware/pull/1053):
- Replaced `asus-zephyrus-ga402x.amdgpu` with a `asus-zephyrus-ga402x-amdgpu` entry.
- Replaced `asus-zephyrus-ga402x.nvidia` with a `asus-zephyrus-ga402x-nvidia` entry.
- Made `asus-zephyrus-ga402x` throw a deprecation error.
- [FIXES: #1052](https://github.com/NixOS/nixos-hardware/issues/1052)

View file

@ -0,0 +1,52 @@
{
config,
lib,
...
}:
let
inherit (lib) mkEnableOption mkIf mkMerge;
cfg = config.hardware.asus.zephyrus.ga402x;
in
{
imports = [
../shared.nix
];
options.hardware.asus.zephyrus.ga402x.amdgpu = {
recovery.enable = (mkEnableOption "Enable amdgpu.gpu_recovery kernel boot param") // {
default = false;
};
sg_display.enable = (mkEnableOption "Enable amdgpu.gpu_recovery kernel boot param") // {
default = true;
};
psr.enable = (mkEnableOption "Enable amdgpu.dcdebugmask=0x10 kernel boot param") // {
default = true;
};
};
config = mkMerge [
(mkIf cfg.amdgpu.recovery.enable {
# Hopefully fixes for where the kernel sometimes hangs when suspending or hibernating
# (Though, I'm very suspicious of the Mediatek Wifi...)
boot.kernelParams = [
"amdgpu.gpu_recovery=1"
];
})
(mkIf (!cfg.amdgpu.sg_display.enable) {
# Can help solve flickering/glitching display issues since Scatter/Gather code was reenabled
boot.kernelParams = [
"amdgpu.sg_display=0"
];
})
(mkIf (!cfg.amdgpu.psr.enable) {
# Can help solve flickering/glitching display issues since Scatter/Gather code was reenabled
boot.kernelParams = [
"amdgpu.dcdebugmask=0x10"
];
})
];
}

View file

@ -0,0 +1,10 @@
{ ... }:
{
assertions = [
{
assertion = false;
message = "Importing asus/zephyrus/ga402x/ (default.nix) directly is deprecated! See https://github.com/NixOS/nixos-hardware/blob/master/asus/zephyrus/ga402x/ATTR-SET-DEPRECATION.md for more details";
}
];
}

View file

@ -0,0 +1,54 @@
{
lib,
pkgs,
...
}:
let
inherit (lib) mkDefault;
in
{
imports = [
../shared.nix
## "prime.nix" loads this, aleady:
# ../../../common/gpu/nvidia
../../../../common/gpu/nvidia/prime.nix
../../../../common/gpu/nvidia/ada-lovelace
];
# NVIDIA GeForce RTX 4060 Mobile
boot = {
blacklistedKernelModules = [ "nouveau" ];
};
# Also in nvidia/default.nix
services.xserver.videoDrivers = mkDefault [ "nvidia" ];
hardware = {
## Enable the Nvidia card, as well as Prime and Offload:
amdgpu.initrd.enable = mkDefault true;
nvidia = {
modesetting.enable = true;
nvidiaSettings = mkDefault true;
prime = {
offload = {
enable = mkDefault true;
enableOffloadCmd = mkDefault true;
};
amdgpuBusId = "PCI:101:0:0";
nvidiaBusId = "PCI:1:0:0";
};
powerManagement = {
# This is unreliable on the 4060; works a few times, then hangs:
# enable = true;
# finegrained = true
};
};
};
}

View file

@ -0,0 +1,118 @@
{
config,
pkgs,
lib,
...
}:
let
inherit (lib)
mkDefault
mkEnableOption
mkIf
mkMerge
version
versionAtLeast
versionOlder
;
cfg = config.hardware.asus.zephyrus.ga402x;
in
{
imports = [
../../../common/cpu/amd
# Better power-savings from AMD PState:
../../../common/cpu/amd/pstate.nix
../../../common/gpu/amd
../../../common/pc/laptop
../../../common/pc/ssd
];
options.hardware.asus.zephyrus.ga402x = {
# Kernels earlier than 6.9 (possibly even earlier) tend to take 1-2 key-presses
# to wake-up the internal keyboard after the device is suspended.
# Therefore, this option disables auto-suspend for the keyboard by default, but
# enables it for kernel 6.9.x onwards.
#
# Note: the device name is "ASUS N-KEY Device".
keyboard.autosuspend.enable =
(mkEnableOption "Enable auto-suspend on the internal USB keyboard (ASUS N-KEY Device) on Zephyrus GA402X")
// {
default = versionAtLeast config.boot.kernelPackages.kernel.version "6.9";
defaultText = lib.literalExpression "lib.versionAtLeast config.boot.kernelPackages.kernel.version \"6.9\"";
};
# The ASUS 8295 ITE device will cause an immediate wake-up when trying to suspend the laptop.
# After the first successful hibernate, it will work as expected, however.
# NOTE: I'm not actually sure what this device, as neither the touchpad nor the M1-M4 keys cause a wake-up.
ite-device.wakeup.enable = mkEnableOption "Enable power wakeup on the internal USB keyboard-like device (8295 ITE Device) on Zephyrus GA402X";
};
config = mkMerge [
{
# Configure basic system settings:
boot = {
kernelModules = [ "kvm-amd" ];
kernelParams = [
"mem_sleep_default=deep"
"pcie_aspm.policy=powersupersave"
];
};
services = {
asusd = {
enable = mkDefault true;
enableUserService = mkDefault true;
};
supergfxd.enable = mkDefault true;
udev = {
extraHwdb = ''
# Fixes mic mute button
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
KEYBOARD_KEY_ff31007c=f20
'';
};
};
}
(mkIf (!cfg.keyboard.autosuspend.enable) {
services.udev.extraRules = ''
# Disable power auto-suspend for the ASUS N-KEY device, i.e. USB Keyboard.
# Otherwise on certain kernel-versions, it will tend to take 1-2 key-presses to wake-up after the device suspends.
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/autosuspend", ATTR{idVendor}=="0b05", ATTR{idProduct}=="19b6", ATTR{power/autosuspend}="-1"
'';
})
(mkIf (!cfg.ite-device.wakeup.enable) {
services.udev.extraRules = ''
# Disable power wakeup for the 8295 ITE device.
# Otherwise on certain kernel-versions, it will tend to cause the laptop to immediately wake-up when suspending.
# ACTION=="add|change", SUBSYSTEM=="usb", DRIVER="usb", TEST="power/wakeup", ATTR{idVendor}=="0b05", ATTR{idProduct}=="193b", ATTR{power/wakeup}="disabled"
ACTION=="add|change", SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="193b", ATTR{power/wakeup}="disabled"
'';
})
(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
# https://wiki.archlinux.org/title/Iwd#iwd_keeps_roaming
#
# But NixOS doesn't have the tweaks for IWD, yet.
networking.wireless.iwd.settings = {
General = {
RoamThreshold = -75;
RoamThreshold5G = -80;
RoamRetryInterval = 20;
};
};
})
];
}

View file

@ -0,0 +1,22 @@
{ ... }:
{
imports = [
../../../common/cpu/amd
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/turing
../../../common/pc/laptop
../../../common/pc/ssd
];
hardware.nvidia.prime = {
amdgpuBusId = "PCI:6:0:0";
nvidiaBusId = "PCI:1:0:0";
};
# fixes mic mute button
services.udev.extraHwdb = ''
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
KEYBOARD_KEY_ff31007c=f20
'';
}

View file

@ -0,0 +1,22 @@
{ ... }:
{
imports = [
../../../common/cpu/amd
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/ampere
../../../common/pc/laptop
../../../common/pc/ssd
];
hardware.nvidia.prime = {
amdgpuBusId = "PCI:7:0:0";
nvidiaBusId = "PCI:1:0:0";
};
# fixes mic mute button
services.udev.extraHwdb = ''
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
KEYBOARD_KEY_ff31007c=f20
'';
}

View file

@ -0,0 +1,16 @@
{ ... }:
{
imports = [
../../../common/cpu/intel
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/ampere
../../../common/pc/laptop
../../../common/pc/ssd
];
hardware.nvidia.prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
}

View file

@ -0,0 +1,33 @@
{ lib, ... }:
{
imports = [
../../../common/cpu/intel
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/ada-lovelace
../../../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;
udev.extraHwdb = ''
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
KEYBOARD_KEY_ff31007c=f20 # fixes mic mute button
KEYBOARD_KEY_ff3100b2=home # Set fn+LeftArrow as Home
KEYBOARD_KEY_ff3100b3=end # Set fn+RightArrow as End
'';
};
}

View file

@ -0,0 +1,9 @@
{ ... }:
{
# These flags are used to enable backlight control when the dGPU is working in hybrid mode
boot.kernelParams = [
"i915.enable_dpcd_backlight=1"
"nvidia.NVreg_EnableBacklightHandler=0"
"nvidia.NVReg_RegistryDwords=EnableBrightnessControl=0"
];
}

View file

@ -0,0 +1,14 @@
{ ... }:
{
imports = [
../../common/cpu/intel
../../common/pc/laptop
../../common/pc/ssd
../../common/hidpi.nix
];
# Fixes the display being rotated 90 degrees.
boot.kernelParams = [
"fbcon=rotate:1"
"video=DSI-1:panel_orientation=right_side_up"
];
}

View file

@ -1,6 +1,5 @@
{ config, lib, ... }: { config, lib, ... }:
{ {
hardware.cpu.amd.updateMicrocode = hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
lib.mkDefault config.hardware.enableRedistributableFirmware;
} }

22
common/cpu/amd/pstate.nix Normal file
View file

@ -0,0 +1,22 @@
{ lib, config, ... }:
let
kver = config.boot.kernelPackages.kernel.version;
in
{
# Enables the amd cpu scaling https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html
# On recent AMD CPUs this can be more energy efficient.
imports = [ ./. ];
boot = lib.mkMerge [
(lib.mkIf ((lib.versionAtLeast kver "5.17") && (lib.versionOlder kver "6.1")) {
kernelParams = [ "initcall_blacklist=acpi_cpufreq_init" ];
kernelModules = [ "amd-pstate" ];
})
(lib.mkIf ((lib.versionAtLeast kver "6.1") && (lib.versionOlder kver "6.3")) {
kernelParams = [ "amd_pstate=passive" ];
})
(lib.mkIf (lib.versionAtLeast kver "6.3") {
kernelParams = [ "amd_pstate=active" ];
})
];
}

Some files were not shown because too many files have changed in this diff Show more