Skip to content

Commit 6038f6e

Browse files
committed
Merge remote-tracking branch 'upstream/master' into nixfmt
2 parents 700dbb6 + 8b1f894 commit 6038f6e

File tree

9 files changed

+82
-42
lines changed

9 files changed

+82
-42
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,17 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md).
6969

7070
For questions and discussions, come join us in the [nixos-anywhere matrix](https://matrix.to/#/#nixos-hardware:nixos.org) room.
7171

72+
# Community Meetings
73+
74+
The [NixOS hardware](https://github.com/orgs/NixOS/teams/nixos-hardware) team meets regularly to discuss hardware profiles and maintenance:
75+
76+
- **When**: Every 3rd Friday of the month
77+
- **Time**: 04:00 pm (UTC) / 16:00 (UTC)
78+
- **Where**: https://jitsi.lassul.us/Hardware-team
79+
- **Contact**: [email protected]
80+
81+
All contributors and users are welcome to join!
82+
7283
## List of Profiles
7384

7485
See code for all available configurations.

apple/t2/pkgs/linux-t2/latest.json

Lines changed: 33 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,69 @@
11
{
2-
"base_url": "https://raw.githubusercontent.com/t2linux/linux-t2-patches/60a2912ad2d05f8a2d6c68a94641d912c3a555fd/",
2+
"base_url": "https://raw.githubusercontent.com/t2linux/linux-t2-patches/8ec11f3aaa314d25e18842851a2124c0031e2e3f/",
33
"patches": [
44
{
55
"name": "1001-Add-apple-bce-driver.patch",
6-
"hash": "sha256-e3RPvWPj2QASGOS4kieO8YFekrXsBCJtfF82OPlOn2E="
6+
"hash": "sha256-00K3LmId2Ag6s5K76p7mB2a0oEXp815yRd+U5wxWPMc="
77
},
88
{
99
"name": "1002-Put-apple-bce-in-drivers-staging.patch",
1010
"hash": "sha256-wkveNo1qwAwXWDGTFed4ZDbuBnJbwKgWLmTHK9qq0oM="
1111
},
1212
{
13-
"name": "1005-HID-hid-appletb-bl-add-driver-for-the-backlight-of-A.patch",
14-
"hash": "sha256-kEscS1FAyDxLZPOPInYTXFEf4fouBEa4zGctX14hSu8="
13+
"name": "1003-Fix-sparse-errors.patch",
14+
"hash": "sha256-nuCOPWa4Hp+HCCBe6Y++M4g1k4plOWzy2hqHXlJbp9g="
1515
},
1616
{
17-
"name": "1006-HID-hid-appletb-kbd-add-driver-for-the-keyboard-mode.patch",
18-
"hash": "sha256-eVEuvnoRItaDjwWu41nn9bTkgHgY+1SL/hFAvUR2IlY="
17+
"name": "1004-Fix-freezing-on-turning-off-camera.patch",
18+
"hash": "sha256-rFrSUhiNXgQbfgKjryJktYxYcchXE1PI49Q1gW001+0="
1919
},
2020
{
21-
"name": "1007-HID-multitouch-support-getting-the-contact-ID-from.patch",
22-
"hash": "sha256-A4tExJafroVAv/Hbdt7farJM6RYl/DU5KwSbzqcdEVY="
21+
"name": "1007-HID-multitouch-Get-the-contact-ID-from-HID_DG_TRANSD.patch",
22+
"hash": "sha256-JF5PjByo4S1Rd/B5luAzOXDv+iakCnJfmujIQuUiT1A="
2323
},
2424
{
2525
"name": "1008-HID-multitouch-support-getting-the-tip-state-from-HI.patch",
26-
"hash": "sha256-GwK+d87p3UMy66037dzq6/Zearj8gnRHhqSdZczRadY="
26+
"hash": "sha256-m/NAKoHRC/HwxG5fFZxFl6DtY4Xv8kPBWvdKdtadrrk="
2727
},
2828
{
2929
"name": "1009-HID-multitouch-take-cls-maxcontacts-into-account-for.patch",
30-
"hash": "sha256-fywzHnCQ657UFye1ckiufral3pBwBGtKdxWqWqaFHM0="
30+
"hash": "sha256-h6jk9yw/4txd8PATpMxB9mIzik9+X1zP6p4K35AqdXw="
3131
},
3232
{
33-
"name": "1010-HID-multitouch-allow-specifying-if-a-device-is-direc.patch",
34-
"hash": "sha256-87SOnLgeG60Svu2Z9QUyP9P6cZ1Gznt6ZYLFImfx+vY="
33+
"name": "1010-HID-multitouch-specify-that-Apple-Touch-Bar-is-direc.patch",
34+
"hash": "sha256-5PbLynVnQqlJKPTWhcmwXCkYDEopLBQWnxWvZUt0EN4="
3535
},
3636
{
37-
"name": "1011-HID-multitouch-add-device-ID-for-Apple-Touch-Bars.patch",
38-
"hash": "sha256-TJjXAlQ4WEROnq/xd6/4JHTuEJjqT7dLLcE4etKdzc0="
37+
"name": "1011-HID-multitouch-add-device-ID-for-Apple-Touch-Bar.patch",
38+
"hash": "sha256-dIzEOj89D2rIEc2/mjq3TkIfI3ZHzu0VRDQQOzp+Snc="
3939
},
4040
{
41-
"name": "1014-drm-format-helper-Add-conversion-from-XRGB8888-to-BG.patch",
42-
"hash": "sha256-Ky19+cCiYDaHBh2o5IhZO8J1ExDT7o8K9cgPz+AL8Cg="
41+
"name": "1013-lib-vsprintf-Add-support-for-generic-FourCCs-by-exte.patch",
42+
"hash": "sha256-g8M3j1ZPND10/LtPD/txaSoJGV9Lp+g5bgn+vQc56p4="
4343
},
4444
{
45-
"name": "1015-drm-tiny-add-driver-for-Apple-Touch-Bars-in-x86-Macs.patch",
46-
"hash": "sha256-Ga0LlaS1jWTXSKh1ClcETPJctAymC6jYBQK9wwDU4Xs="
45+
"name": "1014-printf-add-tests-for-generic-FourCCs.patch",
46+
"hash": "sha256-5Z4cFBMAY695OEU/CxiGQkUz68zmKdxssD+yp1DCYgs="
47+
},
48+
{
49+
"name": "1015-drm-appletbdrm-use-p4cl-instead-of-p4cc.patch",
50+
"hash": "sha256-rZej0ZbpPv+8NROuYnf4Jpu9scCsmbKWyz7yf5A3G3s="
51+
},
52+
{
53+
"name": "1016-vsprintf-Use-p4chR-instead-of-p4cn-for-reading-data-.patch",
54+
"hash": "sha256-/Ork2CmYk6SG213Owk+nGsw7KTEVDLRzQTeWcKrPZGw="
55+
},
56+
{
57+
"name": "1017-checkpatch-remove-p4cn.patch",
58+
"hash": "sha256-lnMnjnMiR9WSNf/XYsiOwFdC9xKv8zSluWiR584xFPU="
4759
},
4860
{
4961
"name": "2008-i915-4-lane-quirk-for-mbp15-1.patch",
5062
"hash": "sha256-Ui9tK4IGSWfEscmD92emX/NfulO0m8zwLc9ivIClCFQ="
5163
},
5264
{
5365
"name": "2009-apple-gmux-allow-switching-to-igpu-at-probe.patch",
54-
"hash": "sha256-XKwlyJZjJLQz39mc0/S7sPnRnwrqMsq9OKy+QCO+oho="
66+
"hash": "sha256-aE+MEu/jRrZBa+3Q03quOHUsIseRED6A7N/K9kEVtbM="
5567
},
5668
{
5769
"name": "3001-applesmc-convert-static-structures-to-drvdata.patch",
@@ -91,7 +103,7 @@
91103
},
92104
{
93105
"name": "4001-asahi-trackpad.patch",
94-
"hash": "sha256-yfkTKKokb/+JtTwE0Dzht14S0nrSIwLFAFND90P/Cis="
106+
"hash": "sha256-QM/FtDft4N4imJBuEHg6cH3e8vEyMPLt0alDhugLPy8="
95107
},
96108
{
97109
"name": "4002-HID-quirks-remove-T2-devices-from-hid_mouse_ignore_l.patch",
@@ -119,7 +131,7 @@
119131
},
120132
{
121133
"name": "8001-Add-APFS-driver.patch",
122-
"hash": "sha256-py4DNKBsUWvw6o730ApmNdUlSyabOFnFDoAPrF40DNE="
134+
"hash": "sha256-io17Kk6FDscDoDshddK9TqSPuXVFTzjvRUwOGTl5cjM="
123135
},
124136
{
125137
"name": "8002-Necessary-modifications-to-build-APFS-with-the-kerne.patch",

apple/t2/pkgs/linux-t2/latest.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{ callPackage, linux_6_14, ... }@args:
1+
{ callPackage, linux_6_15, ... }@args:
22

33
callPackage ./generic.nix args {
4-
kernel = linux_6_14;
4+
kernel = linux_6_15;
55
patchesFile = ./latest.json;
66
}

apple/t2/pkgs/linux-t2/stable.json

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"base_url": "https://raw.githubusercontent.com/t2linux/linux-t2-patches/0543a832ecf1400798e8aef6727110ec21c3484a/",
2+
"base_url": "https://raw.githubusercontent.com/t2linux/linux-t2-patches/e08a76e1f1234885b9b68be6c843bf91833e8b0a/",
33
"patches": [
44
{
55
"name": "1001-Add-apple-bce-driver.patch",
@@ -9,6 +9,14 @@
99
"name": "1002-Put-apple-bce-in-drivers-staging.patch",
1010
"hash": "sha256-DXj4CmE7TKMGrAhQDOR5RVw9YHmyQMiXZsmxYfkKAEA="
1111
},
12+
{
13+
"name": "1003-Fix-sparse-errors.patch",
14+
"hash": "sha256-nuCOPWa4Hp+HCCBe6Y++M4g1k4plOWzy2hqHXlJbp9g="
15+
},
16+
{
17+
"name": "1004-Fix-freezing-on-turning-off-camera.patch",
18+
"hash": "sha256-rFrSUhiNXgQbfgKjryJktYxYcchXE1PI49Q1gW001+0="
19+
},
1220
{
1321
"name": "1005-HID-hid-appletb-bl-add-driver-for-the-backlight-of-A.patch",
1422
"hash": "sha256-kEscS1FAyDxLZPOPInYTXFEf4fouBEa4zGctX14hSu8="
@@ -18,32 +26,36 @@
1826
"hash": "sha256-eVEuvnoRItaDjwWu41nn9bTkgHgY+1SL/hFAvUR2IlY="
1927
},
2028
{
21-
"name": "1007-HID-multitouch-support-getting-the-contact-ID-from.patch",
22-
"hash": "sha256-A4tExJafroVAv/Hbdt7farJM6RYl/DU5KwSbzqcdEVY="
29+
"name": "1007-HID-multitouch-Get-the-contact-ID-from-HID_DG_TRANSD.patch",
30+
"hash": "sha256-JF5PjByo4S1Rd/B5luAzOXDv+iakCnJfmujIQuUiT1A="
2331
},
2432
{
2533
"name": "1008-HID-multitouch-support-getting-the-tip-state-from-HI.patch",
26-
"hash": "sha256-GwK+d87p3UMy66037dzq6/Zearj8gnRHhqSdZczRadY="
34+
"hash": "sha256-m/NAKoHRC/HwxG5fFZxFl6DtY4Xv8kPBWvdKdtadrrk="
2735
},
2836
{
2937
"name": "1009-HID-multitouch-take-cls-maxcontacts-into-account-for.patch",
30-
"hash": "sha256-fywzHnCQ657UFye1ckiufral3pBwBGtKdxWqWqaFHM0="
38+
"hash": "sha256-h6jk9yw/4txd8PATpMxB9mIzik9+X1zP6p4K35AqdXw="
39+
},
40+
{
41+
"name": "1010-HID-multitouch-specify-that-Apple-Touch-Bar-is-direc.patch",
42+
"hash": "sha256-5PbLynVnQqlJKPTWhcmwXCkYDEopLBQWnxWvZUt0EN4="
3143
},
3244
{
33-
"name": "1010-HID-multitouch-allow-specifying-if-a-device-is-direc.patch",
34-
"hash": "sha256-87SOnLgeG60Svu2Z9QUyP9P6cZ1Gznt6ZYLFImfx+vY="
45+
"name": "1011-HID-multitouch-add-device-ID-for-Apple-Touch-Bar.patch",
46+
"hash": "sha256-dIzEOj89D2rIEc2/mjq3TkIfI3ZHzu0VRDQQOzp+Snc="
3547
},
3648
{
37-
"name": "1011-HID-multitouch-add-device-ID-for-Apple-Touch-Bars.patch",
38-
"hash": "sha256-TJjXAlQ4WEROnq/xd6/4JHTuEJjqT7dLLcE4etKdzc0="
49+
"name": "1013-lib-vsprintf-Add-support-for-generic-FourCCs-by-exte.patch",
50+
"hash": "sha256-h3gxaKtvdm/GSd+AP1sPC9avWHOsceUxTmoua/3rIf4="
3951
},
4052
{
4153
"name": "1014-drm-format-helper-Add-conversion-from-XRGB8888-to-BG.patch",
4254
"hash": "sha256-Ky19+cCiYDaHBh2o5IhZO8J1ExDT7o8K9cgPz+AL8Cg="
4355
},
4456
{
4557
"name": "1015-drm-tiny-add-driver-for-Apple-Touch-Bars-in-x86-Macs.patch",
46-
"hash": "sha256-zFeDJeoM/XS+Ds3DBLEcv4JbUhlEk9z4rHQ4t6XaghA="
58+
"hash": "sha256-tDjK/VipVQbuNOURW38gssqeRLy3s8I+DVq0+4zGnHs="
4759
},
4860
{
4961
"name": "2008-i915-4-lane-quirk-for-mbp15-1.patch",
@@ -119,7 +131,7 @@
119131
},
120132
{
121133
"name": "8001-Add-APFS-driver.patch",
122-
"hash": "sha256-1VHKrO2haBqXDCef2xt2fHfCCPv2q/AhFmmM4Xxu24E="
134+
"hash": "sha256-O3RNtpeZQENPEfyYi/0ZTLhAWBAw6pmxMS30NUxOTdk="
123135
},
124136
{
125137
"name": "8002-Necessary-modifications-to-build-APFS-with-the-kerne.patch",

lenovo/legion/16arh7h/hybrid/default.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
];
1515

1616
boot.kernelModules = [ "amdgpu" ];
17-
services.xserver.videoDrivers = [ "nvidia" ];
17+
services.xserver.videoDrivers = [
18+
"amdgpu"
19+
"nvidia"
20+
];
1821

1922
hardware = {
2023
amdgpu.initrd.enable = false;

lenovo/legion/16iah7h/default.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
lib,
33
config,
44
...
5-
}: {
5+
}:
6+
{
67
imports = [
78
../../../common/cpu/intel
89
../../../common/gpu/nvidia/prime.nix
@@ -12,7 +13,7 @@
1213
../../../common/hidpi.nix
1314
];
1415

15-
boot.extraModulePackages = [config.boot.kernelPackages.lenovo-legion-module];
16+
boot.extraModulePackages = [ config.boot.kernelPackages.lenovo-legion-module ];
1617

1718
hardware = {
1819
nvidia = {

microsoft/surface/common/default.nix

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ let
1919
if kernelVersion == "longterm" then
2020
"6.12.19"
2121
else if kernelVersion == "stable" then
22-
"6.14.2"
22+
"6.15.3"
2323
else
2424
abort "Invalid kernel version: ${kernelVersion}";
2525

@@ -28,7 +28,7 @@ let
2828
if kernelVersion == "longterm" then
2929
"sha256-1zvwV77ARDSxadG2FkGTb30Ml865I6KB8y413U3MZTE="
3030
else if kernelVersion == "stable" then
31-
"sha256-xcaCo1TqMZATk1elfTSnnlw3IhrOgjqTjhARa1d6Lhs="
31+
"sha256-ErUMiZJUONnNc4WgyvycQz5lYqxd8AohiJ/On1SNZbA="
3232
else
3333
abort "Invalid kernel version: ${kernelVersion}";
3434

@@ -38,7 +38,7 @@ let
3838
if kernelVersion == "longterm" then
3939
"6.12.7"
4040
else if kernelVersion == "stable" then
41-
"6.14.2"
41+
"6.15.3"
4242
else
4343
abort "Invalid kernel version: ${kernelVersion}";
4444

@@ -47,7 +47,7 @@ let
4747
if kernelVersion == "longterm" then
4848
"sha256-Pv7O8D8ma+MPLhYP3HSGQki+Yczp8b7d63qMb6l4+mY="
4949
else if kernelVersion == "stable" then
50-
"sha256-Pzn+C52TtDcqDVepM5z2cVNCsnRDy0Wwn+FLwgsuicQ="
50+
"sha256-ozvYrZDiVtMkdCcVnNEdlF2Kdw4jivW0aMJrDynN3Hk="
5151
else
5252
abort "Invalid kernel version: ${kernelVersion}";
5353

@@ -82,6 +82,7 @@ let
8282
kernelPatches = surfacePatches {
8383
version = pkgVersion;
8484
patchFn = ./kernel/${versions.majorMinor pkgVersion}/patches.nix;
85+
patchSrc = (repos.linux-surface + "/patches/${versions.majorMinor pkgVersion}");
8586
};
8687
kernelPackages = linuxPackage {
8788
inherit kernelPatches;

microsoft/surface/common/kernel/linux-package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ let
4444

4545
surfacePatches =
4646
{
47-
patchSrc ? (repos.linux-surface + "/patches/${versions.majorMinor version}"),
47+
patchSrc,
4848
version,
4949
patchFn,
5050
}:

0 commit comments

Comments
 (0)