mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 21:13:30 +01:00
Compare commits
891
Commits
libinput-x
...
tlp
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e60c66bd0b | ||
|
|
e4c6ee69e7 | ||
|
|
ae91411396 | ||
|
|
d48e8f0e16 | ||
|
|
eea20ba3b0 | ||
|
|
2e85ae1b70 | ||
|
|
8b72f74d80 | ||
|
|
655a6da8a8 | ||
|
|
bffe23e699 | ||
|
|
5ad68c5dff | ||
|
|
fad92f5f57 | ||
|
|
f2e49f279c | ||
|
|
e598a4ca2f | ||
|
|
2567706185 | ||
|
|
7467f155fc | ||
|
|
ddb27b7bba | ||
|
|
13cc234e37 | ||
|
|
a2bc09823a | ||
|
|
86d9291cc3 | ||
|
|
8650454db6 | ||
|
|
11ea8b8477 | ||
|
|
a3576f0f3c | ||
|
|
fe21eda733 | ||
|
|
43ffe9ac82 | ||
|
|
3beac2438b | ||
|
|
b09586b101 | ||
|
|
e07b1618c3 | ||
|
|
e214e292a6 | ||
|
|
779c16f604 | ||
|
|
6ec1e82182 | ||
|
|
4bafcc2454 | ||
|
|
46ab381a8c | ||
|
|
ec7bf039ca | ||
|
|
e11482075d | ||
|
|
2379bc4099 | ||
|
|
688ee555de | ||
|
|
8b405e9c6d | ||
|
|
34b7229b95 | ||
|
|
46f9982c9b | ||
|
|
9c0ee5dfa1 | ||
|
|
7667e19678 | ||
|
|
b27995044c | ||
|
|
d6645c340e | ||
|
|
c4fe135227 | ||
|
|
9ed85f8afe | ||
|
|
c816590dca | ||
|
|
eb9e8e10ac | ||
|
|
156fbb62a9 | ||
|
|
c52ea60901 | ||
|
|
d232c6f9cc | ||
|
|
a8bbda8911 | ||
|
|
d0955d227d | ||
|
|
3441b5242a | ||
|
|
0257a0aa58 | ||
|
|
e087756cf4 | ||
|
|
a74f5ce8c6 | ||
|
|
dd4227bb1b | ||
|
|
30bf4efeda | ||
|
|
081542ae22 | ||
|
|
ba70d20716 | ||
|
|
28c41d0a5d | ||
|
|
c8b6a49ebf | ||
|
|
895e314e4b | ||
|
|
0582a93516 | ||
|
|
1243f78ca9 | ||
|
|
5e57f28e6a | ||
|
|
095a445675 | ||
|
|
0e9dc7cf61 | ||
|
|
27581273c2 | ||
|
|
170ff93c86 | ||
|
|
76a314765d | ||
|
|
4ba28b48c8 | ||
|
|
3caaf86f9d | ||
|
|
67a709cfe5 | ||
|
|
0632a5e10f | ||
|
|
4c38a024fa | ||
|
|
82e5fcb58c | ||
|
|
f89c620d3d | ||
|
|
e049c10c3e | ||
|
|
4100cffdbe | ||
|
|
a98f1a2b75 | ||
|
|
536ac3ab4b | ||
|
|
40dffd02e3 | ||
|
|
0c55f0f776 | ||
|
|
11b2a10c7b | ||
|
|
7e40faf569 | ||
|
|
295e0f92ff | ||
|
|
410a17733a | ||
|
|
a6cc50d994 | ||
|
|
af3dd1cb20 | ||
|
|
e9db02252a | ||
|
|
7e56e39db4 | ||
|
|
d9b0f10475 | ||
|
|
ba6fab2976 | ||
|
|
da1b459c17 | ||
|
|
003318603f | ||
|
|
ad6d270a9a | ||
|
|
c362a52136 | ||
|
|
4091b501aa | ||
|
|
4a39585546 | ||
|
|
71841ee366 | ||
|
|
7d524775bf | ||
|
|
2dbfb943a0 | ||
|
|
2f7f1dc6ec | ||
|
|
47eb4856cf | ||
|
|
b403970fdf | ||
|
|
81129e6f19 | ||
|
|
72d5560fb7 | ||
|
|
321cb2173b | ||
|
|
ea1e368e75 | ||
|
|
6f97793214 | ||
|
|
6b7941884f | ||
|
|
f4a07aa370 | ||
|
|
7fe67c44d1 | ||
|
|
c69cdbed34 | ||
|
|
31b333f6e7 | ||
|
|
7c75c09ab6 | ||
|
|
c5231106d4 | ||
|
|
bfce4a25eb | ||
|
|
232f44c2d5 | ||
|
|
c38b907bd4 | ||
|
|
65b725a43e | ||
|
|
fe8baa10f9 | ||
|
|
74dc6125d0 | ||
|
|
e903fd796d | ||
|
|
682c8615f1 | ||
|
|
f08ec094d3 | ||
|
|
21030ae98d | ||
|
|
3e10646c9b | ||
|
|
a57aded40e | ||
|
|
f3444245a7 | ||
|
|
9691e6ee8a | ||
|
|
bfda6f34d3 | ||
|
|
59e2d82cc2 | ||
|
|
6439a46c7c | ||
|
|
cfb36e4feb | ||
|
|
a65b650d69 | ||
|
|
048c7bbca5 | ||
|
|
3a4da5f8c1 | ||
|
|
cd3d24b038 | ||
|
|
c13241f1c0 | ||
|
|
cc896f1f7e | ||
|
|
8137ca755e | ||
|
|
ebd8f57cd9 | ||
|
|
5e741b56dc | ||
|
|
17113fc124 | ||
|
|
0413405b45 | ||
|
|
e3e3717d85 | ||
|
|
2d512d0f4e | ||
|
|
6287c9e15f | ||
|
|
3dac8a8725 | ||
|
|
c006c5a59b | ||
|
|
7dd36b62fc | ||
|
|
292aeb6fd6 | ||
|
|
c4af46bb6a | ||
|
|
79649965c5 | ||
|
|
680761f019 | ||
|
|
139a6586ed | ||
|
|
aaecdd8d3b | ||
|
|
26ed7a0d4b | ||
|
|
cd88704818 | ||
|
|
df02f4f16a | ||
|
|
659b41d59c | ||
|
|
9157552825 | ||
|
|
8972e6538b | ||
|
|
9368056b73 | ||
|
|
547c96d797 | ||
|
|
a872d98539 | ||
|
|
d99ca4e5f4 | ||
|
|
26c9d90663 | ||
|
|
f30fc54b0e | ||
|
|
c92f8fc536 | ||
|
|
28fc41508c | ||
|
|
85070738e9 | ||
|
|
1f7ed6211f | ||
|
|
37d0301b3c | ||
|
|
c46bd952e9 | ||
|
|
25fdfb36a7 | ||
|
|
19b899ead6 | ||
|
|
b90855f92a | ||
|
|
cc66fddc6c | ||
|
|
e792f2f4ac | ||
|
|
5efc6e9418 | ||
|
|
2b75e96d0d | ||
|
|
d1bfa8f6cc | ||
|
|
95ee2804d7 | ||
|
|
8ea54c025e | ||
|
|
9410081079 | ||
|
|
7ced9122cf | ||
|
|
323366c51c | ||
|
|
6015af43f3 | ||
|
|
41f2cad3f9 | ||
|
|
1828627b08 | ||
|
|
497ae1357f | ||
|
|
d2a1b158ac | ||
|
|
3b622ae6e6 | ||
|
|
a724614b86 | ||
|
|
66e88bdcaa | ||
|
|
f49bb3b410 | ||
|
|
e8bd6a44ac | ||
|
|
72cdb22463 | ||
|
|
1ead2d05dd | ||
|
|
bd65595c6d | ||
|
|
b2c7dee5c6 | ||
|
|
a7600cef40 | ||
|
|
fe49c326d5 | ||
|
|
c26dd9b171 | ||
|
|
c3f13f2610 | ||
|
|
9ac3df2a02 | ||
|
|
6038f6ebd2 | ||
|
|
8b1f894089 | ||
|
|
5e1493ea8e | ||
|
|
2f60f86b35 | ||
|
|
d4b603125e | ||
|
|
42dedc0579 | ||
|
|
98236410ea | ||
|
|
3a17771215 | ||
|
|
5c3827a686 | ||
|
|
dcbb69f9bc | ||
|
|
1552a9f451 | ||
|
|
700dbb6c69 | ||
|
|
0bd5083d8f | ||
|
|
e9a0908c62 | ||
|
|
66b2b86107 | ||
|
|
61837d2a33 | ||
|
|
1914abc5bc | ||
|
|
9b86fa5d67 | ||
|
|
16aad554b0 | ||
|
|
db030f62a4 | ||
|
|
88c842d260 | ||
|
|
b328aa7871 | ||
|
|
fed1752842 | ||
|
|
a52bd9d655 | ||
|
|
62acc1db8e | ||
|
|
511ea8f1e9 | ||
|
|
ddd49b38e4 | ||
|
|
12b4b1a929 | ||
|
|
4602f7e1d3 | ||
|
|
293b5e472b | ||
|
|
34762bf406 | ||
|
|
2b0ced06c1 | ||
|
|
029bd66faa | ||
|
|
51e51e6014 | ||
|
|
938f82a4a9 | ||
|
|
fc7c471412 | ||
|
|
9d856ebdf1 | ||
|
|
fb5a14bdd9 | ||
|
|
e9dcc95a38 | ||
|
|
773b49122a | ||
|
|
daa628a725 | ||
|
|
b9d69212b5 | ||
|
|
0985f25385 | ||
|
|
50c1d00e9d | ||
|
|
11f2d9ea49 | ||
|
|
4ce6bba2f7 | ||
|
|
03107726cd | ||
|
|
2b9118883d | ||
|
|
4165eb0f79 | ||
|
|
6ac6ec6fcb | ||
|
|
ee94f43c05 | ||
|
|
220761ec01 | ||
|
|
a9a7323a06 | ||
|
|
e8f38b2c19 | ||
|
|
c028fdea6f | ||
|
|
cb12a258c5 | ||
|
|
05112a3ebe | ||
|
|
687c8fcf68 | ||
|
|
45da8c8ad8 | ||
|
|
f139290af1 | ||
|
|
e81fd167b3 | ||
|
|
ff949f78d6 | ||
|
|
5aa1b0f049 | ||
|
|
91dc75a805 | ||
|
|
d371c70b45 | ||
|
|
b83e517bfc | ||
|
|
d1d68fe8b0 | ||
|
|
87b30b517b | ||
|
|
16023fe3d4 | ||
|
|
0d3ca75310 | ||
|
|
3c5e126732 | ||
|
|
c40135076d | ||
|
|
2ea3ad8a1f | ||
|
|
aaa8e548c3 | ||
|
|
9b383cd3f4 | ||
|
|
6aabf68429 | ||
|
|
33d083f55b | ||
|
|
7d9552ef6b | ||
|
|
a4bb30a900 | ||
|
|
e128b73252 | ||
|
|
f5eedd65a3 | ||
|
|
0833dc8bbc | ||
|
|
6afacb3b10 | ||
|
|
84eb0330ae | ||
|
|
72081c9fbb | ||
|
|
c06d50adeb | ||
|
|
232c204afb | ||
|
|
01f1548e40 | ||
|
|
6e80224000 | ||
|
|
6267b43af9 | ||
|
|
badf2f2f21 | ||
|
|
f1e52a0181 | ||
|
|
342b1b319d | ||
|
|
c56ef7b722 | ||
|
|
f16e0cd51c | ||
|
|
d07bb61449 | ||
|
|
f7bee55a5e | ||
|
|
b673d3a57b | ||
|
|
3fd285f386 | ||
|
|
306ff6c5f6 | ||
|
|
34f02c326d | ||
|
|
8bf8a2a082 | ||
|
|
047799739c | ||
|
|
0012cffb69 | ||
|
|
9a049b4a42 | ||
|
|
e3a967ba29 | ||
|
|
48a8eaeac8 | ||
|
|
33aa2d8399 | ||
|
|
2034c5d2e7 | ||
|
|
dab2104c1f | ||
|
|
bb295c09d9 | ||
|
|
9726adf371 | ||
|
|
1fe3cc2bc5 | ||
|
|
c7034bb57b | ||
|
|
8141742b12 | ||
|
|
de6fc55511 | ||
|
|
a3f63440fc | ||
|
|
be7794e5a6 | ||
|
|
085c9ada2d | ||
|
|
af7de84f85 | ||
|
|
0ed819e708 | ||
|
|
32cd434259 | ||
|
|
ecaa2d911e | ||
|
|
97280e2440 | ||
|
|
380ed15bcd | ||
|
|
daaae13dff | ||
|
|
4f4d97d7b7 | ||
|
|
36d0027ef4 | ||
|
|
e8c83f0759 | ||
|
|
fad7119291 | ||
|
|
05fa89d1c5 | ||
|
|
113cd39166 | ||
|
|
3970af5d58 | ||
|
|
e1f1215125 | ||
|
|
09e97074ad | ||
|
|
1b1acdc3e7 | ||
|
|
de70a293ae | ||
|
|
b416c1d56f | ||
|
|
59314eb9f5 | ||
|
|
14f45c1a63 | ||
|
|
d25dac1bd5 | ||
|
|
b48cc4dab0 | ||
|
|
ae546d018a | ||
|
|
71ab5581a0 | ||
|
|
5335d4303b | ||
|
|
52cfc084ef | ||
|
|
d23a3bc3c6 | ||
|
|
009b764ac9 | ||
|
|
d58f642ddb | ||
|
|
55e9685ec6 | ||
|
|
bbf25ca940 | ||
|
|
9430c63e02 | ||
|
|
76a98e3958 | ||
|
|
9d5dedae84 | ||
|
|
0b2e2fe9b3 | ||
|
|
ab84bd93a3 | ||
|
|
28f2a7454f | ||
|
|
79bc209be8 | ||
|
|
80340dcf86 | ||
|
|
099d38a69e | ||
|
|
71cca26f33 | ||
|
|
8f44cbb48c | ||
|
|
fb12c8270a | ||
|
|
cda8312060 | ||
|
|
a0252d668c | ||
|
|
d098b09500 | ||
|
|
04be27ce49 | ||
|
|
9b49e20140 | ||
|
|
f75203cc31 | ||
|
|
d2483459e8 | ||
|
|
18e9f9753e | ||
|
|
3e2ea8a49d | ||
|
|
08c94a8b62 | ||
|
|
e47365f377 | ||
|
|
ba37846397 | ||
|
|
4f90da509b | ||
|
|
2eccff41ba | ||
|
|
d1f201fc62 | ||
|
|
68cc7a876b | ||
|
|
52047449bf | ||
|
|
c5666d9cd6 | ||
|
|
d85ec4b3c6 | ||
|
|
240f698fc8 | ||
|
|
d9819a6791 | ||
|
|
da7014af5d | ||
|
|
9bdd53f590 | ||
|
|
537286c3c5 | ||
|
|
b8be6f78b0 | ||
|
|
34b64e4e1d | ||
|
|
21fa58535d | ||
|
|
95c8efc0cb | ||
|
|
3009bcb058 | ||
|
|
dfad538f75 | ||
|
|
7659093598 | ||
|
|
c2aa5756c0 | ||
|
|
3a123626d9 | ||
|
|
cbefe8bde7 | ||
|
|
9368027715 | ||
|
|
6209032a7c | ||
|
|
5f052b2663 | ||
|
|
63c0f02ce5 | ||
|
|
8b5ef47338 | ||
|
|
61c79181e7 | ||
|
|
b539957839 | ||
|
|
1f23785afe | ||
|
|
ce98bebf0f | ||
|
|
e7ac747157 | ||
|
|
c3e369baa6 | ||
|
|
cb3173dc5c | ||
|
|
f8d5f4ea3e | ||
|
|
abe22227d7 | ||
|
|
3883dfe5ee | ||
|
|
b31613ae10 | ||
|
|
b678606690 | ||
|
|
91c1069cba | ||
|
|
06c52bbc79 | ||
|
|
8870dcaff6 | ||
|
|
e315f86472 | ||
|
|
d73a04dabf | ||
|
|
4f339f6be2 | ||
|
|
ca30f8501a | ||
|
|
75a920536c | ||
|
|
95a812557b | ||
|
|
4c5c3be74d | ||
|
|
d3b4fe46c8 | ||
|
|
b98df1827a | ||
|
|
8a2a2ef294 | ||
|
|
90ecc4a20c | ||
|
|
c422baea26 | ||
|
|
178ff0c3f5 | ||
|
|
76dcc45ea6 | ||
|
|
3713545aca | ||
|
|
7eab0aa0b7 | ||
|
|
a2861aa696 | ||
|
|
7c674c6734 | ||
|
|
def1d472c8 | ||
|
|
d613cf3265 | ||
|
|
4fdd18ae24 | ||
|
|
e8516a2352 | ||
|
|
f6abeb027b | ||
|
|
5e6a546334 | ||
|
|
1db3c42d93 | ||
|
|
73866b4326 | ||
|
|
6828304671 | ||
|
|
b12e314726 | ||
|
|
cf737e2eba | ||
|
|
e563803af3 | ||
|
|
2297628136 | ||
|
|
9988a79f27 | ||
|
|
bad8e79410 | ||
|
|
cceee0a31d | ||
|
|
ff73b80a6e | ||
|
|
c6cddc7bb2 | ||
|
|
c6c90887f8 | ||
|
|
4c0d42b582 | ||
|
|
fe01780d35 | ||
|
|
9318325957 | ||
|
|
893d255bed | ||
|
|
acdc2cd815 | ||
|
|
45348ad6fb | ||
|
|
10c399bbac | ||
|
|
672ac2ac86 | ||
|
|
c2c275fbb2 | ||
|
|
0c657fd134 | ||
|
|
dd93bef722 | ||
|
|
ccc638b24f | ||
|
|
f6581f1c3b | ||
|
|
863e3ca998 | ||
|
|
184687ae1a | ||
|
|
f3049523c0 | ||
|
|
e1cc1f6483 | ||
|
|
912e5b8a00 | ||
|
|
36ed775c1e | ||
|
|
90642a0dea | ||
|
|
684d64c67d | ||
|
|
1881126e2d | ||
|
|
12ad8c1bf1 | ||
|
|
7a9364e705 | ||
|
|
f372fa6cfa | ||
|
|
2e78b1af80 | ||
|
|
1b0b927860 | ||
|
|
2e22e4ad70 | ||
|
|
df8450fa26 | ||
|
|
f6e0cd5c47 | ||
|
|
bcf80dc17c | ||
|
|
8a906c9d34 | ||
|
|
d3986e7885 | ||
|
|
be00f01542 | ||
|
|
e4ad9ce38f | ||
|
|
da14839ac5 | ||
|
|
8cf35efba1 | ||
|
|
4048e9ce2d | ||
|
|
b486ff2d75 | ||
|
|
07d15e8990 | ||
|
|
6906ac67a1 | ||
|
|
e907785673 | ||
|
|
59b6e11bea | ||
|
|
097c476b07 | ||
|
|
e8a2f6d551 | ||
|
|
64d900abe4 | ||
|
|
22e8de2729 | ||
|
|
be900587c3 | ||
|
|
8c3e99bfa5 | ||
|
|
6e486f2812 | ||
|
|
cc2d3c0e06 | ||
|
|
77ec51c21c | ||
|
|
796768cbc4 | ||
|
|
6791578c4b | ||
|
|
8140e8252a | ||
|
|
7495e87753 | ||
|
|
c058019ce1 | ||
|
|
9fcf30fccf | ||
|
|
9da64c8fd9 | ||
|
|
3854ace106 | ||
|
|
8f38d8a475 | ||
|
|
be33295d69 | ||
|
|
86a33c3e32 | ||
|
|
184091915d | ||
|
|
0ccdd27056 | ||
|
|
3827903417 | ||
|
|
f682fedae0 | ||
|
|
99918dfbd7 | ||
|
|
b2f6701f91 | ||
|
|
2d125b6c56 | ||
|
|
a825917ead | ||
|
|
98a46074e8 | ||
|
|
efb12d7f46 | ||
|
|
3e40c44916 | ||
|
|
963cf21d30 | ||
|
|
a8dd1b2199 | ||
|
|
6f71da566f | ||
|
|
ca0662edb0 | ||
|
|
664b784722 | ||
|
|
ecfcd787f3 | ||
|
|
b7ca02c756 | ||
|
|
a46a7094ff | ||
|
|
11c43c830e | ||
|
|
a53ca667df | ||
|
|
7200fdc70f | ||
|
|
f5c239fa9a | ||
|
|
1bc47d8abf | ||
|
|
9fe0e21c99 | ||
|
|
25e16f6c66 | ||
|
|
e88d37154f | ||
|
|
8e8c6cbad1 | ||
|
|
fb08bde00c | ||
|
|
c1f051bf03 | ||
|
|
1c62abd2dd | ||
|
|
2061ba2611 | ||
|
|
d830ad47cc | ||
|
|
21a769ae60 | ||
|
|
7ce24f7590 | ||
|
|
89fbccf399 | ||
|
|
f4d60b3777 | ||
|
|
8d839c1672 | ||
|
|
b169e35bee | ||
|
|
a4e69fc9ba | ||
|
|
c97623b428 | ||
|
|
d0cb432a9d | ||
|
|
230536ce88 | ||
|
|
cbcd0302c7 | ||
|
|
b493dfd4a8 | ||
|
|
1e27e79ab2 | ||
|
|
d64ae01653 | ||
|
|
10d5e0ecc3 | ||
|
|
82975afdfe | ||
|
|
1c8c4f2c79 | ||
|
|
abb448608a | ||
|
|
270ddd7512 | ||
|
|
dc8b0296f6 | ||
|
|
b9ab7e57c5 | ||
|
|
32f4fb0b11 | ||
|
|
4ee6bd22af | ||
|
|
06c46e3902 | ||
|
|
23a4ea7a0d | ||
|
|
166dee4f88 | ||
|
|
755813cba8 | ||
|
|
cfb3537b15 | ||
|
|
aac7c50858 | ||
|
|
04a1cda0c1 | ||
|
|
502e0aed31 | ||
|
|
1b3a547126 | ||
|
|
880be1ab83 | ||
|
|
c50dd00a78 | ||
|
|
75ac0969d8 | ||
|
|
d6e07be2cd | ||
|
|
b00ea30831 | ||
|
|
2a638da50f | ||
|
|
a68390425c | ||
|
|
4588e111d1 | ||
|
|
ded3bdaa58 | ||
|
|
561fe843e1 | ||
|
|
2aa46f02e2 | ||
|
|
7ea5daa492 | ||
|
|
ace1cedf3e | ||
|
|
5fdecbf814 | ||
|
|
ab6053dff3 | ||
|
|
2fc1e10076 | ||
|
|
595a4a84a1 | ||
|
|
3ffa6a4dea | ||
|
|
80598d9043 | ||
|
|
efc4789f66 | ||
|
|
3cb0b3a708 | ||
|
|
ab4beae174 | ||
|
|
06355153e5 | ||
|
|
ec5e8f29ff | ||
|
|
feb83f6cd2 | ||
|
|
d4c8e7fc42 | ||
|
|
b890093a86 | ||
|
|
bf95efcbea | ||
|
|
858107998e | ||
|
|
ecba07ce13 | ||
|
|
3b6e461e6d | ||
|
|
6776df50ee | ||
|
|
ba7bb3761c | ||
|
|
354916bf26 | ||
|
|
19fba44ece | ||
|
|
8b9c4a7142 | ||
|
|
a5e2826fc2 | ||
|
|
aa3739f4ab | ||
|
|
249f33df8b | ||
|
|
a38b5d1286 | ||
|
|
5c04dd453b | ||
|
|
45e5bcc7d5 | ||
|
|
537992d884 | ||
|
|
9b17be344e | ||
|
|
910e61b27d | ||
|
|
59894d5e56 | ||
|
|
b978e8c903 | ||
|
|
f7e31ff8ef | ||
|
|
12acfdefc1 | ||
|
|
dec757bf4e | ||
|
|
9f9cf89d33 | ||
|
|
3058433601 | ||
|
|
c75b52ace8 | ||
|
|
32979d223a | ||
|
|
b1ee64a4ea | ||
|
|
6d6022faac | ||
|
|
366ddc33ff | ||
|
|
ca005ac1e8 | ||
|
|
04567f4ebc | ||
|
|
5cbf79226b | ||
|
|
4ac7150415 | ||
|
|
24bc1f98d8 | ||
|
|
95c3dfe6ef | ||
|
|
c4e1b82a91 | ||
|
|
9fc19be21f | ||
|
|
1c84c314db | ||
|
|
d3600fc296 | ||
|
|
59bcb4c4e1 | ||
|
|
851a39248f | ||
|
|
83dfb51306 | ||
|
|
b09c46430f | ||
|
|
feefc78fbc | ||
|
|
144a825160 | ||
|
|
15c3e00913 | ||
|
|
b887ec296a | ||
|
|
966ed3f8eb | ||
|
|
70e7e3fa14 | ||
|
|
a3efd46620 | ||
|
|
15c8c47fe2 | ||
|
|
04a366f28c | ||
|
|
c54cf53e02 | ||
|
|
569b23fd82 | ||
|
|
6f38f8576c | ||
|
|
d1966ef874 | ||
|
|
ddebede974 | ||
|
|
dfe45103b6 | ||
|
|
72b83c838d | ||
|
|
6ed5521636 | ||
|
|
f568ffb601 | ||
|
|
107bb46eef | ||
|
|
e6d16f1b6b | ||
|
|
14c333162b | ||
|
|
eab049fe17 | ||
|
|
e67b60fb1b | ||
|
|
b7b55739f7 | ||
|
|
0b4d40f95a | ||
|
|
1091743811 | ||
|
|
d3c993c851 | ||
|
|
60d3bae384 | ||
|
|
13d6cbde4d | ||
|
|
5bd0371d3f | ||
|
|
0550809b07 | ||
|
|
226e517854 | ||
|
|
39ac67a5fe | ||
|
|
a7432ebaef | ||
|
|
b501c5fbf6 | ||
|
|
405b654893 | ||
|
|
217b5812a2 | ||
|
|
ab165a8a6c | ||
|
|
05672b50f7 | ||
|
|
6a4ecebce5 | ||
|
|
42577dbb0f | ||
|
|
19e9c2fb7a | ||
|
|
ece5b12014 | ||
|
|
89a33c8e93 | ||
|
|
a70fa1ac5b | ||
|
|
71b92eab15 | ||
|
|
d8bfbbf614 | ||
|
|
3501b9c096 | ||
|
|
bb90787ea0 | ||
|
|
108f27f71e | ||
|
|
ede1f14cc2 | ||
|
|
9a816e3d1c | ||
|
|
9a187879f4 | ||
|
|
37d3f20674 | ||
|
|
ea9f6719b1 | ||
|
|
6187754bdd | ||
|
|
c5013aa7ce | ||
|
|
6b745e2331 | ||
|
|
c5925d86de | ||
|
|
a111ce6b53 | ||
|
|
ba8294c0a1 | ||
|
|
72d3c00702 | ||
|
|
00f9c4bb06 | ||
|
|
da0aa7b533 | ||
|
|
c1cdb2f828 | ||
|
|
f75ab8b22c | ||
|
|
6e253f12b1 | ||
|
|
c6b440dcd6 | ||
|
|
d403b7f6ae | ||
|
|
a59f00f5ac | ||
|
|
43ea86cc8c | ||
|
|
8d5e6d9278 | ||
|
|
d11eeae766 | ||
|
|
231274268f | ||
|
|
d33e3e7147 | ||
|
|
40e296b2b3 | ||
|
|
d3ef6d0c7c | ||
|
|
3980e7816c | ||
|
|
14aadcba1a | ||
|
|
901bc809b5 | ||
|
|
b7d8d5c788 | ||
|
|
a5abf3379d | ||
|
|
5fe1583567 | ||
|
|
4677bf5e89 | ||
|
|
ae13b3761c | ||
|
|
f140ca626b | ||
|
|
aab67495e3 | ||
|
|
1a59c3d5ac | ||
|
|
caabc42556 | ||
|
|
c3e48cbd88 | ||
|
|
3fff0d97d1 | ||
|
|
755815160a | ||
|
|
8c144a7789 | ||
|
|
c5cdfd2a49 | ||
|
|
0cf592f520 | ||
|
|
7d87afd10b | ||
|
|
5159ef2fa0 | ||
|
|
e8232c132a | ||
|
|
4e59e4c9e9 | ||
|
|
e6d40db892 | ||
|
|
4325ebb800 | ||
|
|
63e77982fc | ||
|
|
584a5e5518 | ||
|
|
cc634b69c8 | ||
|
|
27487bcd12 | ||
|
|
68ef79e804 | ||
|
|
083823b790 | ||
|
|
2f893e185c | ||
|
|
144f53f534 | ||
|
|
0307a32b55 | ||
|
|
4d6b7dfa61 | ||
|
|
972f0149f2 | ||
|
|
d23f980d75 | ||
|
|
49705fd839 | ||
|
|
b34b292547 | ||
|
|
f5a5916b35 | ||
|
|
28684889c8 | ||
|
|
5864256026 | ||
|
|
56e370b342 | ||
|
|
acb4f0e9bf | ||
|
|
cde8f7e11f | ||
|
|
0cd5621572 | ||
|
|
239c3864fe | ||
|
|
ae5c8dcc4d | ||
|
|
62d41cb488 | ||
|
|
d75003136c | ||
|
|
291c3ee610 | ||
|
|
9e848e173c | ||
|
|
f17f79c796 | ||
|
|
5ca7d128e6 | ||
|
|
7738cb40f6 | ||
|
|
43e369c6d5 | ||
|
|
3b5f843e92 | ||
|
|
624f88c6c0 | ||
|
|
7e148208c4 | ||
|
|
58b52b0dd1 | ||
|
|
35f2177d66 | ||
|
|
057a7996d0 | ||
|
|
d6c6cf6f5f | ||
|
|
82b2e20fbf | ||
|
|
7b49d39676 | ||
|
|
69fe256333 | ||
|
|
8251761f93 | ||
|
|
9e06031346 | ||
|
|
1e3c2a85da | ||
|
|
806e9d4a93 | ||
|
|
d664fb04de | ||
|
|
a44ddc27b1 | ||
|
|
03e1d2d584 | ||
|
|
413452614f | ||
|
|
9a20e17a73 | ||
|
|
6d24140f51 | ||
|
|
2e7d6c5680 | ||
|
|
d789d9a2de | ||
|
|
1af5ef1546 | ||
|
|
7caa5b2a35 | ||
|
|
449b3abafa | ||
|
|
d946893c3b | ||
|
|
888d915fe8 | ||
|
|
816528f00e | ||
|
|
33026a05f4 | ||
|
|
cedb27beb1 | ||
|
|
d9e0b26202 | ||
|
|
f0cf568780 | ||
|
|
e85c7a78d2 | ||
|
|
81f1457023 | ||
|
|
55f8e366f0 | ||
|
|
2659a52d7a | ||
|
|
0d3eafc014 | ||
|
|
79cb5c5df6 | ||
|
|
d526edb79b | ||
|
|
050f52eb55 | ||
|
|
2a964239f6 | ||
|
|
0a944f8c68 | ||
|
|
6e7667c75d | ||
|
|
1a1fa391d5 | ||
|
|
b55712de78 | ||
|
|
ff1be1e3cd | ||
|
|
d68be3e5e2 | ||
|
|
9f7302060c | ||
|
|
772de835d5 | ||
|
|
557645a9da | ||
|
|
9fe6b53cf0 | ||
|
|
a4e2b7909f | ||
|
|
6cb18a6649 | ||
|
|
d1659c9eb8 | ||
|
|
00e73a4509 | ||
|
|
1a77057745 | ||
|
|
e148ccbecb | ||
|
|
88eb241bbd | ||
|
|
8a4adfe48b | ||
|
|
1d11c10800 | ||
|
|
11d92d2444 | ||
|
|
7a7f2ea0f2 | ||
|
|
67b979143d | ||
|
|
c4fa85b9df | ||
|
|
753176b57b | ||
|
|
d623635bb7 | ||
|
|
3f01731119 | ||
|
|
68d680c1b7 | ||
|
|
fc738b1ff6 | ||
|
|
627652ae64 | ||
|
|
5c0b7f47f4 | ||
|
|
0cbc36e245 | ||
|
|
cdbb5bb040 | ||
|
|
53db5e1070 | ||
|
|
9821d2c543 | ||
|
|
1bcf716420 | ||
|
|
7e3a3f3170 | ||
|
|
17ad09c30c | ||
|
|
504ebfbffb | ||
|
|
406ce62ea8 | ||
|
|
74b75a9598 | ||
|
|
8cde8633d4 | ||
|
|
f8e89e4e84 | ||
|
|
0335d1a093 | ||
|
|
797f8d8082 | ||
|
|
3611e8823c | ||
|
|
c056352c4c | ||
|
|
5d48925b81 | ||
|
|
3638bc8fab | ||
|
|
6f1e7c4237 | ||
|
|
6f976e5375 | ||
|
|
699723a728 | ||
|
|
f2d364de65 | ||
|
|
53f978f270 | ||
|
|
f58b25254b | ||
|
|
e1c4bac14b | ||
|
|
79a20e2ac0 |
No files matched your search
@@ -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 ..
|
||||||
@@ -4,14 +4,18 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
merge_group:
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
nixfmt:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- uses: cachix/install-nix-action@v26
|
- 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
|
||||||
+2
-5
@@ -2,11 +2,8 @@ queue_rules:
|
|||||||
- name: default
|
- name: default
|
||||||
merge_conditions:
|
merge_conditions:
|
||||||
- check-success=tests
|
- check-success=tests
|
||||||
defaults:
|
batch_size: 5
|
||||||
actions:
|
merge_method: rebase
|
||||||
queue:
|
|
||||||
allow_merging_configuration_change: true
|
|
||||||
method: rebase
|
|
||||||
pull_request_rules:
|
pull_request_rules:
|
||||||
- name: merge using the merge queue
|
- name: merge using the merge queue
|
||||||
conditions:
|
conditions:
|
||||||
|
|||||||
+2
-1
@@ -1,13 +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/pinebook-pro @tomfitzhenry
|
|
||||||
pine64/rockpro64 @tomfitzhenry
|
pine64/rockpro64 @tomfitzhenry
|
||||||
pine64/star64 @fgaz
|
pine64/star64 @fgaz
|
||||||
purism/librem/13v3 @yegortimoshenko
|
purism/librem/13v3 @yegortimoshenko
|
||||||
system76/darp6 @khumba
|
system76/darp6 @khumba
|
||||||
framework @emiller88
|
framework @emiller88
|
||||||
tuxedo/pulse/15/gen2 @trueNAHO
|
tuxedo/pulse/15/gen2 @trueNAHO
|
||||||
|
tuxedo/pulse/14/gen3 @gabyx @britter
|
||||||
+6
-15
@@ -14,8 +14,9 @@ For example:
|
|||||||
|
|
||||||
```nix
|
```nix
|
||||||
{ lib }: {
|
{ lib }: {
|
||||||
# Using mkDefault, because the user might want to disable tlp
|
# Using mkDefault, because the user might want to disable power-profiles-daemon
|
||||||
services.tlp.enable = lib.mkDefault true;
|
services.power-profiles-daemon.enable = lib.mkDefault true;
|
||||||
|
|
||||||
# No need to use mkDefault, because the setting will merge with the user's setting
|
# No need to use mkDefault, because the setting will merge with the user's setting
|
||||||
boot.kernelModules = [ "tmp_smapi" ];
|
boot.kernelModules = [ "tmp_smapi" ];
|
||||||
}
|
}
|
||||||
@@ -42,22 +43,12 @@ Link the profile in the table in README.md and in flake.nix.
|
|||||||
|
|
||||||
## 3. Testing
|
## 3. Testing
|
||||||
|
|
||||||
Run ./tests/run.py to test building. The test script script will parse all the
|
Run `nix run .#run-tests` to evaluate all hardware profiles.
|
||||||
profiles from the README.md.
|
|
||||||
|
|
||||||
You can also just specify a single profile like this:
|
|
||||||
|
|
||||||
```
|
|
||||||
./tests/run.py '<nixos-hardware/purism/librem/15v3>'
|
|
||||||
```
|
|
||||||
|
|
||||||
Because profiles can only be tested with the appropriate hardware, quality
|
Because profiles can only be tested with the appropriate hardware, quality
|
||||||
assurance is up to *you*.
|
assurance is up to *you*.
|
||||||
|
|
||||||
# For reviewers:
|
# For reviewers:
|
||||||
|
|
||||||
This repository has bors enabled for easier merging after a successfull build:
|
This repository has [mergify](https://mergify.com/) enabled for easier merging after a successfull build:
|
||||||
|
|
||||||
* `bors try` - check if the PR builds.
|
* `@mergify queue` will add the current pull request to the merge queue and merge when all tests succeed
|
||||||
* `bors merge` - same as `bors try` but will also merge the PR if it builds successfully.
|
|
||||||
* https://bors.tech/documentation/
|
|
||||||
@@ -65,225 +65,384 @@ you can easily pin to a particular revision if you desire more stability.
|
|||||||
|
|
||||||
See [CONTRIBUTING.md](./CONTRIBUTING.md).
|
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](acer/aspire/4810t) | `<nixos-hardware/acer/aspire/4810t>` |
|
| [Acer Aspire 4810T](acer/aspire/4810t) | `<nixos-hardware/acer/aspire/4810t>` | `acer-aspire-4810t` |
|
||||||
| [Airis N990](airis/n990) | `<nixos-hardware/airis/n990>` |
|
| [Airis N990](airis/n990) | `<nixos-hardware/airis/n990>` | `airis-n990` |
|
||||||
| [Apple MacBook Air 3,X](apple/macbook-air/3) | `<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](apple/macbook-air/4) | `<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](apple/macbook-air/6) | `<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](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 11,5](apple/macbook-pro/11-5) | `<nixos-hardware/apple/macbook-pro/11-5>` |
|
| [Apple MacBook Air 5,X](apple/macbook-air/5) | `<nixos-hardware/apple/macbook-air/5>` | `apple-macbook-air-5` |
|
||||||
| [Apple MacBook Pro 12,1](apple/macbook-pro/12-1) | `<nixos-hardware/apple/macbook-pro/12-1>` |
|
| [Apple MacBook Air 6,X](apple/macbook-air/6) | `<nixos-hardware/apple/macbook-air/6>` | `apple-macbook-air-6` |
|
||||||
| [Apple MacBook Pro 14,1](apple/macbook-pro/14-1) | `<nixos-hardware/apple/macbook-pro/14-1>` |
|
| [Apple MacBook Air 7,X](apple/macbook-air/7) | `<nixos-hardware/apple/macbook-air/7>` | `apple-macbook-air-7` |
|
||||||
| [Apple Macs with a T2 Chip](apple/t2) | `<nixos-hardware/apple/t2>` |
|
| [Apple MacBook Pro 8,1](apple/macbook-pro/8-1) | `<nixos-hardware/apple/macbook-pro/8-1>` | `apple-macbook-pro-8-1` |
|
||||||
| [Asus ROG Ally RC71L (2023)](asus/ally/rc71l) | `<nixos-hardware/asus/ally/rc71l>` |
|
| [Apple MacBook Pro 10,1](apple/macbook-pro/10-1) | `<nixos-hardware/apple/macbook-pro/10-1>` | `apple-macbook-pro-10-1` |
|
||||||
| [Asus ROG Strix G513IM](asus/rog-strix/g513im) | `<nixos-hardware/asus/rog-strix/g513im>` |
|
| [Apple MacBook Pro 11,1](apple/macbook-pro/11-1) | `<nixos-hardware/apple/macbook-pro/11-1>` | `apple-macbook-pro-11-1` |
|
||||||
| [Asus ROG Strix G733QS](asus/rog-strix/g733qs) | `<nixos-hardware/asus/rog-strix/g733qs>` |
|
| [Apple MacBook Pro 11,4](apple/macbook-pro/11-4) | `<nixos-hardware/apple/macbook-pro/11-4>` | `apple-macbook-pro-11-4` |
|
||||||
| [Asus ROG Zephyrus G14 GA401](asus/zephyrus/ga401) | `<nixos-hardware/asus/zephyrus/ga401>` |
|
| [Apple MacBook Pro 11,5](apple/macbook-pro/11-5) | `<nixos-hardware/apple/macbook-pro/11-5>` | `apple-macbook-pro-11-5` |
|
||||||
| [Asus ROG Zephyrus G14 GA402](asus/zephyrus/ga402) | `<nixos-hardware/asus/zephyrus/ga402>` |
|
| [Apple MacBook Pro 12,1](apple/macbook-pro/12-1) | `<nixos-hardware/apple/macbook-pro/12-1>` | `apple-macbook-pro-12-1` |
|
||||||
| [Asus ROG Zephyrus G14 GA402X* (2023)](asus/zephyrus/ga402x/amdgpu) | `<nixos-hardware/asus/zephyrus/ga402x/amdgpu>` |
|
| [Apple MacBook Pro 14,1](apple/macbook-pro/14-1) | `<nixos-hardware/apple/macbook-pro/14-1>` | `apple-macbook-pro-14-1` |
|
||||||
| [Asus ROG Zephyrus G14 GA402X* (2023)](asus/zephyrus/ga402x/nvidia) | `<nixos-hardware/asus/zephyrus/ga402x/nvidia>` |
|
| [Apple MacMini (2010, Intel, Nvidia)](apple/macmini/4) | `<nixos-hardware/apple/macmini/4>` | `apple-macmini-4-1` |
|
||||||
| [Asus ROG Zephyrus G15 GA502](asus/zephyrus/ga502) | `<nixos-hardware/asus/zephyrus/ga502>` |
|
| [Apple Macs with a T2 Chip](apple/t2) | `<nixos-hardware/apple/t2>` | `apple-t2` |
|
||||||
| [Asus ROG Zephyrus G15 GA503](asus/zephyrus/ga503) | `<nixos-hardware/asus/zephyrus/ga503>` |
|
| [Aoostar R1 N100](aoostar/r1/n100) | `<nixos-hardware/aoostar/r1/n100>` | `aoostar-r1-n100` |
|
||||||
| [Asus ROG Zephyrus M16 GU603H](asus/zephyrus/gu603h) | `<nixos-hardware/asus/zephyrus/gu603h>` |
|
| [Asus Pro WS X570-ACE](asus/pro-ws-x570-ace) | `<nixos-hardware/asus/pro-ws-x570-ace>` | `asus-pro-ws-x570-ace` |
|
||||||
| [Asus TUF FX504GD](asus/fx504gd) | `<nixos-hardware/asus/fx504gd>` |
|
| [Asus ROG Ally RC71L (2023)](asus/ally/rc71l) | `<nixos-hardware/asus/ally/rc71l>` | `asus-ally-rc71l` |
|
||||||
| [Asus TUF FA507RM](asus/fa507rm) | `<nixos-hardware/asus/fa507rm>` |
|
| [Asus ROG Flow X13 GV302X\* (2023)](asus/flow/gv302x/amdgpu) | `<nixos-hardware/asus/flow/gv302x/amdgpu>` | `asus-flow-gv302x-amdgpu` |
|
||||||
| [BeagleBoard PocketBeagle](beagleboard/pocketbeagle) | `<nixos-hardware/beagleboard/pocketbeagle>` |
|
| [Asus ROG Flow X13 GV302X\* (2023)](asus/flow/gv302x/nvidia) | `<nixos-hardware/asus/flow/gv302x/nvidia>` | `asus-flow-gv302x-nvidia` |
|
||||||
| [Deciso DEC series](deciso/dec) | `<nixos-hardware/deciso/dec>` |
|
| [Asus ROG GL552VW](asus/rog-gl552vw) | `<nixos-hardware/asus/rog-gl552vw>` | `asus-rog-gl552vw` |
|
||||||
| [Dell G3 3779](dell/g3/3779) | `<nixos-hardware/dell/g3/3779>` |
|
| [Asus ROG Strix G513IM](asus/rog-strix/g513im) | `<nixos-hardware/asus/rog-strix/g513im>` | `asus-rog-strix-g513im` |
|
||||||
| [Dell Inspiron 14 5420](dell/inspiron/14-5420) | `<nixos-hardawre/dell/inspiron/14-5420>` |
|
| [Asus ROG Strix G533ZW](asus/rog-strix/g533zw) | `<nixos-hardware/asus/rog-strix/g533zw>` | `asus-rog-strix-g533zw` |
|
||||||
| [Dell Inspiron 5509](dell/inspiron/5509) | `<nixos-hardware/dell/inspiron/5509>` |
|
| [Asus ROG Strix G533Q](asus/rog-strix/g533q) | `<nixos-hardware/asus/rog-strix/g533q>` | `asus-rog-strix-g533zw` |
|
||||||
| [Dell Inspiron 5515](dell/inspiron/5515) | `<nixos-hardware/dell/inspiron/5515>` |
|
| [Asus ROG Strix G713IE](asus/rog-strix/g713ie) | `<nixos-hardware/asus/rog-strix/g713ie>` | `asus-rog-strix-g713ie` |
|
||||||
| [Dell Inspiron 7405](dell/inspiron/7405) | `<nixos-hardware/dell/inspiron/7405>` |
|
| [Asus ROG Strix G733QS](asus/rog-strix/g733qs) | `<nixos-hardware/asus/rog-strix/g733qs>` | `asus-rog-strix-g733qs` |
|
||||||
| [Dell Latitude 3340](dell/latitude/3340) | `<nixos-hardware/dell/latitude/3340>` |
|
| [Asus ROG Strix X570-E GAMING](asus/rog-strix/x570e) | `<nixos-hardware/asus/rog-strix/x570e>` | `asus-rog-strix-x570e` |
|
||||||
| [Dell Latitude 3480](dell/latitude/3480) | `<nixos-hardware/dell/latitude/3480>` |
|
| [Asus ROG Zephyrus G14 GA401](asus/zephyrus/ga401) | `<nixos-hardware/asus/zephyrus/ga401>` | `asus-zephyrus-ga401` |
|
||||||
| [Dell Latitude 5520](dell/latitude/5520) | `<nixos-hardware/dell/latitude/5520>` |
|
| [Asus ROG Zephyrus G14 GA402](asus/zephyrus/ga402) | `<nixos-hardware/asus/zephyrus/ga402>` | `asus-zephyrus-ga402` |
|
||||||
| [Dell Latitude 7280](dell/latitude/7280) | `<nixos-hardware/dell/latitude/7280>` |
|
| [Asus ROG Zephyrus G14 GA402X\* (2023)](asus/zephyrus/ga402x/amdgpu) | `<nixos-hardware/asus/zephyrus/ga402x/amdgpu>` | `asus-zephyrus-ga402x-amdgpu` |
|
||||||
| [Dell Latitude 7390](dell/latitude/7390) | `<nixos-hardware/dell/latitude/7390>` |
|
| [Asus ROG Zephyrus G14 GA402X\* (2023)](asus/zephyrus/ga402x/nvidia) | `<nixos-hardware/asus/zephyrus/ga402x/nvidia>` | `asus-zephyrus-ga402x-nvidia` |
|
||||||
| [Dell Latitude 7430](dell/latitude/7430) | `<nixos-hardware/dell/latitude/7430>` |
|
| [Asus ROG Zephyrus G15 GA502](asus/zephyrus/ga502) | `<nixos-hardware/asus/zephyrus/ga502>` | `asus-zephyrus-ga502` |
|
||||||
| [Dell Latitude 7490](dell/latitude/7490) | `<nixos-hardware/dell/latitude/7490>` |
|
| [Asus ROG Zephyrus G15 GA503](asus/zephyrus/ga503) | `<nixos-hardware/asus/zephyrus/ga503>` | `asus-zephyrus-ga503` |
|
||||||
| [Dell Poweredge R7515](dell/poweredge/r7515) | `<nixos-hardware/dell/poweredge/r7515>` |
|
| [Asus ROG Zephyrus G16 GU605MY](asus/zephyrus/gu605my) | `<nixos-hardware/asus/zephyrus/gu605my>` | `asus-zephyrus-gu605my` |
|
||||||
| [Dell Precision 3541](dell/precision/3541) | `<nixos-hardware/dell/precision/3541>` |
|
| [Asus ROG Zephyrus M16 GU603H](asus/zephyrus/gu603h) | `<nixos-hardware/asus/zephyrus/gu603h>` | `asus-zephyrus-gu603h` |
|
||||||
| [Dell Precision 5530](dell/precision/5530) | `<nixos-hardware/dell/precision/5530>` |
|
| [Asus TUF FX504GD](asus/fx504gd) | `<nixos-hardware/asus/fx504gd>` | `asus-fx504gd` |
|
||||||
| [Dell XPS 13 7390](dell/xps/13-7390) | `<nixos-hardware/dell/xps/13-7390>` |
|
| [Asus TUF FX506HM](asus/fx506hm) | `<nixos-hardware/asus/fx506hm>` | `asus-fx506hm` |
|
||||||
| [Dell XPS 13 9300](dell/xps/13-9300) | `<nixos-hardware/dell/xps/13-9300>` |
|
| [Asus TUF FA506IC](asus/fa506ic) | `<nixos-hardware/asus/fa506ic>` | `asus-fa506ic` |
|
||||||
| [Dell XPS 13 9310](dell/xps/13-9310) | `<nixos-hardware/dell/xps/13-9310>` |
|
| [Asus TUF FA507RM](asus/fa507rm) | `<nixos-hardware/asus/fa507rm>` | `asus-fa507rm` |
|
||||||
| [Dell XPS 13 9333](dell/xps/13-9333) | `<nixos-hardware/dell/xps/13-9333>` |
|
| [Asus TUF FA507NV](asus/fa507nv) | `<nixos-hardware/asus/fa507nv>` | `asus-fa507nv` |
|
||||||
| [Dell XPS 13 9343](dell/xps/13-9343) | `<nixos-hardware/dell/xps/13-9343>` |
|
| [Asus Zenbook Duo 14 UX481](asus/zenbook/ux481/intelgpu/) | `<nixos-hardware/asus/zenbook/ux481/intelgpu>` | `asus-zenbook-ux481-intelgpu` |
|
||||||
| [Dell XPS 13 9350](dell/xps/13-9350) | `<nixos-hardware/dell/xps/13-9350>` |
|
| [Asus Zenbook Duo 14 UX481](asus/zenbook/ux481/nvidia/) | `<nixos-hardware/asus/zenbook/ux481/nvidia>` | `asus-zenbook-ux481-nvidia` |
|
||||||
| [Dell XPS 13 9360](dell/xps/13-9360) | `<nixos-hardware/dell/xps/13-9360>` |
|
| [Asus Zenbook Flip S13 UX371](asus/zenbook/ux371/) | `<nixos-hardware/asus/zenbook/ux371>` | `asus-zenbook-ux371` |
|
||||||
| [Dell XPS 13 9370](dell/xps/13-9370) | `<nixos-hardware/dell/xps/13-9370>` |
|
| [Asus Zenbook Pro 15 UX535](asus/zenbook/ux535/) | `<nixos-hardware/asus/zenbook/ux535>` | `asus-zenbook-ux535` |
|
||||||
| [Dell XPS 13 9380](dell/xps/13-9380) | `<nixos-hardware/dell/xps/13-9380>` |
|
| [Asus Zenbook Pro 17 UM6702](asus/zenbook/um6702/) | `<nixos-hardware/asus/zenbook/um6702>` | `asus-zenbook-um6702` |
|
||||||
| [Dell XPS 15 7590, nvidia](dell/xps/15-7590/nvidia) | `<nixos-hardware/dell/xps/15-7590/nvidia>` |
|
| [BeagleBoard PocketBeagle](beagleboard/pocketbeagle) | `<nixos-hardware/beagleboard/pocketbeagle>` | `beagleboard-pocketbeagle` |
|
||||||
| [Dell XPS 15 7590](dell/xps/15-7590) | `<nixos-hardware/dell/xps/15-7590>` |
|
| [Chuwi MiniBook X](chuwi/minibook-x) | `<nixos-hardware/chuwi/minibook-x>` | `chuwi-minibook-x` |
|
||||||
| [Dell XPS 15 9500, nvidia](dell/xps/15-9500/nvidia) | `<nixos-hardware/dell/xps/15-9500/nvidia>` |
|
| [Deciso DEC series](deciso/dec) | `<nixos-hardware/deciso/dec>` | `deciso-dec` |
|
||||||
| [Dell XPS 15 9500](dell/xps/15-9500) | `<nixos-hardware/dell/xps/15-9500>` |
|
| [Dell G3 3779](dell/g3/3779) | `<nixos-hardware/dell/g3/3779>` | `dell-g3-3779` |
|
||||||
| [Dell XPS 15 9510, nvidia](dell/xps/15-9510/nvidia) | `<nixos-hardware/dell/xps/15-9510/nvidia>` |
|
| [Dell G3 3579](dell/g3/3579) | `<nixos-hardware/dell/g3/3579>` | `dell-g3-3579` |
|
||||||
| [Dell XPS 15 9510](dell/xps/15-9510) | `<nixos-hardware/dell/xps/15-9510>` |
|
| [Dell Inspiron 3442](dell/inspiron/3442) | `<nixos-hardware/dell/inspiron/3442>` | `dell-inspiron-3442` |
|
||||||
| [Dell XPS 15 9520, nvidia](dell/xps/15-9520/nvidia) | `<nixos-hardware/dell/xps/15-9520/nvidia>` |
|
| [Dell Inspiron 14 5420](dell/inspiron/14-5420) | `<nixos-hardware/dell/inspiron/14-5420>` | `dell-inspiron-14-5420` |
|
||||||
| [Dell XPS 15 9520](dell/xps/15-9520) | `<nixos-hardware/dell/xps/15-9520>` |
|
| [Dell Inspiron 5509](dell/inspiron/5509) | `<nixos-hardware/dell/inspiron/5509>` | `dell-inspiron-5509` |
|
||||||
| [Dell XPS 15 9550, nvidia](dell/xps/15-9550/nvidia) | `<nixos-hardware/dell/xps/15-9550/nvidia>` |
|
| [Dell Inspiron 5515](dell/inspiron/5515) | `<nixos-hardware/dell/inspiron/5515>` | `dell-inspiron-5515` |
|
||||||
| [Dell XPS 15 9550](dell/xps/15-9550) | `<nixos-hardware/dell/xps/15-9550>` |
|
| [Dell Inspiron 7405](dell/inspiron/7405) | `<nixos-hardware/dell/inspiron/7405>` | `dell-inspiron-7405` |
|
||||||
| [Dell XPS 15 9560, intel only](dell/xps/15-9560/intel) | `<nixos-hardware/dell/xps/15-9560/intel>` |
|
| [Dell Inspiron 7460](dell/inspiron/7460) | `<nixos-hardware/dell/inspiron/7460>` | `dell-inspiron-7460` |
|
||||||
| [Dell XPS 15 9560, nvidia only](dell/xps/15-9560/nvidia) | `<nixos-hardware/dell/xps/15-9560/nvidia>` |
|
| [Dell Inspiron 7559](dell/inspiron/7559) | `<nixos-hardware/dell/inspiron/7559>` | `dell-inspiron-7559` |
|
||||||
| [Dell XPS 15 9560](dell/xps/15-9560) | `<nixos-hardware/dell/xps/15-9560>` |
|
| [Dell Latitude 3340](dell/latitude/3340) | `<nixos-hardware/dell/latitude/3340>` | `dell-latitude-3340` |
|
||||||
| [Dell XPS 15 9570, intel only](dell/xps/15-9570/intel) | `<nixos-hardware/dell/xps/15-9570/intel>` |
|
| [Dell Latitude 3480](dell/latitude/3480) | `<nixos-hardware/dell/latitude/3480>` | `dell-latitude-3480` |
|
||||||
| [Dell XPS 15 9570, nvidia](dell/xps/15-9570/nvidia) | `<nixos-hardware/dell/xps/15-9570/nvidia>` |
|
| [Dell Latitude 5490](dell/latitude/5490) | `<nixos-hardware/dell/latitude/5490>` | `dell-latitude-5490` |
|
||||||
| [Dell XPS 15 9570](dell/xps/15-9570) | `<nixos-hardware/dell/xps/15-9570>` |
|
| [Dell Latitude 5520](dell/latitude/5520) | `<nixos-hardware/dell/latitude/5520>` | `dell-latitude-5520` |
|
||||||
| [Dell XPS 17 9700, intel](dell/xps/17-9700/intel) | `<nixos-hardware/dell/xps/17-9700/intel` |
|
| [Dell Latitude 7280](dell/latitude/7280) | `<nixos-hardware/dell/latitude/7280>` | `dell-latitude-7280` |
|
||||||
| [Dell XPS 17 9700, nvidia](dell/xps/17-9700/nvidia) | `<nixos-hardware/dell/xps/17-9700/nvidia>` |
|
| [Dell Latitude 7390](dell/latitude/7390) | `<nixos-hardware/dell/latitude/7390>` | `dell-latitude-7390` |
|
||||||
| [Dell XPS 17 9710, intel only](dell/xps/17-9710/intel) | `<nixos-hardware/dell/xps/17-9710/intel>` |
|
| [Dell Latitude 7420](dell/latitude/7420) | `<nixos-hardware/dell/latitude/7420>` | `dell-latitude-7420` |
|
||||||
| [Dell XPS E7240](dell/e7240) | `<nixos-hardware/dell/e7240>` |
|
| [Dell Latitude 7430](dell/latitude/7430) | `<nixos-hardware/dell/latitude/7430>` | `dell-latitude-7430` |
|
||||||
| [Framework 11th Gen Intel Core](framework/13-inch/11th-gen-intel) | `<nixos-hardware/framework/13-inch/11th-gen-intel>` |
|
| [Dell Latitude 7490](dell/latitude/7490) | `<nixos-hardware/dell/latitude/7490>` | `dell-latitude-7490` |
|
||||||
| [Framework 12th Gen Intel Core](framework/13-inch/12th-gen-intel) | `<nixos-hardware/framework/13-inch/12th-gen-intel>` |
|
| [Dell Latitude 9430](dell/latitude/9430) | `<nixos-hardware/dell/latitude/9430>` | `dell-latitude-9430` |
|
||||||
| [Framework 13th Gen Intel Core](framework/13-inch/13th-gen-intel) | `<nixos-hardware/framework/13-inch/13th-gen-intel>` |
|
| [Dell Latitude E7240](dell/latitude/e7240) | `<nixos-hardware/dell/latitude/e7240>` | `dell-latitude-e7240` |
|
||||||
| [Framework 13 AMD Ryzen 7040 Series](framework/13-inch/7040-amd) | `<nixos-hardware/framework/13-inch/7040-amd>` |
|
| [Dell Optiplex 3050](dell/optiplex/3050) | `<nixos-hardware/dell/optiplex/3050>` | `dell-optiplex-3050` |
|
||||||
| [FriendlyARM NanoPC-T4](friendlyarm/nanopc-t4) | `<nixos-hardware/friendlyarm/nanopc-t4>` |
|
| [Dell Poweredge R7515](dell/poweredge/r7515) | `<nixos-hardware/dell/poweredge/r7515>` | `dell-poweredge-r7515` |
|
||||||
| [FriendlyARM NanoPi R5s](friendlyarm/nanopi-r5s) | `<nixos-hardware/friendlyarm/nanopi-r5s>` |
|
| [Dell Precision 3490, nvidia](dell/precision/3490/nvidia) | `<nixos-hardware/dell/precision/3490/nvidia>` | `dell-precision-3490-nvidia` |
|
||||||
| [Focus M2 Gen 1](focus/m2/gen1) | `<nixos-hardware/focus/m2/gen1>` |
|
| [Dell Precision 3490, intel](dell/precision/3490/intel) | `<nixos-hardware/dell/precision/3490/intel>` | `dell-precision-3490-intel` |
|
||||||
| [Gigabyte B550](gigabyte/b550) | `<nixos-hardware/gigabyte/b550>` |
|
| [Dell Precision 3541](dell/precision/3541) | `<nixos-hardware/dell/precision/3541>` | `dell-precision-3541` |
|
||||||
| [GPD MicroPC](gpd/micropc) | `<nixos-hardware/gpd/micropc>` |
|
| [Dell Precision 5490](dell/precision/5490) | `<nixos-hardware/dell/precision/5490>` | `dell-precision-5490` |
|
||||||
| [GPD P2 Max](gpd/p2-max) | `<nixos-hardware/gpd/p2-max>` |
|
| [Dell Precision 5530](dell/precision/5530) | `<nixos-hardware/dell/precision/5530>` | `dell-precision-5530` |
|
||||||
| [GPD Pocket 3](gpd/pocket-3) | `<nixos-hardware/gpd/pocket-3>` |
|
| [Dell Precision 5560](dell/precision/5560) | `<nixos-hardware/dell/precision/5560>` | `dell-precision-5560` |
|
||||||
| [GPD WIN 2](gpd/win-2) | `<nixos-hardware/gpd/win-2>` |
|
| [Dell Precision 5570](dell/precision/5570) | `<nixos-hardware/dell/precision/5570>` | `dell-precision-5570` |
|
||||||
| [GPD WIN Max 2 2023](gpd/win-max-2/2023) | `<nixos-hardware/gpd/win-max-2/2023>` |
|
| [Dell Precision 7520](dell/precision/7520) | `<nixos-hardware/dell/precision/7520>` | `dell-precision-7520` |
|
||||||
| [Google Pixelbook](google/pixelbook) | `<nixos-hardware/google/pixelbook>` |
|
| [Dell XPS 13 7390](dell/xps/13-7390) | `<nixos-hardware/dell/xps/13-7390>` | `dell-xps-13-7390` |
|
||||||
| [HP Elitebook 2560p](hp/elitebook/2560p) | `<nixos-hardware/hp/elitebook/2560p>` |
|
| [Dell XPS 13 9300](dell/xps/13-9300) | `<nixos-hardware/dell/xps/13-9300>` | `dell-xps-13-9300` |
|
||||||
| [HP Elitebook 845g7](hp/elitebook/845/g7) | `<nixos-hardware/hp/elitebook/845/g7>` |
|
| [Dell XPS 13 9310](dell/xps/13-9310) | `<nixos-hardware/dell/xps/13-9310>` | `dell-xps-13-9310` |
|
||||||
| [HP Elitebook 845g8](hp/elitebook/845/g8) | `<nixos-hardware/hp/elitebook/845/g8>` |
|
| [Dell XPS 13 9315](dell/xps/13-9315) | `<nixos-hardware/dell/xps/13-9315>` | `dell-xps-13-9315` |
|
||||||
| [HP Elitebook 845g9](hp/elitebook/845/g9) | `<nixos-hardware/hp/elitebook/845/g9>` |
|
| [Dell XPS 13 9333](dell/xps/13-9333) | `<nixos-hardware/dell/xps/13-9333>` | `dell-xps-13-9333` |
|
||||||
| [HP Notebook 14-df0023](hp/notebook/14-df0023) | `<nixos-hardware/hp/notebook/14-df0023>` |
|
| [Dell XPS 13 9343](dell/xps/13-9343) | `<nixos-hardware/dell/xps/13-9343>` | `dell-xps-13-9343` |
|
||||||
| [i.MX8QuadMax Multisensory Enablement Kit](nxp/imx8qm-mek/) | `<nixos-hardware/nxp/imx8qm-mek>` |
|
| [Dell XPS 13 9350](dell/xps/13-9350) | `<nixos-hardware/dell/xps/13-9350>` | `dell-xps-13-9350` |
|
||||||
| [Intel NUC 8i7BEH](intel/nuc/8i7beh/) | `<nixos-hardware/intel/nuc/8i7beh>` |
|
| [Dell XPS 13 9360](dell/xps/13-9360) | `<nixos-hardware/dell/xps/13-9360>` | `dell-xps-13-9360` |
|
||||||
| [Lenovo IdeaPad Gaming 3 15arh05](lenovo/ideapad/15arh05) | `<nixos-hardware/lenovo/ideapad/15arh05>` |
|
| [Dell XPS 13 9370](dell/xps/13-9370) | `<nixos-hardware/dell/xps/13-9370>` | `dell-xps-13-9370` |
|
||||||
| [Lenovo IdeaPad Z510](lenovo/ideapad/z510) | `<nixos-hardware/lenovo/ideapad/z510>` |
|
| [Dell XPS 13 9380](dell/xps/13-9380) | `<nixos-hardware/dell/xps/13-9380>` | `dell-xps-13-9380` |
|
||||||
| [Lenovo IdeaPad Slim 5](lenovo/ideapad/slim-5) | `<nixos-hardware/lenovo/ideapad/slim-5>` |
|
| [Dell XPS 15 7590, nvidia](dell/xps/15-7590/nvidia) | `<nixos-hardware/dell/xps/15-7590/nvidia>` | `dell-xps-15-7590-nvidia` |
|
||||||
| [Lenovo IdeaPad S145 15api](lenovo/ideapad/s145-15api) | `<nixos-hardware/lenovo/ideapad/s145-15api>` |
|
| [Dell XPS 15 7590](dell/xps/15-7590) | `<nixos-hardware/dell/xps/15-7590>` | `dell-xps-15-7590` |
|
||||||
| [Lenovo Legion 5 15arh05h](lenovo/legion/15arh05h) | `<nixos-hardware/lenovo/legion/15arh05h>` |
|
| [Dell XPS 15 9500, nvidia](dell/xps/15-9500/nvidia) | `<nixos-hardware/dell/xps/15-9500/nvidia>` | `dell-xps-15-9500-nvidia` |
|
||||||
| [Lenovo Legion 7 Slim 15ach6](lenovo/legion/15ach6) | `<nixos-hardware/lenovo/legion/15ach6>` |
|
| [Dell XPS 15 9500](dell/xps/15-9500) | `<nixos-hardware/dell/xps/15-9500>` | `dell-xps-15-9500` |
|
||||||
| [Lenovo Legion 5 Pro 16ach6h](lenovo/legion/16ach6h) | `<nixos-hardware/lenovo/legion/16ach6h>` |
|
| [Dell XPS 15 9510, nvidia](dell/xps/15-9510/nvidia) | `<nixos-hardware/dell/xps/15-9510/nvidia>` | `dell-xps-15-9510-nvidia` |
|
||||||
| [Lenovo Legion 5 Pro 16ach6h (Hybrid)](lenovo/legion/16ach6h/hybrid) | `<nixos-hardware/lenovo/legion/16ach6h/hybrid>` |
|
| [Dell XPS 15 9510](dell/xps/15-9510) | `<nixos-hardware/dell/xps/15-9510>` | `dell-xps-15-9510` |
|
||||||
| [Lenovo Legion 5 Pro 16ach6h (Nvidia)](lenovo/legion/16ach6h/nvidia) | `<nixos-hardware/lenovo/legion/16ach6h/nvidia>` |
|
| [Dell XPS 15 9520, nvidia](dell/xps/15-9520/nvidia) | `<nixos-hardware/dell/xps/15-9520/nvidia>` | `dell-xps-15-9520-nvidia` |
|
||||||
| [Lenovo Legion 7 16achg6 (Hybrid)](lenovo/legion/16achg6/hybrid) | `<nixos-hardware/lenovo/legion/16achg6/hybrid>` |
|
| [Dell XPS 15 9520](dell/xps/15-9520) | `<nixos-hardware/dell/xps/15-9520>` | `dell-xps-15-9520` |
|
||||||
| [Lenovo Legion 7 16achg6 (Nvidia)](lenovo/legion/16achg6/nvidia) | `<nixos-hardware/lenovo/legion/16achg6/nvidia>` |
|
| [Dell XPS 15 9530, nvidia](dell/xps/15-9530/nvidia) | `<nixos-hardware/dell/xps/15-9530/nvidia>` | `dell-xps-15-9530-nvidia` |
|
||||||
| [Lenovo Legion 7i Pro 16irx8h (Intel)](lenovo/legion/16irx8h) | `<nixos-hardware/lenovo/legion/16irx8h>` |
|
| [Dell XPS 15 9530](dell/xps/15-9530) | `<nixos-hardware/dell/xps/15-9530>` | `dell-xps-15-9530` |
|
||||||
| [Lenovo Legion Slim 7 Gen 7 (AMD)](lenovo/legion/16arha7/) | `<nixos-hardware/lenovo/legion/16arha7>` |
|
| [Dell XPS 15 9550, nvidia](dell/xps/15-9550/nvidia) | `<nixos-hardware/dell/xps/15-9550/nvidia>` | `dell-xps-15-9550-nvidia` |
|
||||||
| [Lenovo Legion Y530 15ICH](lenovo/legion/15ich) | `<nixos-hardware/lenovo/legion/15ich>` |
|
| [Dell XPS 15 9550](dell/xps/15-9550) | `<nixos-hardware/dell/xps/15-9550>` | `dell-xps-15-9550` |
|
||||||
| [Lenovo ThinkPad E14 (AMD)](lenovo/thinkpad/e14/amd) | `<nixos-hardware/lenovo/thinkpad/e14/amd>` |
|
| [Dell XPS 15 9560, intel only](dell/xps/15-9560/intel) | `<nixos-hardware/dell/xps/15-9560/intel>` | `dell-xps-15-9560-intel` |
|
||||||
| [Lenovo ThinkPad E14 (Intel)](lenovo/thinkpad/e14/intel) | `<nixos-hardware/lenovo/thinkpad/e14/intel>` |
|
| [Dell XPS 15 9560, nvidia only](dell/xps/15-9560/nvidia) | `<nixos-hardware/dell/xps/15-9560/nvidia>` | `dell-xps-15-9560-nvidia` |
|
||||||
| [Lenovo ThinkPad E470](lenovo/thinkpad/e470) | `<nixos-hardware/lenovo/thinkpad/e470>` |
|
| [Dell XPS 15 9560](dell/xps/15-9560) | `<nixos-hardware/dell/xps/15-9560>` | `dell-xps-15-9560` |
|
||||||
| [Lenovo ThinkPad E495](lenovo/thinkpad/e495) | `<nixos-hardware/lenovo/thinkpad/e495>` |
|
| [Dell XPS 15 9570, intel only](dell/xps/15-9570/intel) | `<nixos-hardware/dell/xps/15-9570/intel>` | `dell-xps-15-9570-intel` |
|
||||||
| [Lenovo ThinkPad L13 Yoga](lenovo/thinkpad/l13/yoga) | `<nixos-hardware/lenovo/thinkpad/l13/yoga>` |
|
| [Dell XPS 15 9570, nvidia](dell/xps/15-9570/nvidia) | `<nixos-hardware/dell/xps/15-9570/nvidia>` | `dell-xps-15-9570-nvidia` |
|
||||||
| [Lenovo ThinkPad L13](lenovo/thinkpad/l13) | `<nixos-hardware/lenovo/thinkpad/l13>` |
|
| [Dell XPS 15 9570](dell/xps/15-9570) | `<nixos-hardware/dell/xps/15-9570>` | `dell-xps-15-9570` |
|
||||||
| [Lenovo ThinkPad L14 (AMD)](lenovo/thinkpad/l14/amd) | `<nixos-hardware/lenovo/thinkpad/l14/amd>` |
|
| [Dell XPS 17 9700, intel](dell/xps/17-9700/intel) | `<nixos-hardware/dell/xps/17-9700/intel` | `dell-xps-17-9700-intel` |
|
||||||
| [Lenovo ThinkPad L14 (Intel)](lenovo/thinkpad/l14/intel) | `<nixos-hardware/lenovo/thinkpad/l14/intel>` |
|
| [Dell XPS 17 9700, nvidia](dell/xps/17-9700/nvidia) | `<nixos-hardware/dell/xps/17-9700/nvidia>` | `dell-xps-17-9700-nvidia` |
|
||||||
| [Lenovo ThinkPad P1 Gen 3](lenovo/thinkpad/p1/3th-gen) | `<nixos-hardware/lenovo/thinkpad/p1/3th-gen>` |
|
| [Dell XPS 17 9710, intel only](dell/xps/17-9710/intel) | `<nixos-hardware/dell/xps/17-9710/intel>` | `dell-xps-17-9710-intel` |
|
||||||
| [Lenovo ThinkPad P14s AMD Gen 2](lenovo/thinkpad/p14s/amd/gen2) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen2>` |
|
| [Framework 11th Gen Intel Core](framework/13-inch/11th-gen-intel) | `<nixos-hardware/framework/13-inch/11th-gen-intel>` | `framework-11th-gen-intel` |
|
||||||
| [Lenovo ThinkPad P16s AMD Gen 1](lenovo/thinkpad/p16s/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/p16s/amd/gen1>` |
|
| [Framework 12th Gen Intel Core](framework/13-inch/12th-gen-intel) | `<nixos-hardware/framework/13-inch/12th-gen-intel>` | `framework-12th-gen-intel` |
|
||||||
| [Lenovo ThinkPad P1](lenovo/thinkpad/p1) | `<nixos-hardware/lenovo/thinkpad/p1>` |
|
| [Framework 13th Gen Intel Core](framework/13-inch/13th-gen-intel) | `<nixos-hardware/framework/13-inch/13th-gen-intel>` | `framework-13th-gen-intel` |
|
||||||
| [Lenovo ThinkPad P50](lenovo/thinkpad/p50) | `<nixos-hardware/lenovo/thinkpad/p50>` |
|
| [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` |
|
||||||
| [Lenovo ThinkPad P51](lenovo/thinkpad/p51) | `<nixos-hardware/lenovo/thinkpad/p51>` |
|
| [Framework 13 AMD Ryzen 7040 Series](framework/13-inch/7040-amd) | `<nixos-hardware/framework/13-inch/7040-amd>` | `framework-13-7040-amd` |
|
||||||
| [Lenovo ThinkPad P52](lenovo/thinkpad/p52) | `<nixos-hardware/lenovo/thinkpad/p52>` |
|
| [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` |
|
||||||
| [Lenovo ThinkPad P53](lenovo/thinkpad/p53) | `<nixos-hardware/lenovo/thinkpad/p53>` |
|
| [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` |
|
||||||
| [Lenovo ThinkPad T14 AMD Gen 1](lenovo/thinkpad/t14/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen1>` |
|
| [Framework 16 AMD Ryzen 7040 Series](framework/16-inch/7040-amd) | `<nixos-hardware/framework/16-inch/7040-amd>` | `framework-16-7040-amd` |
|
||||||
| [Lenovo ThinkPad T14 AMD Gen 2](lenovo/thinkpad/t14/amd/gen2) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen2>` |
|
| [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` |
|
||||||
| [Lenovo ThinkPad T14 AMD Gen 3](lenovo/thinkpad/t14/amd/gen3) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen3>` |
|
| [FriendlyARM NanoPC-T4](friendlyarm/nanopc-t4) | `<nixos-hardware/friendlyarm/nanopc-t4>` | `friendlyarm-nanopc-t4` |
|
||||||
| [Lenovo ThinkPad T14](lenovo/thinkpad/t14) | `<nixos-hardware/lenovo/thinkpad/t14>` |
|
| [FriendlyARM NanoPi R5s](friendlyarm/nanopi-r5s) | `<nixos-hardware/friendlyarm/nanopi-r5s>` | `friendlyarm-nanopi-r5s` |
|
||||||
| [Lenovo ThinkPad T14s AMD Gen 1](lenovo/thinkpad/t14s/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/t14s/amd/gen1>` |
|
| [Focus M2 Gen 1](focus/m2/gen1) | `<nixos-hardware/focus/m2/gen1>` | `focus-m2-gen1` |
|
||||||
| [Lenovo ThinkPad T14s](lenovo/thinkpad/t14s) | `<nixos-hardware/lenovo/thinkpad/t14s>` |
|
| [Fydetab Duo](fydetab/duo) | `<nixos-hardware/fydetab/duo>` | `fydetab-duo` |
|
||||||
| [Lenovo ThinkPad T410](lenovo/thinkpad/t410) | `<nixos-hardware/lenovo/thinkpad/t410>` |
|
| [Gigabyte B550](gigabyte/b550) | `<nixos-hardware/gigabyte/b550>` | `gigabyte-b550` |
|
||||||
| [Lenovo ThinkPad T420](lenovo/thinkpad/t420) | `<nixos-hardware/lenovo/thinkpad/t420>` |
|
| [Gigabyte B650](gigabyte/b650) | `<nixos-hardware/gigabyte/b650>` | `gigabyte-b650` |
|
||||||
| [Lenovo ThinkPad T430](lenovo/thinkpad/t430) | `<nixos-hardware/lenovo/thinkpad/t430>` |
|
| [GMKtec NucBox G3 Plus](gmktec/nucbox/g3-plus) | `<nixos-hardware/gmktec/nucbox/g3-plus>` | `gmktec-nucbox-g3-plus` |
|
||||||
| [Lenovo ThinkPad T440p](lenovo/thinkpad/t440p) | `<nixos-hardware/lenovo/thinkpad/t440p>` |
|
| [GPD MicroPC](gpd/micropc) | `<nixos-hardware/gpd/micropc>` | `gpd-micropc` |
|
||||||
| [Lenovo ThinkPad T440s](lenovo/thinkpad/t440s) | `<nixos-hardware/lenovo/thinkpad/t440s>` |
|
| [GPD P2 Max](gpd/p2-max) | `<nixos-hardware/gpd/p2-max>` | `gpd-p2-max` |
|
||||||
| [Lenovo ThinkPad T450s](lenovo/thinkpad/t450s) | `<nixos-hardware/lenovo/thinkpad/t450s>` |
|
| [GPD Pocket 3](gpd/pocket-3) | `<nixos-hardware/gpd/pocket-3>` | `gpd-pocket-3` |
|
||||||
| [Lenovo ThinkPad T460](lenovo/thinkpad/t460) | `<nixos-hardware/lenovo/thinkpad/t460>` |
|
| [GPD Pocket 4](gpd/pocket-4) | `<nixos-hardware/gpd/pocket-4>` | `gpd-pocket-4` |
|
||||||
| [Lenovo ThinkPad T460p](lenovo/thinkpad/t460p) | `<nixos-hardware/lenovo/thinkpad/t460p>` |
|
| [GPD WIN 2](gpd/win-2) | `<nixos-hardware/gpd/win-2>` | `gpd-win-2` |
|
||||||
| [Lenovo ThinkPad T460s](lenovo/thinkpad/t460s) | `<nixos-hardware/lenovo/thinkpad/t460s>` |
|
| [GPD WIN Max 2 2023](gpd/win-max-2/2023) | `<nixos-hardware/gpd/win-max-2/2023>` | `gpd-win-max-2-2023` |
|
||||||
| [Lenovo ThinkPad T470s](lenovo/thinkpad/t470s) | `<nixos-hardware/lenovo/thinkpad/t470s>` |
|
| [GPD WIN Mini 2024](gpd/win-mini/2024) | `<nixos-hardware/gpd/win-mini/2024>` | `gpd-win-mini-2024` |
|
||||||
| [Lenovo ThinkPad T480](lenovo/thinkpad/t480) | `<nixos-hardware/lenovo/thinkpad/t480>` |
|
| [Google Pixelbook](google/pixelbook) | `<nixos-hardware/google/pixelbook>` | `google-pixelbook` |
|
||||||
| [Lenovo ThinkPad T480s](lenovo/thinkpad/t480s) | `<nixos-hardware/lenovo/thinkpad/t480s>` |
|
| [HP Elitebook 2560p](hp/elitebook/2560p) | `<nixos-hardware/hp/elitebook/2560p>` | `hp-elitebook-2560p` |
|
||||||
| [Lenovo ThinkPad T490](lenovo/thinkpad/t490) | `<nixos-hardware/lenovo/thinkpad/t490>` |
|
| [HP Elitebook 830g6](hp/elitebook/830/g6) | `<nixos-hardware/hp/elitebook/830/g6>` | `hp-elitebook-830g6` |
|
||||||
| [Lenovo ThinkPad T495](lenovo/thinkpad/t495) | `<nixos-hardware/lenovo/thinkpad/t495>` |
|
| [HP Elitebook 845g7](hp/elitebook/845/g7) | `<nixos-hardware/hp/elitebook/845/g7>` | `hp-elitebook-845g7` |
|
||||||
| [Lenovo ThinkPad T520](lenovo/thinkpad/t520) | `<nixos-hardware/lenovo/thinkpad/t520>` |
|
| [HP Elitebook 845g8](hp/elitebook/845/g8) | `<nixos-hardware/hp/elitebook/845/g8>` | `hp-elitebook-845g8` |
|
||||||
| [Lenovo ThinkPad T550](lenovo/thinkpad/t550) | `<nixos-hardware/lenovo/thinkpad/t550>` |
|
| [HP Elitebook 845g9](hp/elitebook/845/g9) | `<nixos-hardware/hp/elitebook/845/g9>` | `hp-elitebook-845g9` |
|
||||||
| [Lenovo ThinkPad T590](lenovo/thinkpad/t590) | `<nixos-hardware/lenovo/thinkpad/t590>` |
|
| [HP Laptop 14s-dq2024nf](hp/laptop/14s-dq2024nf) | `<nixos-hardware/hp/laptop/14s-dq2024nf>` | `hp-laptop-14s-dq2024nf` |
|
||||||
| [Lenovo ThinkPad W520](lenovo/thinkpad/w520) | `<nixos-hardware/lenovo/thinkpad/w520>` |
|
| [HP Notebook 14-df0023](hp/notebook/14-df0023) | `<nixos-hardware/hp/notebook/14-df0023>` | `hp-notebook-14-df0023` |
|
||||||
| [Lenovo ThinkPad X1 Yoga](lenovo/thinkpad/x1/yoga) | `<nixos-hardware/lenovo/thinkpad/x1/yoga>` |
|
| [HP Probook 440G5](hp/probook/440G5) | `<nixos-hardware/hp/probook/440G5>` | `hp-probook-440G5` |
|
||||||
| [Lenovo ThinkPad X1 Yoga Gen 7](lenovo/thinkpad/x1/yoga/7th-gen/) | `<nixos-hardware/lenovo/thinkpad/x1/yoga/7th-gen>` |
|
| [HP Laptop 14s-dq2024nf](hp/laptop/14s-dq2024nf) | `<nixos-hardware/hp/laptop/14s-dq2024nf>` | `hp-laptop-14s-dq2024nf` |
|
||||||
| [Lenovo ThinkPad X1 (6th Gen)](lenovo/thinkpad/x1/6th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/6th-gen>` |
|
| [HP Probook 460G11](hp/probook/460g11) | `<nixos-hardware/hp/probook/460g11>` | `hp-probook-46011` |
|
||||||
| [Lenovo ThinkPad X1 (7th Gen)](lenovo/thinkpad/x1/7th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/7th-gen>` |
|
| [Huawei Matebook X Pro (2020)](huawei/machc-wa) | `<nixos-hardware/huawei/machc-wa>` | `huawei-machc-wa` |
|
||||||
| [Lenovo ThinkPad X1 (9th Gen)](lenovo/thinkpad/x1/9th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/9th-gen>` |
|
| [i.MX8QuadMax Multisensory Enablement Kit](nxp/imx8qm-mek/) | `<nixos-hardware/nxp/imx8qm-mek>` | `nxp-imx8qm-mek` |
|
||||||
| [Lenovo ThinkPad X1 (10th Gen)](lenovo/thinkpad/x1/10th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/10th-gen>` |
|
| [Intel NUC 5i5RYB](intel/nuc/5i5ryb/) | `<nixos-hardware/intel/nuc/5i5ryb>` | `intel-nuc-5i5ryb` |
|
||||||
| [Lenovo ThinkPad X1 (11th Gen)](lenovo/thinkpad/x1/11th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/11th-gen>` |
|
| [Intel NUC 8i7BEH](intel/nuc/8i7beh/) | `<nixos-hardware/intel/nuc/8i7beh>` | `intel-nuc-8i7beh` |
|
||||||
| [Lenovo ThinkPad X1 Extreme Gen 2](lenovo/thinkpad/x1-extreme/gen2) | `<nixos-hardware/lenovo/thinkpad/x1-extreme/gen2>` |
|
| [Kobol Helios4](kobol/helios4) | `<nixos-hardware/kobol/helios4>` | `kobol-helios-4` |
|
||||||
| [Lenovo ThinkPad X1 Extreme Gen 4](lenovo/thinkpad/x1-extreme/gen4) | `<nixos-hardware/lenovo/thinkpad/x1-extreme/gen4>` |
|
| [Lenovo IdeaCentre K330](lenovo/ideacentre/k330) | `<nixos-hardware/lenovo/ideacentre/k330>` | `lenovo-ideacentre-k330` |
|
||||||
| [Lenovo ThinkPad X1 Nano Gen 1](lenovo/thinkpad/x1-nano/gen1) | `<nixos-hardware/lenovo/thinkpad/x1-nano/gen1>` |
|
| [Lenovo IdeaPad 3 15alc6](lenovo/ideapad/15alc6) | `<nixos-hardware/lenovo/ideapad/15alc6>` | `lenovo-ideapad-15alc6` |
|
||||||
| [Lenovo ThinkPad X13 Yoga](lenovo/thinkpad/x13/yoga) | `<nixos-hardware/lenovo/thinkpad/x13/yoga>` |
|
| [Lenovo IdeaPad Gaming 3 15arh05](lenovo/ideapad/15arh05) | `<nixos-hardware/lenovo/ideapad/15arh05>` | `lenovo-ideapad-15arh05` |
|
||||||
| [Lenovo ThinkPad X13 Yoga (3th Gen)](lenovo/thinkpad/x13/yoga/3th-gen) | `<nixos-hardware/lenovo/thinkpad/x13/yoga/3th-gen>` |
|
| [Lenovo IdeaPad Gaming 3 15ach6](lenovo/ideapad/15ach6) | `<nixos-hardware/lenovo/ideapad/15ach6>` | `lenovo-ideapad-15ach6` |
|
||||||
| [Lenovo ThinkPad X13 (Intel)](lenovo/thinkpad/x13/intel) | `<nixos-hardware/lenovo/thinkpad/x13/intel>` |
|
| [Lenovo IdeaPad 5 Pro 14imh9](lenovo/ideapad/14imh9) | `<nixos-hardware/lenovo/ideapad/14imh9>` | `lenovo-ideapad-14imh9` |
|
||||||
| [Lenovo ThinkPad X13 (AMD)](lenovo/thinkpad/x13/amd) | `<nixos-hardware/lenovo/thinkpad/x13/amd>` |
|
| [Lenovo IdeaPad 5 Pro 16ach6](lenovo/ideapad/16ach6) | `<nixos-hardware/lenovo/ideapad/16ach6>` | `lenovo-ideapad-16ach6` |
|
||||||
| [Lenovo ThinkPad X140e](lenovo/thinkpad/x140e) | `<nixos-hardware/lenovo/thinkpad/x140e>` |
|
| [Lenovo IdeaPad Z510](lenovo/ideapad/z510) | `<nixos-hardware/lenovo/ideapad/z510>` | `lenovo-ideapad-z510` |
|
||||||
| [Lenovo ThinkPad X200s](lenovo/thinkpad/x200s) | `<nixos-hardware/lenovo/thinkpad/x200s>` |
|
| [Lenovo IdeaPad Slim 5](lenovo/ideapad/slim-5) | `<nixos-hardware/lenovo/ideapad/slim-5>` | `lenovo-ideapad-slim-5` |
|
||||||
| [Lenovo ThinkPad X220](lenovo/thinkpad/x220) | `<nixos-hardware/lenovo/thinkpad/x220>` |
|
| [Lenovo IdeaPad Slim 5 16iah8](lenovo/ideapad/16iah8) | `<nixos-hardware/lenovo/ideapad/16iah8` | `lenovo-ideapad-s5-16iah8` |
|
||||||
| [Lenovo ThinkPad X230](lenovo/thinkpad/x230) | `<nixos-hardware/lenovo/thinkpad/x230>` |
|
| [Lenovo IdeaPad 2-in-1 16ahp9](lenovo/ideapad/16ahp9) | `<nixos-hardware/lenovo/ideapad/16ahp9>` | `lenovo-ideapad-16ahp9` |
|
||||||
| [Lenovo ThinkPad X250](lenovo/thinkpad/x250) | `<nixos-hardware/lenovo/thinkpad/x250>` |
|
| [Lenovo IdeaPad S145 15api](lenovo/ideapad/s145-15api) | `<nixos-hardware/lenovo/ideapad/s145-15api>` | `lenovo-ideapad-s145-15api` |
|
||||||
| [Lenovo ThinkPad X260](lenovo/thinkpad/x260) | `<nixos-hardware/lenovo/thinkpad/x260>` |
|
| [Lenovo Legion 5 15ach6h](lenovo/legion/15ach6h) | `<nixos-hardware/lenovo/legion/15ach6h>` | `lenovo-legion-15ach6h` |
|
||||||
| [Lenovo ThinkPad X270](lenovo/thinkpad/x270) | `<nixos-hardware/lenovo/thinkpad/x270>` |
|
| [Lenovo Legion 5 15ach6h (Hybrid)](lenovo/legion/15ach6h/hybrid) | `<nixos-hardware/lenovo/legion/15ach6h/hybrid>` | `lenovo-legion-15ach6h-hybrid` |
|
||||||
| [Lenovo ThinkPad X280](lenovo/thinkpad/x280) | `<nixos-hardware/lenovo/thinkpad/x280>` |
|
| [Lenovo Legion 5 15ach6h (Nvidia)](lenovo/legion/15ach6h/hybrid) | `<nixos-hardware/lenovo/legion/15ach6h/nvidia>` | `lenovo-legion-15ach6h-nvidia` |
|
||||||
| [Lenovo ThinkPad X390](lenovo/thinkpad/x390) | `<nixos-hardware/lenovo/thinkpad/x390>` |
|
| [Lenovo Legion 5 15arh05h](lenovo/legion/15arh05h) | `<nixos-hardware/lenovo/legion/15arh05h>` | `lenovo-legion-15arh05h` |
|
||||||
| [Lenovo ThinkPad Z Series](lenovo/thinkpad/z) | `<nixos-hardware/lenovo/thinkpad/z>` |
|
| [Lenovo Legion 7 Slim 15ach6](lenovo/legion/15ach6) | `<nixos-hardware/lenovo/legion/15ach6>` | `lenovo-legion-15ach6` |
|
||||||
| [Lenovo ThinkPad Z13](lenovo/thinkpad/z/z13) | `<nixos-hardware/lenovo/thinkpad/z/z13>` |
|
| [Lenovo Legion 5 Pro 16ach6h](lenovo/legion/16ach6h) | `<nixos-hardware/lenovo/legion/16ach6h>` | `lenovo-legion-16ach6h` |
|
||||||
| [LENOVO Yoga 6 13ALC6 82ND](lenovo/yoga/6/13ALC6) | `<nixos-hardware/lenovo/yoga/6/13ALC6>` |
|
| [Lenovo Legion 5 Pro 16ach6h (Hybrid)](lenovo/legion/16ach6h/hybrid) | `<nixos-hardware/lenovo/legion/16ach6h/hybrid>` | `lenovo-legion-16ach6h-hybrid` |
|
||||||
| [LENOVO Yoga Slim 7 Pro-X 14ARH7 82ND](lenovo/yoga/7/14ARH7/amdgpu) | `<nixos-hardware/lenovo/yoga/7/14ARH7/amdgpu>` |
|
| [Lenovo Legion 5 Pro 16ach6h (Nvidia)](lenovo/legion/16ach6h/nvidia) | `<nixos-hardware/lenovo/legion/16ach6h/nvidia>` | `lenovo-legion-16ach6h-nvidia` |
|
||||||
| [LENOVO Yoga Slim 7 Pro-X 14ARH7 82ND](lenovo/yoga/7/14ARH7/nvidia) | `<nixos-hardware/lenovo/yoga/7/14ARH7/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 Yoga 7 Slim Gen8](lenovo/yoga/7/slim/gen8) | `<nixos-hardware/lenovo/yoga/7/slim/gen8>` |
|
| [Lenovo Legion 5 Pro 16arh7h (Hybrid)](lenovo/legion/16arh7h/hybrid) | `<nixos-hardware/lenovo/legion/16arh7h/hybrid>` | `lenovo-legion-16arh7h-hybrid` |
|
||||||
| [MSI B550-A PRO](msi/b550-a-pro) | `<nixos-hardware/msi/b550-a-pro>` |
|
| [Lenovo Legion 5 Pro 16IAH7H (Intel)](lenovo/legion/16iah7h/) | `<nixos-hardware/lenovo/legion/16iah7h>` | `lenovo-legion-16iah7h` |
|
||||||
| [MSI B350 TOMAHAWK](msi/b350-tomahawk) | `<nixos-hardware/msi/b350-tomahawk>` |
|
| [Lenovo Legion 7 16achg6 (Hybrid)](lenovo/legion/16achg6/hybrid) | `<nixos-hardware/lenovo/legion/16achg6/hybrid>` | `lenovo-legion-16achg6-hybrid` |
|
||||||
| [MSI GS60 2QE](msi/gs60) | `<nixos-hardware/msi/gs60>` |
|
| [Lenovo Legion 7 16achg6 (Nvidia)](lenovo/legion/16achg6/nvidia) | `<nixos-hardware/lenovo/legion/16achg6/nvidia>` | `lenovo-legion-16achg6-nvidia` |
|
||||||
| [MSI GL62/CX62](msi/gl62) | `<nixos-hardware/msi/gl62>` |
|
| [Lenovo Legion 7i Pro 16irx8h (Intel)](lenovo/legion/16irx8h) | `<nixos-hardware/lenovo/legion/16irx8h>` | `lenovo-legion-16irx8h` |
|
||||||
| [Microchip Icicle Kit](microchip/icicle-kit) | `<nixos-hardware/microchip/icicle-kit>` |
|
| [Lenovo Legion 7 Pro 16irx9h (Intel)](lenovo/legion/16irx9h) | `<nixos-hardware/lenovo/legion/16irx9h>` | `lenovo-legion-16irx9h` |
|
||||||
| [Microsoft Surface Go](microsoft/surface/surface-go) | `<nixos-hardware/microsoft/surface/surface-go>` |
|
| [Lenovo Legion Slim 5](lenovo/legion/16aph8/) | `<nixos-hardware/lenovo/legion/16aph8>` | `lenovo-legion-16aph8` |
|
||||||
| [Microsoft Surface Pro (Intel)](microsoft/surface/surface-pro-intel) | `<nixos-hardware/microsoft/surface/surface-pro-intel>` |
|
| [Lenovo Legion Slim 7 Gen 7 (AMD)](lenovo/legion/16arha7/) | `<nixos-hardware/lenovo/legion/16arha7>` | `lenovo-legion-16arha7` |
|
||||||
| [Microsoft Surface Laptop (AMD)](microsoft/surface/surface-laptop-amd) | `<nixos-hardware/microsoft/surface/surface-laptop-amd>` |
|
| [Lenovo Legion T5 AMR5](lenovo/legion/t526amr5) | `<nixos-hardware/lenovo/legion/t526amr5>` | `lenovo-legion-t526amr5` |
|
||||||
| [Microsoft Surface Range (Common Modules)](microsoft/surface/common) | `<nixos-hardware/microsoft/surface/common>` |
|
| [Lenovo Legion Y530 15ICH](lenovo/legion/15ich) | `<nixos-hardware/lenovo/legion/15ich>` | `lenovo-legion-y530-15ich` |
|
||||||
| [Microsoft Surface Pro 3](microsoft/surface-pro/3) | `<nixos-hardware/microsoft/surface-pro/3>` |
|
| [Lenovo ThinkPad A475](lenovo/thinkpad/a475) | `<nixos-hardware/lenovo/thinkpad/a475>` | `lenovo-thinkpad-a475` |
|
||||||
| [Morefine M600](morefine/m600) | `<nixos-hardware/morefine/m600>` |
|
| [Lenovo ThinkPad E14 (AMD)](lenovo/thinkpad/e14/amd) | `<nixos-hardware/lenovo/thinkpad/e14/amd>` | `lenovo-thinkpad-e14-amd` |
|
||||||
| [NXP iMX8 MPlus Evaluation Kit](nxp/imx8mp-evk) | `<nixos-hardware/nxp/imx8mp-evk>` |
|
| [Lenovo ThinkPad E14 (Intel - Gen 1)](lenovo/thinkpad/e14/intel) | `<nixos-hardware/lenovo/thinkpad/e14/intel>` | `lenovo-thinkpad-e14-intel` |
|
||||||
| [NXP iMX8 MQuad Evaluation Kit](nxp/imx8mq-evk) | `<nixos-hardware/nxp/imx8mq-evk>` |
|
| [Lenovo ThinkPad E14 (Intel - Gen 4)](lenovo/thinkpad/e14/intel/gen4) | `<nixos-hardware/lenovo/thinkpad/e14/intel/gen4>` | `lenovo-thinkpad-e14-intel-gen4` |
|
||||||
| [Hardkernel Odroid HC4](hardkernel/odroid-hc4/default.nix) | `<nixos-hardware/hardkernel/odroid-hc4>` |
|
| [Lenovo ThinkPad E14 (Intel - Gen 6)](lenovo/thinkpad/e14/intel/gen6) | `<nixos-hardware/lenovo/thinkpad/e14/intel/gen6>` | `lenovo-thinkpad-e14-intel-gen6` |
|
||||||
| [Hardkernel Odroid H3](hardkernel/odroid-h3/default.nix) | `<nixos-hardware/hardkernel/odroid-h3>` |
|
| [Lenovo ThinkPad E15 (Intel)](lenovo/thinkpad/e15/intel) | `<nixos-hardware/lenovo/thinkpad/e15/intel>` | `lenovo-thinkpad-e15-intel` |
|
||||||
| [Omen 15-en0010ca](omen/15-en0010ca) | `<nixos-hardware/omen/15-en0010ca>` |
|
| [Lenovo ThinkPad E470](lenovo/thinkpad/e470) | `<nixos-hardware/lenovo/thinkpad/e470>` | `lenovo-thinkpad-e470` |
|
||||||
| [Omen 16-n0005ne](omen/16-n0005ne) | `<nixos-hardware/omen/16-n0005ne>` |
|
| [Lenovo ThinkPad E495](lenovo/thinkpad/e495) | `<nixos-hardware/lenovo/thinkpad/e495>` | `lenovo-thinkpad-e495` |
|
||||||
| [Omen 15-en1007sa](omen/15-en1007sa) | `<nixos-hardware/omen/15-en1007sa>` |
|
| [Lenovo ThinkPad L13 Yoga](lenovo/thinkpad/l13/yoga) | `<nixos-hardware/lenovo/thinkpad/l13/yoga>` | `lenovo-thinkpad-l13-yoga` |
|
||||||
| [Omen 15-en0002np](omen/15-en0002np) | `<nixos-hardware/omen/15-en0002np>` |
|
| [Lenovo ThinkPad L13](lenovo/thinkpad/l13) | `<nixos-hardware/lenovo/thinkpad/l13>` | `lenovo-thinkpad-l13` |
|
||||||
| [One-Netbook OneNetbook 4](onenetbook/4) | `<nixos-hardware/onenetbook/4>` |
|
| [Lenovo ThinkPad L14 (AMD)](lenovo/thinkpad/l14/amd) | `<nixos-hardware/lenovo/thinkpad/l14/amd>` | `lenovo-thinkpad-l14-amd` |
|
||||||
| [Panasonic Let's Note CF-LX4](panasonic/letsnote/cf-lx4) | `<nixos-hardware/panasonic/letsnote/cf-lx4>` |
|
| [Lenovo ThinkPad L14 (Intel)](lenovo/thinkpad/l14/intel) | `<nixos-hardware/lenovo/thinkpad/l14/intel>` | `lenovo-thinkpad-l14-intel` |
|
||||||
| [PC Engines APU](pcengines/apu) | `<nixos-hardware/pcengines/apu>` |
|
| [Lenovo ThinkPad L480](lenovo/thinkpad/l480) | `<nixos-hardware/lenovo/thinkpad/l480>` | `lenovo-thinkpad-l480` |
|
||||||
| [PINE64 Pinebook Pro](pine64/pinebook-pro/) | `<nixos-hardware/pine64/pinebook-pro>` |
|
| [Lenovo ThinkPad P1 Gen 3](lenovo/thinkpad/p1/3th-gen) | `<nixos-hardware/lenovo/thinkpad/p1/3th-gen>` | `lenovo-thinkpad-p1-gen3` |
|
||||||
| [PINE64 RockPro64](pine64/rockpro64/) | `<nixos-hardware/pine64/rockpro64>` |
|
| [Lenovo ThinkPad P14s AMD Gen 1](lenovo/thinkpad/p14s/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen1>` | `lenovo-thinkpad-p14s-amd-gen1` |
|
||||||
| [PINE64 STAR64](pine64/star64/) | `<nixos-hardware/pine64/star64>` |
|
| [Lenovo ThinkPad P14s AMD Gen 2](lenovo/thinkpad/p14s/amd/gen2) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen2>` | `lenovo-thinkpad-p14s-amd-gen2` |
|
||||||
| [Protectli VP4670](protectli/vp4670/) | `<nixos-hardware/protectli/vp4670>` |
|
| [Lenovo ThinkPad P14s AMD Gen 3](lenovo/thinkpad/p14s/amd/gen3) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen3>` | `lenovo-thinkpad-p14s-amd-gen3` |
|
||||||
| [Purism Librem 13v3](purism/librem/13v3) | `<nixos-hardware/purism/librem/13v3>` |
|
| [Lenovo ThinkPad P14s AMD Gen 4](lenovo/thinkpad/p14s/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen4>` | `lenovo-thinkpad-p14s-amd-gen4` |
|
||||||
| [Purism Librem 15v3](purism/librem/13v3) | `<nixos-hardware/purism/librem/15v3>` |
|
| [Lenovo ThinkPad P14s AMD Gen 5](lenovo/thinkpad/p14s/amd/gen5) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen5>` | `lenovo-thinkpad-p14s-amd-gen5` |
|
||||||
| [Purism Librem 5r4](purism/librem/5r4) | `<nixos-hardware/purism/librem/5r4>` |
|
| [Lenovo ThinkPad P14s Intel Gen 2](lenovo/thinkpad/p14s/intel/gen2) | `<nixos-hardware/lenovo/thinkpad/p14s/intel/gen2>` | `lenovo-thinkpad-p14s-intel-gen2` |
|
||||||
| [Raspberry Pi 2](raspberry-pi/2) | `<nixos-hardware/raspberry-pi/2>` |
|
| [Lenovo ThinkPad P14s Intel Gen 3](lenovo/thinkpad/p14s/intel/gen3) | `<nixos-hardware/lenovo/thinkpad/p14s/intel/gen3>` | `lenovo-thinkpad-p14s-intel-gen3` |
|
||||||
| [Raspberry Pi 4](raspberry-pi/4) | `<nixos-hardware/raspberry-pi/4>` |
|
| [Lenovo ThinkPad P14s Intel Gen 5](lenovo/thinkpad/p14s/intel/gen5) | `<nixos-hardware/lenovo/thinkpad/p14s/intel/gen5>` | `lenovo-thinkpad-p14s-intel-gen5` |
|
||||||
| [Samsung Series 9 NP900X3C](samsung/np900x3c) | `<nixos-hardware/samsung/np900x3c>` |
|
| [Lenovo ThinkPad P16s AMD Gen 1](lenovo/thinkpad/p16s/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/p16s/amd/gen1>` | `lenovo-thinkpad-p16s-amd-gen1` |
|
||||||
| [StarFive VisionFive v1](starfive/visionfive/v1) | `<nixos-hardware/starfive/visionfive/v1>` |
|
| [Lenovo ThinkPad P16s AMD Gen 2](lenovo/thinkpad/p16s/amd/gen2) | `<nixos-hardware/lenovo/thinkpad/p16s/amd/gen2>` | `lenovo-thinkpad-p16s-amd-gen2` |
|
||||||
| [StarFive VisionFive 2](starfive/visionfive/v2) | `<nixos-hardware/starfive/visionfive/v2>` |
|
| [Lenovo ThinkPad P16s AMD Gen 4](lenovo/thinkpad/p16s/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/p16s/amd/gen4>` | `lenovo-thinkpad-p16s-amd-gen4` |
|
||||||
| [Supermicro A1SRi-2758F](supermicro/a1sri-2758f) | `<nixos-hardware/supermicro/a1sri-2758f>` |
|
| [Lenovo ThinkPad P16s Intel Gen 2](lenovo/thinkpad/p16s/intel/gen2) | `<nixos-hardware/lenovo/thinkpad/p16s/intel/gen2>` | `lenovo-thinkpad-p16s-intel-gen2` |
|
||||||
| [Supermicro M11SDV-8C-LN4F](supermicro/m11sdv-8c-ln4f) | `<nixos-hardware/supermicro/m11sdv-8c-ln4f>` |
|
| [Lenovo ThinkPad P1](lenovo/thinkpad/p1) | `<nixos-hardware/lenovo/thinkpad/p1>` | `lenovo-thinkpad-p1` |
|
||||||
| [Supermicro X10SLL-F](supermicro/x10sll-f) | `<nixos-hardware/supermicro/x10sll-f>` |
|
| [Lenovo ThinkPad P43s](lenovo/thinkpad/p43s) | `<nixos-hardware/lenovo/thinkpad/p43s>` | `lenovo-thinkpad-p43s` |
|
||||||
| [Supermicro X12SCZ-TLN4F](supermicro/x12scz-tln4f) | `<nixos-hardware/supermicro/x12scz-tln4f>` |
|
| [Lenovo ThinkPad P50](lenovo/thinkpad/p50) | `<nixos-hardware/lenovo/thinkpad/p50>` | `lenovo-thinkpad-p50` |
|
||||||
| [System76 (generic)](system76) | `<nixos-hardware/system76>` |
|
| [Lenovo ThinkPad P51](lenovo/thinkpad/p51) | `<nixos-hardware/lenovo/thinkpad/p51>` | `lenovo-thinkpad-p51` |
|
||||||
| [System76 Darter Pro 6](system76/darp6) | `<nixos-hardware/system76/darp6>` |
|
| [Lenovo ThinkPad P52](lenovo/thinkpad/p52) | `<nixos-hardware/lenovo/thinkpad/p52>` | `lenovo-thinkpad-p52` |
|
||||||
| [Toshiba Chromebook 2 `swanky`](toshiba/swanky) | `<nixos-hardware/toshiba/swanky>` |
|
| [Lenovo ThinkPad P53](lenovo/thinkpad/p53) | `<nixos-hardware/lenovo/thinkpad/p53>` | `lenovo-thinkpad-p53` |
|
||||||
| [Tuxedo InfinityBook v4](tuxedo/infinitybook/v4) | `<nixos-hardware/tuxedo/infinitybook/v4>` |
|
| [Lenovo ThinkPad T14 AMD Gen 1](lenovo/thinkpad/t14/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen1>` | `lenovo-thinkpad-t14-amd-gen1` |
|
||||||
| [TUXEDO InfinityBook Pro 14 - Gen7](tuxedo/infinitybook/pro14/gen7) | `<nixos-hardware/tuxedo/infinitybook/pro14/gen7>` |
|
| [Lenovo ThinkPad T14 AMD Gen 2](lenovo/thinkpad/t14/amd/gen2) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen2>` | `lenovo-thinkpad-t14-amd-gen2` |
|
||||||
| [TUXEDO Pulse 15 - Gen2](tuxedo/pulse/15/gen2) | `<nixos-hardware/tuxedo/pulse/15/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` |
|
||||||
@@ -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;
|
||||||
|
|||||||
@@ -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 ];
|
||||||
|
|||||||
@@ -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/
|
||||||
|
}
|
||||||
+1
-6
@@ -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;
|
||||||
}
|
}
|
||||||
@@ -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
|
||||||
@@ -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;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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
|
||||||
@@ -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;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
../../common/cpu/intel
|
||||||
|
../../common/pc/laptop
|
||||||
|
../../common/pc/ssd
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -3,13 +3,11 @@
|
|||||||
{
|
{
|
||||||
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;
|
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -1,8 +1,10 @@
|
|||||||
{ lib, ... }:
|
{ config, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ../. ];
|
imports = [ ../. ];
|
||||||
|
|
||||||
|
boot.blacklistedKernelModules = [ "bcma" ];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
# Divides power consumption by two.
|
# Divides power consumption by two.
|
||||||
kernelParams = [ "acpi_osi=" ];
|
kernelParams = [ "acpi_osi=" ];
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -3,6 +3,6 @@
|
|||||||
../.
|
../.
|
||||||
../../common/cpu/intel
|
../../common/cpu/intel
|
||||||
../../common/pc/laptop
|
../../common/pc/laptop
|
||||||
../../common/pc/laptop/ssd
|
../../common/pc/ssd
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@@ -1,11 +1,15 @@
|
|||||||
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
|
../../../common/gpu/24.05-compat.nix
|
||||||
|
../../../common/gpu/nvidia/kepler
|
||||||
];
|
];
|
||||||
|
|
||||||
# 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
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{ lib, config, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
../../../common/pc/ssd
|
||||||
|
../../../common/cpu/intel/haswell
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||||||
|
}
|
||||||
@@ -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`
|
||||||
@@ -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;
|
||||||
|
}
|
||||||
@@ -9,7 +9,7 @@ in
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable broadcom-43xx firmware
|
# Enable broadcom-43xx firmware
|
||||||
@@ -18,7 +18,6 @@ in
|
|||||||
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"'';
|
||||||
}
|
}
|
||||||
@@ -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.
|
||||||
@@ -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.
|
||||||
|
|||||||
@@ -1,17 +1,26 @@
|
|||||||
# MacBook Pro 14,1
|
# MacBook Pro 14,1, NixOS 24.05 (2024)
|
||||||
|
|
||||||
## Audio
|
## Audio
|
||||||
|
- [ ] broken until https://github.com/NixOS/nixpkgs/pull/322968 lands in master
|
||||||
Audio is a lost cause. Bribe an Apple or Cirrus engineer for the datasheet. ;)
|
|
||||||
|
|
||||||
## Thunderbolt
|
|
||||||
|
|
||||||
The thunderbolt module will oops upon system resume, and subsequently refuse to work until next reboot.
|
|
||||||
|
|
||||||
## Suspend/Resume
|
|
||||||
|
|
||||||
The d3cold state needs to be disabled on the NVME controller for it to wake up.
|
|
||||||
|
|
||||||
## Bluetooth
|
## Bluetooth
|
||||||
The Bluetooth UART (/dev/ttyS0) is created and then deleted by udev in early boot.
|
- [ ] broken lands https://github.com/NixOS/nixpkgs/pull/322964 in master
|
||||||
Hack around it by reloading the 8250_dw module, causing it to be re-created.
|
|
||||||
|
## 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
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
##
|
|
||||||
# For some reason /dev/ttyS0 is created, and then removed by udev. We need this
|
|
||||||
# for bluetooth, and the only way to get it again is to reload 8502_dw. Do so.
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
##
|
|
||||||
# /sys/devices/pci0000:00/0000:00:1e.0/driver -> intel-lpss
|
|
||||||
# /sys/bus/pci/devices/0000:00:1e.0
|
|
||||||
# /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:8a/BCM2E7C:00
|
|
||||||
##
|
|
||||||
|
|
||||||
# udevadm info --query=all --path=/sys/bus/serial/devices/serial0-0
|
|
||||||
# P: /devices/pci0000:00/0000:00:1e.0/dw-apb-uart.2/serial0/serial0-0
|
|
||||||
# M: serial0-0
|
|
||||||
# R: 0
|
|
||||||
# U: serial
|
|
||||||
# E: DEVPATH=/devices/pci0000:00/0000:00:1e.0/dw-apb-uart.2/serial0/serial0-0
|
|
||||||
# E: SUBSYSTEM=serial
|
|
||||||
# E: MODALIAS=acpi:BCM2E7C:APPLE-UART-BLTH:
|
|
||||||
# E: USEC_INITIALIZED=12406199
|
|
||||||
# E: PATH=/nix/store/56jhf2k9q31gwvhjxmm2akkkhi4a8nz1-udev-path/bin:/nix/store/56jhf2k9q31gwvhjxmm2akkkhi4a8nz1-udev-path/sbin
|
|
||||||
# E: ID_VENDOR_FROM_DATABASE=Broadcom
|
|
||||||
|
|
||||||
|
|
||||||
if [[ ! -e "/sys/devices/pci0000:00/0000:00:1e.0/dw-apb-uart.2/tty/ttyS0" ]]; then
|
|
||||||
if [[ -e /sys/module/8250_dw ]]; then
|
|
||||||
rmmod 8250_dw
|
|
||||||
fi
|
|
||||||
|
|
||||||
modprobe 8250_dw
|
|
||||||
fi
|
|
||||||
|
|
||||||
exec btattach --protocol=h4 --bredr=/dev/ttyS0 --speed=3000000
|
|
||||||
@@ -1,51 +1,69 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/cpu/intel/kaby-lake
|
||||||
|
../../../common/hidpi.nix
|
||||||
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
##
|
# Make the keyboard work in stage1, enable iommu
|
||||||
# Make the keyboard work in stage1
|
|
||||||
# https://www.kernelconfig.io/config_keyboard_applespi
|
# https://www.kernelconfig.io/config_keyboard_applespi
|
||||||
##
|
|
||||||
boot.initrd.kernelModules = [ "applespi" "spi_pxa2xx_platform" "intel_lpss_pci" "applesmc" ];
|
|
||||||
|
|
||||||
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.0") pkgs.linuxPackages_latest;
|
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
|
||||||
# Disable d3cold on the NVME controller so the machine can actually
|
services.libinput.enable = true;
|
||||||
# wake up.
|
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
|
# https://github.com/Dunedan/mbp-2016-linux
|
||||||
##
|
#
|
||||||
systemd.services.disable-nvme-d3cold = {
|
#systemd.services.disable-nvme-d3cold = {
|
||||||
description = "Disables d3cold on the NVME controller";
|
# description = "Disables d3cold on the NVME controller";
|
||||||
before = [ "suspend.target" ];
|
# before = [ "suspend.target" ];
|
||||||
path = [ pkgs.bash pkgs.coreutils ];
|
# path = [ pkgs.bash pkgs.coreutils ];
|
||||||
|
# serviceConfig.Type = "oneshot";
|
||||||
serviceConfig.Type = "oneshot";
|
# serviceConfig.ExecStart = "${./disable-nvme-d3cold.sh}";
|
||||||
serviceConfig.ExecStart = "${./disable-nvme-d3cold.sh}";
|
# serviceConfig.TimeoutSec = 0;
|
||||||
serviceConfig.TimeoutSec = 0;
|
# wantedBy = [ "multi-user.target" "suspend.target" ];
|
||||||
|
#};
|
||||||
wantedBy = [ "multi-user.target" "suspend.target" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
##
|
|
||||||
# For some reason /dev/ttyS0 is created, and then removed by udev. We need this
|
|
||||||
# for bluetooth, and the only way to get it again is to reload 8502_dw. Luckily,
|
|
||||||
# nothing else uses it.
|
|
||||||
##
|
|
||||||
systemd.services.btattach-bcm2e7c = lib.mkIf config.hardware.bluetooth.enable {
|
|
||||||
before = [ "bluetooth.target" ];
|
|
||||||
|
|
||||||
# Hacky, as it's a different device, but this always comes after ttyS0
|
|
||||||
after = [ "sys-devices-platform-serial8250-tty-ttyS1.device" ];
|
|
||||||
path = [ pkgs.bash pkgs.kmod pkgs.bluez ];
|
|
||||||
|
|
||||||
serviceConfig.Type = "simple";
|
|
||||||
serviceConfig.ExecStart = "${./btfix.sh}";
|
|
||||||
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
@@ -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;
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
../../../common/cpu/intel/sandy-bridge
|
||||||
|
../../../common/pc/ssd
|
||||||
|
];
|
||||||
|
|
||||||
|
networking.enableB43Firmware = lib.mkDefault true;
|
||||||
|
}
|
||||||
@@ -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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
../../common/cpu/intel
|
||||||
|
];
|
||||||
|
}
|
||||||
+2
-26
@@ -8,29 +8,5 @@ Following [this guide](https://wiki.t2linux.org/distributions/nixos/installation
|
|||||||
|
|
||||||
You can consult the [wiki](https://wiki.t2linux.org/) for information specific to T2 Macs.
|
You can consult the [wiki](https://wiki.t2linux.org/) for information specific to T2 Macs.
|
||||||
|
|
||||||
## Unlocking Internal iGPU
|
> [!warning]
|
||||||
|
> Always ensure compatibility and make backups of your data before making any system changes.
|
||||||
The `apple-set-os-loader-installer` module serves as an installer for the [`apple-set-os-loader`](https://github.com/Redecorating/apple_set_os-loader). This tool is designed to unlock the internal integrated GPU (iGPU) on certain MacBooks. See https://wiki.t2linux.org/guides/hybrid-graphics/ for more details.
|
|
||||||
|
|
||||||
### What it Does:
|
|
||||||
|
|
||||||
Upon activation, this module performs the following:
|
|
||||||
|
|
||||||
- Renames the existing `BOOTX64.EFI` file to `bootx64_original.efi`.
|
|
||||||
- Installs the `apple-set-os-loader` hook in its place as `bootx64.efi`.
|
|
||||||
- Before the system boots the hook unlocks the iGPU and subsequently calls the original `bootx64_original.efi`.
|
|
||||||
- Enables the iGPU by default.
|
|
||||||
|
|
||||||
### How to Implement:
|
|
||||||
|
|
||||||
1. Add this into your `configuration.nix`:
|
|
||||||
```
|
|
||||||
hardware.apple-t2.enableAppleSetOsLoader = true;
|
|
||||||
```
|
|
||||||
|
|
||||||
2. **Rebuild your system**:
|
|
||||||
```
|
|
||||||
sudo nixos-rebuild switch
|
|
||||||
```
|
|
||||||
|
|
||||||
> **Note**: Always ensure compatibility and make backups of your data before making any system changes.
|
|
||||||
+101
-77
@@ -1,6 +1,14 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
inherit (lib) types;
|
||||||
|
nixosVersion = lib.versions.majorMinor lib.version;
|
||||||
|
|
||||||
audioFiles = pkgs.fetchFromGitHub {
|
audioFiles = pkgs.fetchFromGitHub {
|
||||||
owner = "kekrby";
|
owner = "kekrby";
|
||||||
repo = "t2-better-audio";
|
repo = "t2-better-audio";
|
||||||
@@ -8,102 +16,118 @@ let
|
|||||||
hash = "sha256-x7K0qa++P1e1vuCGxnsFxL1d9+nwMtZUJ6Kd9e27TFs=";
|
hash = "sha256-x7K0qa++P1e1vuCGxnsFxL1d9+nwMtZUJ6Kd9e27TFs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
audioFilesUdevRules = pkgs.runCommand "audio-files-udev-rules" {} ''
|
audioFilesUdevRules = pkgs.runCommand "audio-files-udev-rules" { } ''
|
||||||
mkdir -p $out/lib/udev/rules.d
|
mkdir -p $out/lib/udev/rules.d
|
||||||
cp ${audioFiles}/files/*.rules $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"
|
substituteInPlace $out/lib/udev/rules.d/*.rules --replace "/usr/bin/sed" "${pkgs.gnused}/bin/sed"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
overrideAudioFiles = package: pluginsPath:
|
overrideAudioFiles =
|
||||||
package.overrideAttrs (new: old: {
|
package: pluginsPath:
|
||||||
preConfigurePhases = old.preConfigurePhases or [ ] ++ [ "postPatchPhase" ];
|
package.overrideAttrs (
|
||||||
postPatchPhase = ''
|
_new: old: {
|
||||||
cp -r ${audioFiles}/files/{profile-sets,paths} ${pluginsPath}/alsa/mixer/
|
preConfigurePhases = old.preConfigurePhases or [ ] ++ [ "postPatchPhase" ];
|
||||||
'';
|
postPatchPhase = ''
|
||||||
});
|
cp -r ${audioFiles}/files/{profile-sets,paths} ${pluginsPath}/alsa/mixer/
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
pipewirePackage = overrideAudioFiles pkgs.pipewire "spa/plugins/";
|
pipewirePackage = overrideAudioFiles pkgs.pipewire "spa/plugins/";
|
||||||
|
|
||||||
apple-set-os-loader-installer = pkgs.stdenv.mkDerivation {
|
|
||||||
name = "apple-set-os-loader-installer-1.0";
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "Redecorating";
|
|
||||||
repo = "apple_set_os-loader";
|
|
||||||
rev = "r33.9856dc4";
|
|
||||||
sha256 = "hvwqfoF989PfDRrwU0BMi69nFjPeOmSaD6vR6jIRK2Y=";
|
|
||||||
};
|
|
||||||
buildInputs = [ pkgs.gnu-efi ];
|
|
||||||
buildPhase = ''
|
|
||||||
substituteInPlace Makefile --replace "/usr" '$(GNU_EFI)'
|
|
||||||
export GNU_EFI=${pkgs.gnu-efi}
|
|
||||||
make
|
|
||||||
'';
|
|
||||||
installPhase = ''
|
|
||||||
install -D bootx64_silent.efi $out/bootx64.efi
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
t2Cfg = config.hardware.apple-t2;
|
t2Cfg = config.hardware.apple-t2;
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options = {
|
imports = [
|
||||||
hardware.apple-t2.enableAppleSetOsLoader = lib.mkOption {
|
(lib.mkRemovedOptionModule [ "hardware" "apple-t2" "enableTinyDfr" ] ''
|
||||||
default = false;
|
The hardware.apple-t2.enableTinyDfr option was deprecated and removed since upstream Nixpkgs now has an identical module.
|
||||||
type = lib.types.bool;
|
Please migrate to hardware.apple.touchBar.
|
||||||
description = "Whether to enable the appleSetOsLoader activation script.";
|
'')
|
||||||
|
|
||||||
|
(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 = {
|
config = lib.mkMerge [
|
||||||
# For keyboard and touchbar
|
{
|
||||||
boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./pkgs/linux-t2.nix { });
|
# Specialized kernel for keyboard, touchpad, touchbar and audio.
|
||||||
boot.initrd.kernelModules = [ "apple-bce" ];
|
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" ];
|
||||||
|
|
||||||
# For audio
|
services.udev.packages = [ audioFilesUdevRules ];
|
||||||
boot.kernelParams = [ "pcie_ports=compat" "intel_iommu=on" "iommu=pt" ];
|
|
||||||
services.udev.packages = [ audioFilesUdevRules ];
|
|
||||||
|
|
||||||
hardware.pulseaudio.package = overrideAudioFiles pkgs.pulseaudio "src/modules/";
|
# For audio
|
||||||
|
boot.kernelParams = [
|
||||||
|
"pcie_ports=compat"
|
||||||
|
"intel_iommu=on"
|
||||||
|
"iommu=pt"
|
||||||
|
];
|
||||||
|
|
||||||
services.pipewire.package = pipewirePackage;
|
services.pipewire.package = pipewirePackage;
|
||||||
services.pipewire.wireplumber.package = pkgs.wireplumber.override {
|
services.pipewire.wireplumber.package = pkgs.wireplumber.override {
|
||||||
pipewire = pipewirePackage;
|
pipewire = pipewirePackage;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Make sure post-resume.service exists
|
# Make sure post-resume.service exists
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
|
}
|
||||||
|
|
||||||
systemd.services.fix-keyboard-backlight-and-touchbar = {
|
(
|
||||||
path = [ pkgs.kmod ];
|
if lib.versionAtLeast nixosVersion "25.05" then
|
||||||
serviceConfig.ExecStart = ''${pkgs.systemd}/bin/systemd-inhibit --what=sleep --why="fixing keyboard backlight and touchbar must finish before sleep" --mode=delay ${./fix-keyboard-backlight-and-touchbar.sh}'';
|
{
|
||||||
serviceConfig.Type = "oneshot";
|
services.pulseaudio.package = overrideAudioFiles pkgs.pulseaudio "src/modules/";
|
||||||
description = "reload touchbar driver and restart upower";
|
}
|
||||||
wantedBy = [ "display-manager.service" "post-resume.target" ];
|
|
||||||
after = [ "post-resume.target" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Activation script to install apple-set-os-loader in order to unlock the iGPU
|
|
||||||
system.activationScripts.appleSetOsLoader = lib.optionalString t2Cfg.enableAppleSetOsLoader ''
|
|
||||||
if [[ -e /boot/efi/efi/boot/bootx64_original.efi ]]; then
|
|
||||||
true # It's already installed, no action required
|
|
||||||
elif [[ -e /boot/efi/efi/boot/bootx64.efi ]]; then
|
|
||||||
# Copy the new bootloader to a temporary location
|
|
||||||
cp ${apple-set-os-loader-installer}/bootx64.efi /boot/efi/efi/boot/bootx64_temp.efi
|
|
||||||
|
|
||||||
# Rename the original bootloader
|
|
||||||
mv /boot/efi/efi/boot/bootx64.efi /boot/efi/efi/boot/bootx64_original.efi
|
|
||||||
|
|
||||||
# Move the new bootloader to the final destination
|
|
||||||
mv /boot/efi/efi/boot/bootx64_temp.efi /boot/efi/efi/boot/bootx64.efi
|
|
||||||
else
|
else
|
||||||
echo "Error: /boot/efi/efi/boot/bootx64.efi is missing" >&2
|
{
|
||||||
fi
|
hardware.pulseaudio.package = overrideAudioFiles pkgs.pulseaudio "src/modules/";
|
||||||
'';
|
}
|
||||||
|
)
|
||||||
|
|
||||||
# Enable the iGPU by default if present
|
(lib.mkIf t2Cfg.enableIGPU {
|
||||||
environment.etc."modprobe.d/apple-gmux.conf".text = lib.optionalString t2Cfg.enableAppleSetOsLoader ''
|
# Enable the iGPU by default if present
|
||||||
options apple-gmux force_igd=y
|
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; })
|
||||||
|
];
|
||||||
|
})
|
||||||
|
];
|
||||||
}
|
}
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -eux
|
|
||||||
|
|
||||||
unload () {
|
|
||||||
if modprobe -r "$1" 2>&1;
|
|
||||||
then echo ok
|
|
||||||
else echo fail
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
wait_unload() {
|
|
||||||
while sleep 1; do
|
|
||||||
output="$(unload "$1")"
|
|
||||||
case "$output" in
|
|
||||||
*is\ in\ use*) :;;
|
|
||||||
*ok*) return 0;;
|
|
||||||
*) echo "modprobe said: $output"; echo giving up; return 1;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
wait_unload apple_touchbar
|
|
||||||
modprobe apple_touchbar
|
|
||||||
|
|
||||||
# After suspend, the inode for the backlight device has changed. This service
|
|
||||||
# simply restarts upower to inform it of that change.
|
|
||||||
systemctl restart upower.service
|
|
||||||
@@ -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;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
)
|
||||||
@@ -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;
|
||||||
|
}
|
||||||
@@ -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
|
||||||
@@ -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;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
{ lib, buildLinux, fetchFromGitHub, fetchzip, runCommand
|
|
||||||
, ... } @ args:
|
|
||||||
|
|
||||||
let
|
|
||||||
patchRepo = fetchFromGitHub {
|
|
||||||
owner = "t2linux";
|
|
||||||
repo = "linux-t2-patches";
|
|
||||||
rev = "46dd873d1d9d12b26916790045008a91a95d0c11";
|
|
||||||
hash = "sha256-YGUGuzsAJFtZYjIW9d2XU4eGKNvMKCaWXqgqJn5TdeY=";
|
|
||||||
};
|
|
||||||
|
|
||||||
version = "6.5";
|
|
||||||
majorVersion = with lib; (elemAt (take 1 (splitVersion version)) 0);
|
|
||||||
in
|
|
||||||
buildLinux (args // {
|
|
||||||
inherit version;
|
|
||||||
|
|
||||||
pname = "linux-t2";
|
|
||||||
# Snippet from nixpkgs
|
|
||||||
modDirVersion = with lib; "${concatStringsSep "." (take 3 (splitVersion "${version}.0"))}";
|
|
||||||
|
|
||||||
src = runCommand "patched-source" {} ''
|
|
||||||
cp -r ${fetchzip {
|
|
||||||
url = "mirror://kernel/linux/kernel/v${majorVersion}.x/linux-${version}.tar.xz";
|
|
||||||
hash = "sha256-qJmVSju69WcvDIbgrbtMyCi+OXUNTzNX2G+/0zwsPR4=";
|
|
||||||
}} $out
|
|
||||||
chmod -R u+w $out
|
|
||||||
cd $out
|
|
||||||
while read -r patch; do
|
|
||||||
echo "Applying patch $patch";
|
|
||||||
patch -p1 < $patch;
|
|
||||||
done < <(find ${patchRepo} -type f -name "*.patch" | sort)
|
|
||||||
'';
|
|
||||||
|
|
||||||
structuredExtraConfig = with lib.kernel; {
|
|
||||||
APPLE_BCE = module;
|
|
||||||
APPLE_GMUX = module;
|
|
||||||
BRCMFMAC = module;
|
|
||||||
BT_BCM = module;
|
|
||||||
BT_HCIBCM4377 = module;
|
|
||||||
BT_HCIUART_BCM = yes;
|
|
||||||
BT_HCIUART = module;
|
|
||||||
HID_APPLE_IBRIDGE = module;
|
|
||||||
HID_APPLE = module;
|
|
||||||
HID_APPLE_MAGIC_BACKLIGHT = module;
|
|
||||||
HID_APPLE_TOUCHBAR = module;
|
|
||||||
HID_SENSOR_ALS = module;
|
|
||||||
SND_PCM = module;
|
|
||||||
STAGING = yes;
|
|
||||||
};
|
|
||||||
|
|
||||||
kernelPatches = [];
|
|
||||||
} // (args.argsOverride or {}))
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{ callPackage, linux_6_12, ... }@args:
|
||||||
|
|
||||||
|
callPackage ./generic.nix args {
|
||||||
|
kernel = linux_6_12;
|
||||||
|
patchesFile = ./stable.json;
|
||||||
|
}
|
||||||
@@ -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 { })
|
||||||
|
)
|
||||||
@@ -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="
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{ callPackage, linux_6_16, ... }@args:
|
||||||
|
|
||||||
|
callPackage ./generic.nix args {
|
||||||
|
kernel = linux_6_16;
|
||||||
|
patchesFile = ./latest.json;
|
||||||
|
}
|
||||||
@@ -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="
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Executable
+99
@@ -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())
|
||||||
@@ -5,11 +5,13 @@
|
|||||||
../../../common/cpu/amd/pstate.nix
|
../../../common/cpu/amd/pstate.nix
|
||||||
../../../common/gpu/amd
|
../../../common/gpu/amd
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../../battery.nix
|
../../battery.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# 6.5 adds many fixes and improvements for the Ally
|
# 6.5 adds many fixes and improvements for the Ally
|
||||||
# This includes for example performance, audio and bluetooth
|
# This includes for example performance, audio and bluetooth
|
||||||
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.5") (lib.mkDefault pkgs.linuxPackages_latest);
|
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.5") (
|
||||||
|
lib.mkDefault pkgs.linuxPackages_latest
|
||||||
|
);
|
||||||
}
|
}
|
||||||
+20
-4
@@ -1,7 +1,13 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
p = pkgs.writeScriptBin "charge-upto" ''
|
p = pkgs.writeScriptBin "charge-upto" ''
|
||||||
echo ''${0:-100} > /sys/class/power_supply/BAT?/charge_control_end_threshold
|
#!${pkgs.bash}/bin/bash
|
||||||
|
echo ''${1:-100} > /sys/class/power_supply/BAT?/charge_control_end_threshold
|
||||||
'';
|
'';
|
||||||
cfg = config.hardware.asus.battery;
|
cfg = config.hardware.asus.battery;
|
||||||
in
|
in
|
||||||
@@ -22,8 +28,18 @@ in
|
|||||||
config = {
|
config = {
|
||||||
environment.systemPackages = lib.mkIf cfg.enableChargeUptoScript [ p ];
|
environment.systemPackages = lib.mkIf cfg.enableChargeUptoScript [ p ];
|
||||||
systemd.services.battery-charge-threshold = {
|
systemd.services.battery-charge-threshold = {
|
||||||
wantedBy = [ "local-fs.target" "suspend.target" ];
|
wantedBy = [
|
||||||
after = [ "local-fs.target" "suspend.target" ];
|
"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}%";
|
description = "Set the battery charge threshold to ${toString cfg.chargeUpto}%";
|
||||||
startLimitBurst = 5;
|
startLimitBurst = 5;
|
||||||
startLimitIntervalSec = 1;
|
startLimitIntervalSec = 1;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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.
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
{
|
||||||
|
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" ];
|
||||||
|
|
||||||
|
# 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
+12
-11
@@ -1,15 +1,16 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../common/cpu/amd
|
../../common/cpu/amd
|
||||||
../../common/gpu/nvidia/prime.nix
|
../../common/gpu/nvidia/prime.nix
|
||||||
../../common/pc/laptop
|
../../common/gpu/nvidia/ampere
|
||||||
../../common/pc/ssd
|
../../common/pc/laptop
|
||||||
];
|
../../common/pc/ssd
|
||||||
|
];
|
||||||
|
|
||||||
hardware.nvidia.prime = {
|
hardware.nvidia.prime = {
|
||||||
amdgpuBusId = "PCI:5:0:0";
|
amdgpuBusId = "PCI:5:0:0";
|
||||||
nvidiaBusId = "PCI:1:0:0";
|
nvidiaBusId = "PCI:1:0:0";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -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"
|
||||||
|
];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -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;
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,115 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
inherit (lib)
|
||||||
|
mkDefault
|
||||||
|
mkEnableOption
|
||||||
|
mkIf
|
||||||
|
mkMerge
|
||||||
|
version
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -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;
|
||||||
|
```
|
||||||
@@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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>.
|
||||||
@@ -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"
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -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";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,16 +1,17 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/amd
|
../../../common/cpu/amd
|
||||||
../../../common/cpu/amd/pstate.nix
|
../../../common/cpu/amd/pstate.nix
|
||||||
../../../common/gpu/nvidia
|
../../../common/gpu/nvidia
|
||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
../../../common/pc/laptop
|
../../../common/gpu/nvidia/ampere
|
||||||
../../../common/pc/ssd
|
../../../common/pc/laptop
|
||||||
../../battery.nix
|
../../../common/pc/ssd
|
||||||
];
|
../../battery.nix
|
||||||
|
];
|
||||||
|
|
||||||
hardware.nvidia.prime = {
|
hardware.nvidia.prime = {
|
||||||
amdgpuBusId = "PCI:05:00:0";
|
amdgpuBusId = "PCI:05:00:0";
|
||||||
nvidiaBusId = "PCI:01:00:0";
|
nvidiaBusId = "PCI:01:00:0";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -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";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -3,6 +3,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/amd/pstate.nix
|
../../../common/cpu/amd/pstate.nix
|
||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
|
../../../common/gpu/nvidia/ampere
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/ssd
|
../../../common/pc/ssd
|
||||||
../../battery.nix
|
../../battery.nix
|
||||||
@@ -19,7 +20,9 @@
|
|||||||
options snd-hda-intel patch=hda-jack-retask.fw
|
options snd-hda-intel patch=hda-jack-retask.fw
|
||||||
'';
|
'';
|
||||||
# before 5.12 it would interpret every keystroke as the power button
|
# 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);
|
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.12") (
|
||||||
|
lib.mkDefault pkgs.linuxPackages_latest
|
||||||
|
);
|
||||||
|
|
||||||
hardware.nvidia.prime = {
|
hardware.nvidia.prime = {
|
||||||
amdgpuBusId = "PCI:5:0:0";
|
amdgpuBusId = "PCI:5:0:0";
|
||||||
|
|||||||
@@ -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.
|
||||||
@@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
```
|
||||||
@@ -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";
|
||||||
|
}
|
||||||
@@ -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]
|
||||||
|
```
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{ lib, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../shared.nix
|
||||||
|
../../../../common/gpu/intel/comet-lake
|
||||||
|
../../../../common/gpu/nvidia/disable.nix # Disabling nvidia
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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";
|
||||||
|
}
|
||||||
@@ -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)
|
||||||
|
```
|
||||||
@@ -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
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -6,8 +6,9 @@
|
|||||||
../../../common/cpu/amd/pstate.nix
|
../../../common/cpu/amd/pstate.nix
|
||||||
../../../common/gpu/amd
|
../../../common/gpu/amd
|
||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
|
../../../common/gpu/nvidia/ampere
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
../../../common/cpu/amd/pstate.nix
|
../../../common/cpu/amd/pstate.nix
|
||||||
../../../common/gpu/amd
|
../../../common/gpu/amd
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|||||||
@@ -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)
|
||||||
@@ -1,38 +1,32 @@
|
|||||||
{ config,
|
{
|
||||||
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) mkDefault mkEnableOption mkIf mkMerge;
|
inherit (lib) mkEnableOption mkIf mkMerge;
|
||||||
cfg = config.hardware.asus.zephyrus.ga402x;
|
cfg = config.hardware.asus.zephyrus.ga402x;
|
||||||
|
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../shared.nix
|
../shared.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options.hardware.asus.zephyrus.ga402x.amdgpu = {
|
options.hardware.asus.zephyrus.ga402x.amdgpu = {
|
||||||
recovery.enable = (mkEnableOption "Enable amdgpu.gpu_recovery kernel boot param") // { default = false; };
|
recovery.enable = (mkEnableOption "Enable amdgpu.gpu_recovery kernel boot param") // {
|
||||||
sg_display.enable = (mkEnableOption "Enable amdgpu.gpu_recovery kernel boot param") // { default = true; };
|
default = false;
|
||||||
psr.enable = (mkEnableOption "Enable amdgpu.dcdebugmask=0x10 kernel boot param") // { default = true; };
|
};
|
||||||
|
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 [
|
config = mkMerge [
|
||||||
{
|
|
||||||
# AMD RX680
|
|
||||||
services.xserver.videoDrivers = mkDefault [ "amdgpu" ];
|
|
||||||
|
|
||||||
hardware = {
|
|
||||||
amdgpu.loadInInitrd = true;
|
|
||||||
opengl.extraPackages = with pkgs; [
|
|
||||||
vaapiVdpau
|
|
||||||
libvdpau-va-gl
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
(mkIf cfg.amdgpu.recovery.enable {
|
(mkIf cfg.amdgpu.recovery.enable {
|
||||||
# Hopefully fixes for where the kernel sometimes hangs when suspending or hibernating
|
# Hopefully fixes for where the kernel sometimes hangs when suspending or hibernating
|
||||||
# (Though, I'm very suspicious of the Mediatek Wifi...)
|
# (Though, I'm very suspicious of the Mediatek Wifi...)
|
||||||
|
|||||||
@@ -1,15 +1,10 @@
|
|||||||
## When using from a Flake, you can access these via imports of the attr key, e.g:
|
{ ... }:
|
||||||
#
|
|
||||||
# imports = [
|
|
||||||
# nixos-hardware.nixosModules.asus-zephyrus-ga402x.amdgpu
|
|
||||||
# ];
|
|
||||||
#
|
|
||||||
## or:
|
|
||||||
# imports = [
|
|
||||||
# nixos-hardware.nixosModules.asus-zephyrus-ga402x.nvidia
|
|
||||||
# ];
|
|
||||||
|
|
||||||
{
|
{
|
||||||
amdgpu = import ./amdgpu;
|
assertions = [
|
||||||
nvidia = import ./nvidia;
|
{
|
||||||
|
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";
|
||||||
|
}
|
||||||
|
];
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
{ lib,
|
{
|
||||||
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
@@ -6,12 +7,15 @@
|
|||||||
let
|
let
|
||||||
inherit (lib) mkDefault;
|
inherit (lib) mkDefault;
|
||||||
|
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../shared.nix
|
../shared.nix
|
||||||
## "prime.nix" loads this, aleady:
|
## "prime.nix" loads this, aleady:
|
||||||
# ../../../common/gpu/nvidia
|
# ../../../common/gpu/nvidia
|
||||||
../../../../common/gpu/nvidia/prime.nix
|
../../../../common/gpu/nvidia/prime.nix
|
||||||
|
../../../../common/gpu/nvidia/ada-lovelace
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# NVIDIA GeForce RTX 4060 Mobile
|
# NVIDIA GeForce RTX 4060 Mobile
|
||||||
@@ -25,21 +29,16 @@ in {
|
|||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
## Enable the Nvidia card, as well as Prime and Offload:
|
## Enable the Nvidia card, as well as Prime and Offload:
|
||||||
amdgpu.loadInInitrd = true;
|
amdgpu.initrd.enable = mkDefault true;
|
||||||
opengl.extraPackages = with pkgs; [
|
|
||||||
# Also in nvidia/default.nix
|
|
||||||
vaapiVdpau
|
|
||||||
libvdpau-va-gl
|
|
||||||
];
|
|
||||||
|
|
||||||
nvidia = {
|
nvidia = {
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
nvidiaSettings = true;
|
nvidiaSettings = mkDefault true;
|
||||||
|
|
||||||
prime = {
|
prime = {
|
||||||
offload = {
|
offload = {
|
||||||
enable = true;
|
enable = mkDefault true;
|
||||||
enableOffloadCmd = true;
|
enableOffloadCmd = mkDefault true;
|
||||||
};
|
};
|
||||||
amdgpuBusId = "PCI:101:0:0";
|
amdgpuBusId = "PCI:101:0:0";
|
||||||
nvidiaBusId = "PCI:1:0:0";
|
nvidiaBusId = "PCI:1:0:0";
|
||||||
|
|||||||
@@ -1,12 +1,24 @@
|
|||||||
{ config,
|
{
|
||||||
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) mkDefault mkIf mkMerge version versionOlder;
|
inherit (lib)
|
||||||
in {
|
mkDefault
|
||||||
|
mkEnableOption
|
||||||
|
mkIf
|
||||||
|
mkMerge
|
||||||
|
version
|
||||||
|
versionAtLeast
|
||||||
|
versionOlder
|
||||||
|
;
|
||||||
|
|
||||||
|
cfg = config.hardware.asus.zephyrus.ga402x;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/amd
|
../../../common/cpu/amd
|
||||||
@@ -14,10 +26,28 @@ in {
|
|||||||
../../../common/cpu/amd/pstate.nix
|
../../../common/cpu/amd/pstate.nix
|
||||||
../../../common/gpu/amd
|
../../../common/gpu/amd
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/acpi_call.nix
|
|
||||||
../../../common/pc/ssd
|
../../../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 [
|
config = mkMerge [
|
||||||
{
|
{
|
||||||
# Configure basic system settings:
|
# Configure basic system settings:
|
||||||
@@ -35,7 +65,7 @@ in {
|
|||||||
enableUserService = mkDefault true;
|
enableUserService = mkDefault true;
|
||||||
};
|
};
|
||||||
|
|
||||||
supergfxd.enable = true;
|
supergfxd.enable = mkDefault true;
|
||||||
|
|
||||||
udev = {
|
udev = {
|
||||||
extraHwdb = ''
|
extraHwdb = ''
|
||||||
@@ -43,15 +73,27 @@ in {
|
|||||||
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
|
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
|
||||||
KEYBOARD_KEY_ff31007c=f20
|
KEYBOARD_KEY_ff31007c=f20
|
||||||
'';
|
'';
|
||||||
extraRules = ''
|
|
||||||
# Disable auto-suspend for the ASUS N-KEY Device, i.e. USB Keyboard
|
|
||||||
# Otherwise, it will tend to take 1-2 key-presses to wake-up after suspending
|
|
||||||
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/autosuspend", ATTR{idVendor}=="0b05", ATTR{idProduct}=="19b6", ATTR{power/autosuspend}="-1"
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
(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") {
|
(mkIf (versionOlder version "23.11") {
|
||||||
# See https://asus-linux.org/wiki/nixos/ for info about some problems
|
# See https://asus-linux.org/wiki/nixos/ for info about some problems
|
||||||
# detecting the dGPU:
|
# detecting the dGPU:
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/amd
|
../../../common/cpu/amd
|
||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
|
../../../common/gpu/nvidia/turing
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/amd
|
../../../common/cpu/amd
|
||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
|
../../../common/gpu/nvidia/ampere
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
|
../../../common/gpu/nvidia/ampere
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -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
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -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;
|
|
||||||
}
|
}
|
||||||
@@ -8,23 +8,13 @@ in
|
|||||||
|
|
||||||
imports = [ ./. ];
|
imports = [ ./. ];
|
||||||
boot = lib.mkMerge [
|
boot = lib.mkMerge [
|
||||||
(lib.mkIf
|
(lib.mkIf ((lib.versionAtLeast kver "5.17") && (lib.versionOlder kver "6.1")) {
|
||||||
(
|
kernelParams = [ "initcall_blacklist=acpi_cpufreq_init" ];
|
||||||
(lib.versionAtLeast kver "5.17")
|
kernelModules = [ "amd-pstate" ];
|
||||||
&& (lib.versionOlder kver "6.1")
|
})
|
||||||
)
|
(lib.mkIf ((lib.versionAtLeast kver "6.1") && (lib.versionOlder kver "6.3")) {
|
||||||
{
|
kernelParams = [ "amd_pstate=passive" ];
|
||||||
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") {
|
(lib.mkIf (lib.versionAtLeast kver "6.3") {
|
||||||
kernelParams = [ "amd_pstate=active" ];
|
kernelParams = [ "amd_pstate=active" ];
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,9 +1,15 @@
|
|||||||
{ lib, pkgs, config, ... }:
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Sets the kernel version to the latest kernel to make the usage of the iGPU possible if your kernel version is too old
|
# Sets the kernel version to the latest kernel to make the usage of the iGPU possible if your kernel version is too old
|
||||||
# Disables scatter/gather which was introduced with kernel version 6.2
|
# Disables scatter/gather which was introduced with kernel version 6.2
|
||||||
# It produces completely white or flashing screens when enabled while using the iGPU of Ryzen 7000-series CPUs (Raphael)
|
# It produces completely white or flashing screens when enabled while using the iGPU of Ryzen 7000-series CPUs (Raphael)
|
||||||
|
# This issue is not seen in kernel 6.6 or newer versions
|
||||||
|
|
||||||
imports = [ ../. ];
|
imports = [ ../. ];
|
||||||
|
|
||||||
@@ -12,8 +18,9 @@
|
|||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
})
|
})
|
||||||
|
|
||||||
(lib.mkIf (lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.2") {
|
(lib.mkIf (
|
||||||
kernelParams = ["amdgpu.sg_display=0"];
|
(lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.2")
|
||||||
})
|
&& (lib.versionOlder config.boot.kernelPackages.kernel.version "6.6")
|
||||||
|
) { kernelParams = [ "amdgpu.sg_display=0" ]; })
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{ lib, config, ... }:
|
||||||
|
{
|
||||||
|
# Enables the zenpower sensor in lieu of the k10temp sensor on Zen CPUs https://git.exozy.me/a/zenpower3
|
||||||
|
# On Zen CPUs zenpower produces much more data entries
|
||||||
|
|
||||||
|
imports = [ ./. ];
|
||||||
|
boot.blacklistedKernelModules = [ "k10temp" ];
|
||||||
|
boot.extraModulePackages = [ config.boot.kernelPackages.zenpower ];
|
||||||
|
boot.kernelModules = [ "zenpower" ];
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../cpu-only.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./cpu-only.nix
|
||||||
|
../../../gpu/intel/alder-lake
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../cpu-only.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
Loaded 100 of 725 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user