mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-01 21:43:31 +01:00
Compare commits
512
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
274a526859 | ||
|
|
3261bcda4f | ||
|
|
ea392e9593 | ||
|
|
05f938961e | ||
|
|
ec39df522f | ||
|
|
9f495b5440 | ||
|
|
97a30ee097 | ||
|
|
ff49dbf395 | ||
|
|
7e9d8b97c5 | ||
|
|
5c1804b403 | ||
|
|
428be44435 | ||
|
|
54987e6989 | ||
|
|
3347596611 | ||
|
|
fb63a8c3c8 | ||
|
|
d9da8426d8 | ||
|
|
e2035d2e51 | ||
|
|
eb3c90bd71 | ||
|
|
75206a855c | ||
|
|
b6ca87f78e | ||
|
|
73ff92fe11 | ||
|
|
37ba750aba | ||
|
|
4f3084df4c | ||
|
|
919c16cf46 | ||
|
|
ecdce73e8e | ||
|
|
f196c3a339 | ||
|
|
1a8ff4f57f | ||
|
|
d645c71a58 | ||
|
|
f73e0ac5c7 | ||
|
|
11922fe5cc | ||
|
|
04c6b94fa1 | ||
|
|
b6754c901c | ||
|
|
d256d94d78 | ||
|
|
8ba09466dc | ||
|
|
6075dd2edd | ||
|
|
5d01b9f343 | ||
|
|
0cc5d9231c | ||
|
|
2dd7f53e50 | ||
|
|
1b418b8f20 | ||
|
|
4188fc24f4 | ||
|
|
c63b8f1c8c | ||
|
|
efb6d0d5e2 | ||
|
|
2736ebd70c | ||
|
|
11cefffd51 | ||
|
|
9d17af9966 | ||
|
|
2e1a5e1d39 | ||
|
|
60a624466c | ||
|
|
a82e8dfe53 | ||
|
|
dcb92f1820 | ||
|
|
7082b48443 | ||
|
|
bd9987b748 | ||
|
|
701eb9f269 | ||
|
|
4bc63156b1 | ||
|
|
31cc5f4d9b | ||
|
|
fd402c5c9f | ||
|
|
bc8333d8ed | ||
|
|
0953bb1a60 | ||
|
|
06f9ecaea5 | ||
|
|
319435ef08 | ||
|
|
34fef44f65 | ||
|
|
d55480c9ac | ||
|
|
c21024523e | ||
|
|
30d48a0ec6 | ||
|
|
9ebcb77667 | ||
|
|
ee23a4a68a | ||
|
|
f426ed6c7a | ||
|
|
416ac5449a | ||
|
|
2326b904ef | ||
|
|
8ff87fffcf | ||
|
|
b2d7d02644 | ||
|
|
5470f16efe | ||
|
|
51c23b5c14 | ||
|
|
0d5773cd29 | ||
|
|
a6a3926fb0 | ||
|
|
8d1085c662 | ||
|
|
c9b56a2497 | ||
|
|
9b881d7df9 | ||
|
|
d40fd26f32 | ||
|
|
a2da909d03 | ||
|
|
9e57f21b40 | ||
|
|
d9d31dfb5e | ||
|
|
24cfdc1f93 | ||
|
|
ed7ca8ec97 | ||
|
|
83bbc89512 | ||
|
|
62173785b9 | ||
|
|
db65e8d432 | ||
|
|
dd2543c4eb | ||
|
|
5ad14a9e0c | ||
|
|
44d95795ee | ||
|
|
02545c60be | ||
|
|
dc3f0cfde2 | ||
|
|
7fcbbc78c2 | ||
|
|
7f0552abed | ||
|
|
f5cda04f93 | ||
|
|
0471accf8d | ||
|
|
e8a8bfbbfa | ||
|
|
308e4f4c0d | ||
|
|
8ad652f9c9 | ||
|
|
9408ef97db | ||
|
|
ff17823245 | ||
|
|
2dda192987 | ||
|
|
3e7edd9afe | ||
|
|
6ed13b1d88 | ||
|
|
b99aca5913 | ||
|
|
a77eb1da40 | ||
|
|
a8e9cb2bc3 | ||
|
|
7aefd9ab01 | ||
|
|
89c9653dcf | ||
|
|
6ca00f6509 | ||
|
|
5fbc0ff5d2 | ||
|
|
a5d06b9c82 | ||
|
|
cf3de37ade | ||
|
|
2e790b0a6b | ||
|
|
a969eee084 | ||
|
|
e37920a635 | ||
|
|
a017f5b722 | ||
|
|
779c32a001 | ||
|
|
79ecfa27f2 | ||
|
|
e8b0dcdc2d | ||
|
|
4bff7ce522 | ||
|
|
fccfa9031a | ||
|
|
f185edb4e9 | ||
|
|
8efb4337e8 | ||
|
|
a886e41b8e | ||
|
|
4471c6a218 | ||
|
|
0b655af52b | ||
|
|
f54c3bcb65 | ||
|
|
f2dfc37f5b | ||
|
|
968980fba2 | ||
|
|
cd78713bfd | ||
|
|
662bd6e312 | ||
|
|
48c8b5e0bd | ||
|
|
a9cf7546a9 | ||
|
|
603d3afd1b | ||
|
|
3de9124f07 | ||
|
|
4c996be103 | ||
|
|
875776f025 | ||
|
|
dd499a1e8a | ||
|
|
f7d7e1c0d5 | ||
|
|
f8efd451e7 | ||
|
|
a1b4dc7ff8 | ||
|
|
f6d162eb8f | ||
|
|
2564d80414 | ||
|
|
aa741c485b | ||
|
|
b6f52e2b2c | ||
|
|
85d72767a4 | ||
|
|
f1cf00348d | ||
|
|
bbe86a57e5 | ||
|
|
57abfe19b2 | ||
|
|
efaa9faad5 | ||
|
|
e7358cddb9 | ||
|
|
08018c7217 | ||
|
|
e2c926a044 | ||
|
|
e0019f40a3 | ||
|
|
4292c91856 | ||
|
|
6358ff7682 | ||
|
|
0d09433eac | ||
|
|
e3230fe3cb | ||
|
|
32c2cd9e46 | ||
|
|
d9e50dd040 | ||
|
|
d765d66fd5 | ||
|
|
0e5b1ce394 | ||
|
|
d35f12f895 | ||
|
|
f9fbbd15c3 | ||
|
|
307a84fc96 | ||
|
|
d66213a72e | ||
|
|
e678820fd5 | ||
|
|
4ed851c979 | ||
|
|
43bd35ee23 | ||
|
|
571b99c6aa | ||
|
|
485fe1c88d | ||
|
|
b28e08a81f | ||
|
|
b76b5639c0 | ||
|
|
d84f0810be | ||
|
|
ef4efb8476 | ||
|
|
c97bc4d15b | ||
|
|
8b100f75f3 | ||
|
|
2f39770ca4 | ||
|
|
8792fab9d4 | ||
|
|
8ea1d787af | ||
|
|
88e6bd5c2d | ||
|
|
6cfa598d53 | ||
|
|
379c1f274f | ||
|
|
b9130a10f4 | ||
|
|
4b13247f04 | ||
|
|
65a5c8f9c1 | ||
|
|
b16dff6d15 | ||
|
|
3ee4d6d8a1 | ||
|
|
8db5dd4f10 | ||
|
|
0a47268607 | ||
|
|
50a9758cc0 | ||
|
|
17e61aa283 | ||
|
|
9bd7c80d43 | ||
|
|
0a1d15fc50 | ||
|
|
c0573b3113 | ||
|
|
5ba419fb7a | ||
|
|
e315416e7b | ||
|
|
959cd47661 | ||
|
|
03fb14a4e4 | ||
|
|
e0d66b4b92 | ||
|
|
3bcaa367d4 | ||
|
|
dfe5922604 | ||
|
|
7bd5ab3ee5 | ||
|
|
105c702c2e | ||
|
|
ae243122dd | ||
|
|
df7783100b | ||
|
|
f1b7ff92cd | ||
|
|
ece5a2c7bd | ||
|
|
9fd075073d | ||
|
|
88cd2fa6e9 | ||
|
|
554e00a592 | ||
|
|
a5e3b25c4a | ||
|
|
10c5286181 | ||
|
|
61034489c2 | ||
|
|
e879889fe2 | ||
|
|
57fd23db81 | ||
|
|
eeb02f6e29 | ||
|
|
4296967ed5 | ||
|
|
1a9b2d1633 | ||
|
|
367d09140b | ||
|
|
7c1204314f | ||
|
|
55b4b43081 | ||
|
|
d7514338e2 | ||
|
|
2096f3f411 | ||
|
|
dcc512b7fe | ||
|
|
56ea606134 | ||
|
|
72674a6b55 | ||
|
|
ba0deeb605 | ||
|
|
132bbca15c | ||
|
|
0e2bafe2b5 | ||
|
|
bacd3ee7a9 | ||
|
|
8adb8e570b | ||
|
|
cbf2dc32fa | ||
|
|
427df66072 | ||
|
|
c775c2772b | ||
|
|
bd363ef3d7 | ||
|
|
1b0b84259f | ||
|
|
80afbd13ee | ||
|
|
62550a8541 | ||
|
|
4593bb129d | ||
|
|
c0debd82c6 | ||
|
|
f4c4c2c0c9 | ||
|
|
4bf5422a66 | ||
|
|
9001f8d383 | ||
|
|
4d7e4d9aef | ||
|
|
504b7c9083 | ||
|
|
8a2c27614b | ||
|
|
47869aa5e0 | ||
|
|
a412f3c0fa | ||
|
|
0a38829741 | ||
|
|
c54a07ade5 | ||
|
|
91345ae723 | ||
|
|
b398e8a4d3 | ||
|
|
1dd39e1070 | ||
|
|
7cac1418ec | ||
|
|
b8f8163692 | ||
|
|
9c40116477 | ||
|
|
32aaef58b3 | ||
|
|
3f6f874dfc | ||
|
|
d7f8bc5814 | ||
|
|
1c9e124b26 | ||
|
|
9c16fd3021 | ||
|
|
de895be946 | ||
|
|
8eb0dc5982 | ||
|
|
008beed698 | ||
|
|
9f9eeaf9ab | ||
|
|
632e4bfc21 | ||
|
|
c08d68e7f2 | ||
|
|
36de8ed231 | ||
|
|
1a2f8e70ee | ||
|
|
2d4b4717b2 | ||
|
|
0792ebc333 | ||
|
|
ca71a11256 | ||
|
|
d104e2a8d2 | ||
|
|
f8e82243fd | ||
|
|
1bb9dfb405 | ||
|
|
df40dce33f | ||
|
|
d593602e66 | ||
|
|
2661c93c16 | ||
|
|
24a01e1c19 | ||
|
|
66288b2e35 | ||
|
|
b4766ffecf | ||
|
|
a688dfcbb5 | ||
|
|
f8d60e5106 | ||
|
|
6a447e6e87 | ||
|
|
3966ce987e | ||
|
|
32b46b83df | ||
|
|
31817e8d9d | ||
|
|
e819cfedc7 | ||
|
|
cbbc29c7f3 | ||
|
|
d0e1360453 | ||
|
|
34360c4c63 | ||
|
|
011660e3f7 | ||
|
|
722ef6b5be | ||
|
|
d736553cca | ||
|
|
076b2a5116 | ||
|
|
9ad075ca00 | ||
|
|
114dfa1989 | ||
|
|
25b82e0755 | ||
|
|
696e656125 | ||
|
|
41c6b421bd | ||
|
|
2142c37d4d | ||
|
|
416dc12095 | ||
|
|
d11b784d05 | ||
|
|
6f3838f141 | ||
|
|
582df22530 | ||
|
|
4baea036b3 | ||
|
|
11cf7d6853 | ||
|
|
7f9d9b7030 | ||
|
|
1a21001f56 | ||
|
|
740a223630 | ||
|
|
7d794bc117 | ||
|
|
0d58bcd2ce | ||
|
|
7a5517f634 | ||
|
|
d4a6f36b93 | ||
|
|
4dee6dc8d3 | ||
|
|
f69f53ebb6 | ||
|
|
66e1a090de | ||
|
|
531af1dbae | ||
|
|
a15dd68d59 | ||
|
|
90848156e1 | ||
|
|
2e44aab8b1 | ||
|
|
c0fe6b810e | ||
|
|
ac5ab0304c | ||
|
|
f9b0314599 | ||
|
|
b794c1fc56 | ||
|
|
6deb98e401 | ||
|
|
7d3990afca | ||
|
|
cd8c113bdd | ||
|
|
1a0762d183 | ||
|
|
1da18c37fa | ||
|
|
001bac7132 | ||
|
|
3652e05fa7 | ||
|
|
d03c256822 | ||
|
|
54f5199efb | ||
|
|
af04cb78aa | ||
|
|
0e5bab7df0 | ||
|
|
21deaf7ac9 | ||
|
|
5212f915f8 | ||
|
|
7b3e8cd6f8 | ||
|
|
4490c7f906 | ||
|
|
0252ff960b | ||
|
|
2889685785 | ||
|
|
e3ac8f4972 | ||
|
|
c397c7f851 | ||
|
|
6f5c06e99f | ||
|
|
767e9083a0 | ||
|
|
ad0b1c0763 | ||
|
|
6403af95fb | ||
|
|
0251f56603 | ||
|
|
1742247ff5 | ||
|
|
b654a3d6f1 | ||
|
|
31f46de4ef | ||
|
|
d2907ab446 | ||
|
|
0cb7e0bcab | ||
|
|
53702e58b4 | ||
|
|
719a89028d | ||
|
|
d6aea43451 | ||
|
|
c281bd071a | ||
|
|
a92d980a18 | ||
|
|
8c162f25a7 | ||
|
|
1e1205f6f7 | ||
|
|
c8d6dd6535 | ||
|
|
cb8f383995 | ||
|
|
a351494b0e | ||
|
|
31c3d206de | ||
|
|
9f7ba891ea | ||
|
|
c8f766fd11 | ||
|
|
d447553bcb | ||
|
|
0ac0225d16 | ||
|
|
cce68f4a54 | ||
|
|
a57f1648b7 | ||
|
|
45bf76ef95 | ||
|
|
7297dfc69a | ||
|
|
daedbd1c37 | ||
|
|
efe2094529 | ||
|
|
316a132d5f | ||
|
|
dc40d35d3e | ||
|
|
d21ec5a241 | ||
|
|
99b28e8e36 | ||
|
|
639ca38126 | ||
|
|
388f38215d | ||
|
|
8781e10a1c | ||
|
|
b2101de0f8 | ||
|
|
d655a68f13 | ||
|
|
b88c9d742a | ||
|
|
6366bcfdab | ||
|
|
c9fd1cfdd4 | ||
|
|
aaaaed5692 | ||
|
|
40b1a28dce | ||
|
|
6388e5a77b | ||
|
|
838481adb5 | ||
|
|
d31d8077bb | ||
|
|
9b3c38bf6c | ||
|
|
736df904de | ||
|
|
84185d1de4 | ||
|
|
59a4cb7b82 | ||
|
|
64e8049770 | ||
|
|
7a9a613a3e | ||
|
|
2da033befd | ||
|
|
59761f9b5e | ||
|
|
26043a0950 | ||
|
|
c5db9569ac | ||
|
|
26e2f6b7d5 | ||
|
|
cebe2d7105 | ||
|
|
fdbadf6273 | ||
|
|
9154f4569b | ||
|
|
d7e4ed37ce | ||
|
|
d62603a997 | ||
|
|
fd83b9479c | ||
|
|
00e9525fb6 | ||
|
|
083fd1136b | ||
|
|
da17006633 | ||
|
|
63564a6dcc | ||
|
|
ae4fcae923 | ||
|
|
3e2ce03650 | ||
|
|
abb5f782d3 | ||
|
|
899dc449bc | ||
|
|
e279a579b1 | ||
|
|
27973e0f41 | ||
|
|
238316ce44 | ||
|
|
6ae02e4ebd | ||
|
|
a31d53a0b2 | ||
|
|
81c78cffb9 | ||
|
|
20baaa0d68 | ||
|
|
9fbdc8cbdb | ||
|
|
ef813e4370 | ||
|
|
52113c4f5c | ||
|
|
fc4c7c6ec7 | ||
|
|
744975050f | ||
|
|
24084931d8 | ||
|
|
3e24540eb9 | ||
|
|
bd47664211 | ||
|
|
be02d168e7 | ||
|
|
f34ca8045a | ||
|
|
ec18896955 | ||
|
|
64269645d4 | ||
|
|
d1ad892e3b | ||
|
|
ec135126c1 | ||
|
|
e4c6ee69e7 | ||
|
|
ae91411396 | ||
|
|
d48e8f0e16 | ||
|
|
eea20ba3b0 | ||
|
|
2a3a409ac5 | ||
|
|
2e85ae1b70 | ||
|
|
8b72f74d80 | ||
|
|
655a6da8a8 | ||
|
|
bffe23e699 | ||
|
|
01e8e18d9d | ||
|
|
5ad68c5dff | ||
|
|
fad92f5f57 | ||
|
|
f2e49f279c | ||
|
|
e598a4ca2f | ||
|
|
d60ba4a306 | ||
|
|
5723dff2cd | ||
|
|
2567706185 | ||
|
|
5e6ecb961a | ||
|
|
7467f155fc | ||
|
|
ddb27b7bba | ||
|
|
13cc234e37 | ||
|
|
a2bc09823a | ||
|
|
86d9291cc3 | ||
|
|
8650454db6 | ||
|
|
11ea8b8477 | ||
|
|
a3576f0f3c | ||
|
|
fe21eda733 | ||
|
|
f6299de29d | ||
|
|
caacab410f | ||
|
|
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 | ||
|
|
27581273c2 | ||
|
|
40dffd02e3 | ||
|
|
0c55f0f776 | ||
|
|
8972e6538b | ||
|
|
c92f8fc536 | ||
|
|
37d0301b3c | ||
|
|
66e88bdcaa |
No files matched your search
@@ -10,3 +10,4 @@
|
|||||||
|
|
||||||
# nixfmt-rfc-style formatting
|
# nixfmt-rfc-style formatting
|
||||||
51e51e601448705c0d2f92ef90ec7b680123077c #!autorebase cd tests && nix fmt ..
|
51e51e601448705c0d2f92ef90ec7b680123077c #!autorebase cd tests && nix fmt ..
|
||||||
|
166dee4f88a7e3ba1b7a243edb1aca822f00680e
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
<!-- Please read the CONTRIBUTING.md guidelines before submitting: https://github.com/NixOS/nixos-hardware/blob/master/CONTRIBUTING.md -->
|
||||||
|
|
||||||
###### Description of changes
|
###### Description of changes
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,3 +4,9 @@ updates:
|
|||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
|
- package-ecosystem: "nix"
|
||||||
|
directories:
|
||||||
|
- "/"
|
||||||
|
- "tests/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
||||||
@@ -9,13 +9,13 @@ jobs:
|
|||||||
nixfmt:
|
nixfmt:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v6
|
||||||
- uses: cachix/install-nix-action@v31
|
- uses: cachix/install-nix-action@v31
|
||||||
- run: cd tests && nix fmt .. -- --fail-on-change
|
- run: nix build .#checks.x86_64-linux.formatting
|
||||||
tests:
|
tests:
|
||||||
needs: nixfmt
|
needs: nixfmt
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v6
|
||||||
- uses: cachix/install-nix-action@v31
|
- uses: cachix/install-nix-action@v31
|
||||||
- run: nix run ./tests#run .
|
- run: nix run .#run-tests
|
||||||
+3
-2
@@ -8,7 +8,8 @@ pcengines/apu @yegortimoshenko
|
|||||||
pine64/rockpro64 @tomfitzhenry
|
pine64/rockpro64 @tomfitzhenry
|
||||||
pine64/star64 @fgaz
|
pine64/star64 @fgaz
|
||||||
purism/librem/13v3 @yegortimoshenko
|
purism/librem/13v3 @yegortimoshenko
|
||||||
|
raspberry-pi @doronbehar
|
||||||
system76/darp6 @khumba
|
system76/darp6 @khumba
|
||||||
framework @emiller88
|
framework @emiller88 @johnazoidberg
|
||||||
tuxedo/pulse/15/gen2 @trueNAHO
|
tuxedo/pulse/15/gen2 @trueNAHO
|
||||||
tuxedo/pulse/14/gen3 @gabyx @britter @trueNAHO
|
tuxedo/pulse/14/gen3 @gabyx @britter
|
||||||
+138
-6
@@ -1,5 +1,11 @@
|
|||||||
# Contributing a Device Profile
|
# Contributing a Device Profile
|
||||||
|
|
||||||
|
Please submit your contributions from a feature branch, not from your master branch:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git checkout -b my-new-hardware-profile
|
||||||
|
```
|
||||||
|
|
||||||
## 1. Writing profiles
|
## 1. Writing profiles
|
||||||
|
|
||||||
Create an appropriate directory and start writing your expression.
|
Create an appropriate directory and start writing your expression.
|
||||||
@@ -36,18 +42,144 @@ should either be conservative or be guarded behind additional NixOS module
|
|||||||
options. If it makes sense to have a performance-focussed config, it can be
|
options. If it makes sense to have a performance-focussed config, it can be
|
||||||
declared in a separate profile.
|
declared in a separate profile.
|
||||||
|
|
||||||
## 2. Adding Entry
|
## 2. Optional: Add a README
|
||||||
|
|
||||||
Link the profile in the table in README.md and in flake.nix.
|
Profiles can include a `README.md` with device-specific documentation such as:
|
||||||
|
- Firmware update instructions
|
||||||
|
- BIOS settings
|
||||||
|
- Known issues and workarounds
|
||||||
|
- Links to external resources
|
||||||
|
|
||||||
## 3. Testing
|
See [framework/13-inch/7040-amd/README.md](framework/13-inch/7040-amd/README.md)
|
||||||
|
for a good example.
|
||||||
|
|
||||||
Run `nix run ./tests#run .` to evaluate all hardware profiles.
|
## 3. Adding Entry
|
||||||
|
|
||||||
|
Add your profile to both `README.md` and `flake.nix`.
|
||||||
|
|
||||||
|
**README.md**: Add a row to the table in alphabetical order by manufacturer:
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
| [Manufacturer Model](manufacturer/model) | `<nixos-hardware/manufacturer/model>` | `manufacturer-model` |
|
||||||
|
```
|
||||||
|
|
||||||
|
The columns are:
|
||||||
|
1. Model name linking to the profile directory
|
||||||
|
2. Channel path (for `imports = [ <nixos-hardware/...> ]`)
|
||||||
|
3. Flake module name (for `nixos-hardware.nixosModules.<name>`)
|
||||||
|
|
||||||
|
**flake.nix**: Add an entry to the `nixosModules` attribute set:
|
||||||
|
|
||||||
|
```nix
|
||||||
|
manufacturer-model = import ./manufacturer/model;
|
||||||
|
```
|
||||||
|
|
||||||
|
The flake module name should use hyphens (e.g., `dell-xps-15-9500`).
|
||||||
|
|
||||||
|
## 4. Multiple Variants
|
||||||
|
|
||||||
|
For devices with multiple configurations (e.g., different GPU options), create
|
||||||
|
subdirectories with a shared base module. For example:
|
||||||
|
|
||||||
|
```
|
||||||
|
dell/xps/15-9560/
|
||||||
|
├── default.nix # Base profile (or one default variant)
|
||||||
|
├── intel/default.nix # Intel-only variant
|
||||||
|
├── nvidia/default.nix # Nvidia variant
|
||||||
|
└── xps-common.nix # Shared configuration
|
||||||
|
```
|
||||||
|
|
||||||
|
Each variant needs its own entry in README.md and flake.nix:
|
||||||
|
|
||||||
|
```nix
|
||||||
|
dell-xps-15-9560 = import ./dell/xps/15-9560;
|
||||||
|
dell-xps-15-9560-intel = import ./dell/xps/15-9560/intel;
|
||||||
|
dell-xps-15-9560-nvidia = import ./dell/xps/15-9560/nvidia;
|
||||||
|
```
|
||||||
|
|
||||||
|
## 5. Testing
|
||||||
|
|
||||||
|
Before opening a pull request, test your profile by pointing to your fork.
|
||||||
|
|
||||||
|
**Using channels:**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo nix-channel --add https://github.com/<github-user>/nixos-hardware/archive/<branch>.tar.gz nixos-hardware
|
||||||
|
sudo nix-channel --update
|
||||||
|
sudo nixos-rebuild test
|
||||||
|
```
|
||||||
|
|
||||||
|
**Using flakes:**
|
||||||
|
|
||||||
|
Update your `flake.nix` input temporarily:
|
||||||
|
|
||||||
|
```nix
|
||||||
|
inputs.nixos-hardware.url = "github:<github-user>/nixos-hardware/<branch>";
|
||||||
|
```
|
||||||
|
|
||||||
|
Then run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo nixos-rebuild test --flake .
|
||||||
|
```
|
||||||
|
|
||||||
|
You can also run `nix run .#run-tests` to evaluate all hardware profiles.
|
||||||
Because profiles can only be tested with the appropriate hardware, quality
|
Because profiles can only be tested with the appropriate hardware, quality
|
||||||
assurance is up to *you*.
|
assurance is up to *you*.
|
||||||
|
|
||||||
|
## Compatibility
|
||||||
|
|
||||||
|
Profiles should work with both NixOS unstable and the current stable release.
|
||||||
|
|
||||||
|
## Deprecating Modules
|
||||||
|
|
||||||
|
When renaming or removing a module, add deprecation warnings for both flake and
|
||||||
|
channel users.
|
||||||
|
|
||||||
|
**For flake users**, use the `deprecated` helper in `flake.nix`:
|
||||||
|
|
||||||
|
```nix
|
||||||
|
old-module-name = deprecated "issue-number" "old-module-name" (import ./new/path);
|
||||||
|
```
|
||||||
|
|
||||||
|
**For channel users**, add an assertion in the old module's `default.nix`:
|
||||||
|
|
||||||
|
```nix
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
assertions = [
|
||||||
|
{
|
||||||
|
assertion = false;
|
||||||
|
message = "Importing path/to/old/module (default.nix) directly is deprecated! See https://github.com/NixOS/nixos-hardware/blob/master/path/to/DEPRECATION.md for more details";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Include a markdown file explaining the migration path. See
|
||||||
|
[asus/zephyrus/ga402x/ATTR-SET-DEPRECATION.md](asus/zephyrus/ga402x/ATTR-SET-DEPRECATION.md)
|
||||||
|
for an example.
|
||||||
|
|
||||||
|
## Getting Help
|
||||||
|
|
||||||
|
For questions and discussions, join us in the
|
||||||
|
[#nixos-hardware:nixos.org](https://matrix.to/#/#nixos-hardware:nixos.org)
|
||||||
|
Matrix channel.
|
||||||
|
|
||||||
# For reviewers:
|
# For reviewers:
|
||||||
|
|
||||||
This repository has [mergify](https://mergify.com/) enabled for easier merging after a successfull build:
|
Any nixpkgs committer can review and approve pull requests in this repository.
|
||||||
|
|
||||||
* `@mergify queue` will add the current pull request to the merge queue and merge when all tests succeed
|
This repository uses GitHub merge queues for merging pull requests.
|
||||||
|
|
||||||
|
## Review checklist
|
||||||
|
|
||||||
|
1. **README.md entry**: Verify the contribution adds the device to the table in README.md
|
||||||
|
2. **flake.nix entry**: Verify the profile is exposed in flake.nix
|
||||||
|
3. **Common profiles**: Since testing on real hardware isn't always possible,
|
||||||
|
check that the profile re-uses appropriate common profiles (e.g., cpu, gpu,
|
||||||
|
laptop/pc, ssd/hdd modules)
|
||||||
|
4. **Previous contributors**: For changes to existing profiles, consider
|
||||||
|
requesting feedback from previous contributors who may have access to the
|
||||||
|
hardware
|
||||||
@@ -32,7 +32,14 @@ the following:
|
|||||||
```nix
|
```nix
|
||||||
{
|
{
|
||||||
description = "NixOS configuration with flakes";
|
description = "NixOS configuration with flakes";
|
||||||
inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz";
|
||||||
|
nixos-hardware = {
|
||||||
|
url = "github:NixOS/nixos-hardware";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, nixos-hardware }: {
|
outputs = { self, nixpkgs, nixos-hardware }: {
|
||||||
# replace <your-hostname> with your actual hostname
|
# replace <your-hostname> with your actual hostname
|
||||||
@@ -67,14 +74,14 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md).
|
|||||||
|
|
||||||
## Get in touch
|
## Get in touch
|
||||||
|
|
||||||
For questions and discussions, come join us in the [nixos-anywhere matrix](https://matrix.to/#/#nixos-hardware:nixos.org) room.
|
For questions and discussions, come join us in the [nixos-hardware matrix](https://matrix.to/#/#nixos-hardware:nixos.org) room.
|
||||||
|
|
||||||
# Community Meetings
|
# Community Meetings
|
||||||
|
|
||||||
The [NixOS hardware](https://github.com/orgs/NixOS/teams/nixos-hardware) team meets regularly to discuss hardware profiles and maintenance:
|
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
|
- **When**: Every 3rd Friday of the month
|
||||||
- **Time**: 04:00 pm (UTC) / 16:00 (UTC)
|
- **Time**: 06:00 pm (UTC) / 18:00 (UTC)
|
||||||
- **Where**: https://jitsi.lassul.us/Hardware-team
|
- **Where**: https://jitsi.lassul.us/Hardware-team
|
||||||
- **Contact**: hardware@nixos.org
|
- **Contact**: hardware@nixos.org
|
||||||
|
|
||||||
@@ -85,9 +92,12 @@ All contributors and users are welcome to join!
|
|||||||
See code for all available configurations.
|
See code for all available configurations.
|
||||||
|
|
||||||
| Model | Path | Flake Module |
|
| Model | Path | Flake Module |
|
||||||
| --------------------------------------------------------------------------------- | ------------------------------------------------------- | ---------------------------------- |
|
| --------------------------------------------------------------------------------- | ------------------------------------------------------- | -------------------------------------- |
|
||||||
| [Acer Aspire 4810T](acer/aspire/4810t) | `<nixos-hardware/acer/aspire/4810t>` | `acer-aspire-4810t` |
|
| [Acer Aspire 4810T](acer/aspire/4810t) | `<nixos-hardware/acer/aspire/4810t>` | `acer-aspire-4810t` |
|
||||||
|
| [Acer Nitro 5 (AN515-55)](acer/nitro/5/an515-55) | `<nixos-hardware/acer/nitro/5/an515-55>` | `acer-nitro-5-an515-55` |
|
||||||
|
| [Acer Predator Helios 300 (PH315-51)](acer/predator/helios/300/ph315-51/) | `<nixos-hardware/acer/predator/helios/300/ph315-51/>` | `acer-predator-helios-300-ph315-51` |
|
||||||
| [Airis N990](airis/n990) | `<nixos-hardware/airis/n990>` | `airis-n990` |
|
| [Airis N990](airis/n990) | `<nixos-hardware/airis/n990>` | `airis-n990` |
|
||||||
|
| [Apple iMac 12,2](apple/imac/12-2) | `<nixos-hardware/apple/imac/12-2>` | `apple-imac-12-2` |
|
||||||
| [Apple iMac 14.2](apple/imac/14-2) | `<nixos-hardware/apple/imac/14-2>` | `apple-imac-14-2` |
|
| [Apple iMac 14.2](apple/imac/14-2) | `<nixos-hardware/apple/imac/14-2>` | `apple-imac-14-2` |
|
||||||
| [Apple iMac 18.2](apple/imac/18-2) | `<nixos-hardware/apple/imac/18-2>` | `apple-imac-18-2` |
|
| [Apple iMac 18.2](apple/imac/18-2) | `<nixos-hardware/apple/imac/18-2>` | `apple-imac-18-2` |
|
||||||
| [Apple MacBook Air 3,X](apple/macbook-air/3) | `<nixos-hardware/apple/macbook-air/3>` | `apple-macbook-air-3` |
|
| [Apple MacBook Air 3,X](apple/macbook-air/3) | `<nixos-hardware/apple/macbook-air/3>` | `apple-macbook-air-3` |
|
||||||
@@ -109,29 +119,37 @@ See code for all available configurations.
|
|||||||
| [Asus ROG Ally RC71L (2023)](asus/ally/rc71l) | `<nixos-hardware/asus/ally/rc71l>` | `asus-ally-rc71l` |
|
| [Asus ROG Ally RC71L (2023)](asus/ally/rc71l) | `<nixos-hardware/asus/ally/rc71l>` | `asus-ally-rc71l` |
|
||||||
| [Asus ROG Flow X13 GV302X\* (2023)](asus/flow/gv302x/amdgpu) | `<nixos-hardware/asus/flow/gv302x/amdgpu>` | `asus-flow-gv302x-amdgpu` |
|
| [Asus ROG Flow X13 GV302X\* (2023)](asus/flow/gv302x/amdgpu) | `<nixos-hardware/asus/flow/gv302x/amdgpu>` | `asus-flow-gv302x-amdgpu` |
|
||||||
| [Asus ROG Flow X13 GV302X\* (2023)](asus/flow/gv302x/nvidia) | `<nixos-hardware/asus/flow/gv302x/nvidia>` | `asus-flow-gv302x-nvidia` |
|
| [Asus ROG Flow X13 GV302X\* (2023)](asus/flow/gv302x/nvidia) | `<nixos-hardware/asus/flow/gv302x/nvidia>` | `asus-flow-gv302x-nvidia` |
|
||||||
|
| [Asus ROG Flow Z13 gz301vu\* (2023)](asus/flow/gz301vu) | `<nixos-hardware/asus/flow/gz301vu>` | `asus-flow-gz301vu` |
|
||||||
|
| [Asus ROG GL552VW](asus/rog-gl552vw) | `<nixos-hardware/asus/rog-gl552vw>` | `asus-rog-gl552vw` |
|
||||||
| [Asus ROG Strix G513IM](asus/rog-strix/g513im) | `<nixos-hardware/asus/rog-strix/g513im>` | `asus-rog-strix-g513im` |
|
| [Asus ROG Strix G513IM](asus/rog-strix/g513im) | `<nixos-hardware/asus/rog-strix/g513im>` | `asus-rog-strix-g513im` |
|
||||||
| [Asus ROG Strix G533ZW](asus/rog-strix/g533zw) | `<nixos-hardware/asus/rog-strix/g533zw>` | `asus-rog-strix-g533zw` |
|
| [Asus ROG Strix G533ZW](asus/rog-strix/g533zw) | `<nixos-hardware/asus/rog-strix/g533zw>` | `asus-rog-strix-g533zw` |
|
||||||
| [Asus ROG Strix G533Q](asus/rog-strix/g533q) | `<nixos-hardware/asus/rog-strix/g533q>` | `asus-rog-strix-g533zw` |
|
| [Asus ROG Strix G533Q](asus/rog-strix/g533q) | `<nixos-hardware/asus/rog-strix/g533q>` | `asus-rog-strix-g533zw` |
|
||||||
| [Asus ROG Strix G713IE](asus/rog-strix/g713ie) | `<nixos-hardware/asus/rog-strix/g713ie>` | `asus-rog-strix-g713ie` |
|
| [Asus ROG Strix G713IE](asus/rog-strix/g713ie) | `<nixos-hardware/asus/rog-strix/g713ie>` | `asus-rog-strix-g713ie` |
|
||||||
| [Asus ROG Strix G733QS](asus/rog-strix/g733qs) | `<nixos-hardware/asus/rog-strix/g733qs>` | `asus-rog-strix-g733qs` |
|
| [Asus ROG Strix G733QS](asus/rog-strix/g733qs) | `<nixos-hardware/asus/rog-strix/g733qs>` | `asus-rog-strix-g733qs` |
|
||||||
| [Asus ROG Strix X570-E GAMING](asus/rog-strix/x570e) | `<nixos-hardware/asus/rog-strix/x570e>` | `asus-rog-strix-x570e` |
|
| [Asus ROG Strix X570-E GAMING](asus/rog-strix/x570e) | `<nixos-hardware/asus/rog-strix/x570e>` | `asus-rog-strix-x570e` |
|
||||||
| [Asus ROG Zephyrus G14 GA401](asus/zephyrus/ga401) | `<nixos-hardware/asus/zephyrus/ga401>` | `asus-zephyrus-ga401` |
|
| [Asus ROG Zephyrus G14 GA401IV (2020)](asus/zephyrus/ga401iv) | `<nixos-hardware/asus/zephyrus/ga401iv>` | `asus-zephyrus-ga401iv` |
|
||||||
|
| [Asus ROG Zephyrus G14 GA401 (2021)](asus/zephyrus/ga401) | `<nixos-hardware/asus/zephyrus/ga401>` | `asus-zephyrus-ga401` |
|
||||||
| [Asus ROG Zephyrus G14 GA402](asus/zephyrus/ga402) | `<nixos-hardware/asus/zephyrus/ga402>` | `asus-zephyrus-ga402` |
|
| [Asus ROG Zephyrus G14 GA402](asus/zephyrus/ga402) | `<nixos-hardware/asus/zephyrus/ga402>` | `asus-zephyrus-ga402` |
|
||||||
| [Asus ROG Zephyrus G14 GA402X\* (2023)](asus/zephyrus/ga402x/amdgpu) | `<nixos-hardware/asus/zephyrus/ga402x/amdgpu>` | `asus-zephyrus-ga402x-amdgpu` |
|
| [Asus ROG Zephyrus G14 GA402X\* (2023)](asus/zephyrus/ga402x/amdgpu) | `<nixos-hardware/asus/zephyrus/ga402x/amdgpu>` | `asus-zephyrus-ga402x-amdgpu` |
|
||||||
| [Asus ROG Zephyrus G14 GA402X\* (2023)](asus/zephyrus/ga402x/nvidia) | `<nixos-hardware/asus/zephyrus/ga402x/nvidia>` | `asus-zephyrus-ga402x-nvidia` |
|
| [Asus ROG Zephyrus G14 GA402X\* (2023)](asus/zephyrus/ga402x/nvidia) | `<nixos-hardware/asus/zephyrus/ga402x/nvidia>` | `asus-zephyrus-ga402x-nvidia` |
|
||||||
| [Asus ROG Zephyrus G15 GA502](asus/zephyrus/ga502) | `<nixos-hardware/asus/zephyrus/ga502>` | `asus-zephyrus-ga502` |
|
| [Asus ROG Zephyrus G15 GA502](asus/zephyrus/ga502) | `<nixos-hardware/asus/zephyrus/ga502>` | `asus-zephyrus-ga502` |
|
||||||
| [Asus ROG Zephyrus G15 GA503](asus/zephyrus/ga503) | `<nixos-hardware/asus/zephyrus/ga503>` | `asus-zephyrus-ga503` |
|
| [Asus ROG Zephyrus G15 GA503](asus/zephyrus/ga503) | `<nixos-hardware/asus/zephyrus/ga503>` | `asus-zephyrus-ga503` |
|
||||||
|
| [Asus ROG Zephyrus G16 GU605CW](asus/zephyrus/gu605cw) | `<nixos-hardware/asus/zephyrus/gu605cw>` | `asus-zephyrus-gu605cw` |
|
||||||
| [Asus ROG Zephyrus G16 GU605MY](asus/zephyrus/gu605my) | `<nixos-hardware/asus/zephyrus/gu605my>` | `asus-zephyrus-gu605my` |
|
| [Asus ROG Zephyrus G16 GU605MY](asus/zephyrus/gu605my) | `<nixos-hardware/asus/zephyrus/gu605my>` | `asus-zephyrus-gu605my` |
|
||||||
| [Asus ROG Zephyrus M16 GU603H](asus/zephyrus/gu603h) | `<nixos-hardware/asus/zephyrus/gu603h>` | `asus-zephyrus-gu603h` |
|
| [Asus ROG Zephyrus M16 GU603H](asus/zephyrus/gu603h) | `<nixos-hardware/asus/zephyrus/gu603h>` | `asus-zephyrus-gu603h` |
|
||||||
| [Asus TUF FX504GD](asus/fx504gd) | `<nixos-hardware/asus/fx504gd>` | `asus-fx504gd` |
|
| [Asus TUF FX504GD](asus/fx504gd) | `<nixos-hardware/asus/fx504gd>` | `asus-fx504gd` |
|
||||||
| [Asus TUF FX506HM](asus/fx506hm) | `<nixos-hardware/asus/fx506hm>` | `asus-fx506hm` |
|
| [Asus TUF FX506HM](asus/fx506hm) | `<nixos-hardware/asus/fx506hm>` | `asus-fx506hm` |
|
||||||
| [Asus TUF FA506IC](asus/fa506ic) | `<nixos-hardware/asus/fa506ic>` | `asus-fa506ic` |
|
| [Asus TUF FA506IC](asus/fa506ic) | `<nixos-hardware/asus/fa506ic>` | `asus-fa506ic` |
|
||||||
|
| [Asus TUF FA506IC](asus/fa506nc) | `<nixos-hardware/asus/fa506nc>` | `asus-fa506nc` |
|
||||||
| [Asus TUF FA507RM](asus/fa507rm) | `<nixos-hardware/asus/fa507rm>` | `asus-fa507rm` |
|
| [Asus TUF FA507RM](asus/fa507rm) | `<nixos-hardware/asus/fa507rm>` | `asus-fa507rm` |
|
||||||
| [Asus TUF FA507NV](asus/fa507nv) | `<nixos-hardware/asus/fa507nv>` | `asus-fa507nv` |
|
| [Asus TUF FA507NV](asus/fa507nv) | `<nixos-hardware/asus/fa507nv>` | `asus-fa507nv` |
|
||||||
|
| [Asus TUF FA706IC](asus/fa706ic) | `<nixos-hardware/asus/fa706ic>` | `asus-fa706ic` |
|
||||||
| [Asus Zenbook Duo 14 UX481](asus/zenbook/ux481/intelgpu/) | `<nixos-hardware/asus/zenbook/ux481/intelgpu>` | `asus-zenbook-ux481-intelgpu` |
|
| [Asus Zenbook Duo 14 UX481](asus/zenbook/ux481/intelgpu/) | `<nixos-hardware/asus/zenbook/ux481/intelgpu>` | `asus-zenbook-ux481-intelgpu` |
|
||||||
| [Asus Zenbook Duo 14 UX481](asus/zenbook/ux481/nvidia/) | `<nixos-hardware/asus/zenbook/ux481/nvidia>` | `asus-zenbook-ux481-nvidia` |
|
| [Asus Zenbook Duo 14 UX481](asus/zenbook/ux481/nvidia/) | `<nixos-hardware/asus/zenbook/ux481/nvidia>` | `asus-zenbook-ux481-nvidia` |
|
||||||
| [Asus Zenbook Flip S13 UX371](asus/zenbook/ux371/) | `<nixos-hardware/asus/zenbook/ux371>` | `asus-zenbook-ux371` |
|
| [Asus Zenbook Flip S13 UX371](asus/zenbook/ux371/) | `<nixos-hardware/asus/zenbook/ux371>` | `asus-zenbook-ux371` |
|
||||||
| [Asus Zenbook Pro 15 UX535](asus/zenbook/ux535/) | `<nixos-hardware/asus/zenbook/ux535>` | `asus-zenbook-ux535` |
|
| [Asus Zenbook Pro 15 UX535](asus/zenbook/ux535/) | `<nixos-hardware/asus/zenbook/ux535>` | `asus-zenbook-ux535` |
|
||||||
|
| [Asus Zenbook Pro 17 UM6702](asus/zenbook/um6702/) | `<nixos-hardware/asus/zenbook/um6702>` | `asus-zenbook-um6702` |
|
||||||
|
| [Asrock Rack ALTRAD8UD-1L2T](asrock-rack/altrad8ud-1l2t) | `<nixos-hardware/asrock-rack/altrad8ud-1l2t>` | `asrock-rack-altrad8ud-1l2t` |
|
||||||
| [BeagleBoard PocketBeagle](beagleboard/pocketbeagle) | `<nixos-hardware/beagleboard/pocketbeagle>` | `beagleboard-pocketbeagle` |
|
| [BeagleBoard PocketBeagle](beagleboard/pocketbeagle) | `<nixos-hardware/beagleboard/pocketbeagle>` | `beagleboard-pocketbeagle` |
|
||||||
| [Chuwi MiniBook X](chuwi/minibook-x) | `<nixos-hardware/chuwi/minibook-x>` | `chuwi-minibook-x` |
|
| [Chuwi MiniBook X](chuwi/minibook-x) | `<nixos-hardware/chuwi/minibook-x>` | `chuwi-minibook-x` |
|
||||||
| [Deciso DEC series](deciso/dec) | `<nixos-hardware/deciso/dec>` | `deciso-dec` |
|
| [Deciso DEC series](deciso/dec) | `<nixos-hardware/deciso/dec>` | `deciso-dec` |
|
||||||
@@ -146,6 +164,7 @@ See code for all available configurations.
|
|||||||
| [Dell Inspiron 7559](dell/inspiron/7559) | `<nixos-hardware/dell/inspiron/7559>` | `dell-inspiron-7559` |
|
| [Dell Inspiron 7559](dell/inspiron/7559) | `<nixos-hardware/dell/inspiron/7559>` | `dell-inspiron-7559` |
|
||||||
| [Dell Latitude 3340](dell/latitude/3340) | `<nixos-hardware/dell/latitude/3340>` | `dell-latitude-3340` |
|
| [Dell Latitude 3340](dell/latitude/3340) | `<nixos-hardware/dell/latitude/3340>` | `dell-latitude-3340` |
|
||||||
| [Dell Latitude 3480](dell/latitude/3480) | `<nixos-hardware/dell/latitude/3480>` | `dell-latitude-3480` |
|
| [Dell Latitude 3480](dell/latitude/3480) | `<nixos-hardware/dell/latitude/3480>` | `dell-latitude-3480` |
|
||||||
|
| [Dell Latitude 3530](dell/latitude/3530) | `<nixos-hardware/dell/latitude/3530>` | `dell-latitude-3530` |
|
||||||
| [Dell Latitude 5490](dell/latitude/5490) | `<nixos-hardware/dell/latitude/5490>` | `dell-latitude-5490` |
|
| [Dell Latitude 5490](dell/latitude/5490) | `<nixos-hardware/dell/latitude/5490>` | `dell-latitude-5490` |
|
||||||
| [Dell Latitude 5520](dell/latitude/5520) | `<nixos-hardware/dell/latitude/5520>` | `dell-latitude-5520` |
|
| [Dell Latitude 5520](dell/latitude/5520) | `<nixos-hardware/dell/latitude/5520>` | `dell-latitude-5520` |
|
||||||
| [Dell Latitude 7280](dell/latitude/7280) | `<nixos-hardware/dell/latitude/7280>` | `dell-latitude-7280` |
|
| [Dell Latitude 7280](dell/latitude/7280) | `<nixos-hardware/dell/latitude/7280>` | `dell-latitude-7280` |
|
||||||
@@ -155,6 +174,7 @@ See code for all available configurations.
|
|||||||
| [Dell Latitude 7490](dell/latitude/7490) | `<nixos-hardware/dell/latitude/7490>` | `dell-latitude-7490` |
|
| [Dell Latitude 7490](dell/latitude/7490) | `<nixos-hardware/dell/latitude/7490>` | `dell-latitude-7490` |
|
||||||
| [Dell Latitude 9430](dell/latitude/9430) | `<nixos-hardware/dell/latitude/9430>` | `dell-latitude-9430` |
|
| [Dell Latitude 9430](dell/latitude/9430) | `<nixos-hardware/dell/latitude/9430>` | `dell-latitude-9430` |
|
||||||
| [Dell Latitude E7240](dell/latitude/e7240) | `<nixos-hardware/dell/latitude/e7240>` | `dell-latitude-e7240` |
|
| [Dell Latitude E7240](dell/latitude/e7240) | `<nixos-hardware/dell/latitude/e7240>` | `dell-latitude-e7240` |
|
||||||
|
| [Dell Latitude E7440](dell/latitude/e7440) | `<nixos-hardware/dell/latitude/e7440>` | `dell-latitude-e7440` |
|
||||||
| [Dell Optiplex 3050](dell/optiplex/3050) | `<nixos-hardware/dell/optiplex/3050>` | `dell-optiplex-3050` |
|
| [Dell Optiplex 3050](dell/optiplex/3050) | `<nixos-hardware/dell/optiplex/3050>` | `dell-optiplex-3050` |
|
||||||
| [Dell Poweredge R7515](dell/poweredge/r7515) | `<nixos-hardware/dell/poweredge/r7515>` | `dell-poweredge-r7515` |
|
| [Dell Poweredge R7515](dell/poweredge/r7515) | `<nixos-hardware/dell/poweredge/r7515>` | `dell-poweredge-r7515` |
|
||||||
| [Dell Precision 3490, nvidia](dell/precision/3490/nvidia) | `<nixos-hardware/dell/precision/3490/nvidia>` | `dell-precision-3490-nvidia` |
|
| [Dell Precision 3490, nvidia](dell/precision/3490/nvidia) | `<nixos-hardware/dell/precision/3490/nvidia>` | `dell-precision-3490-nvidia` |
|
||||||
@@ -164,7 +184,7 @@ See code for all available configurations.
|
|||||||
| [Dell Precision 5530](dell/precision/5530) | `<nixos-hardware/dell/precision/5530>` | `dell-precision-5530` |
|
| [Dell Precision 5530](dell/precision/5530) | `<nixos-hardware/dell/precision/5530>` | `dell-precision-5530` |
|
||||||
| [Dell Precision 5560](dell/precision/5560) | `<nixos-hardware/dell/precision/5560>` | `dell-precision-5560` |
|
| [Dell Precision 5560](dell/precision/5560) | `<nixos-hardware/dell/precision/5560>` | `dell-precision-5560` |
|
||||||
| [Dell Precision 5570](dell/precision/5570) | `<nixos-hardware/dell/precision/5570>` | `dell-precision-5570` |
|
| [Dell Precision 5570](dell/precision/5570) | `<nixos-hardware/dell/precision/5570>` | `dell-precision-5570` |
|
||||||
| [Dell Precision 5680](dell/precision/5680) | `<nixos-hardware/dell/precision/5680>` | `dell-precision-5680` |
|
| [Dell Precision 5820](dell/precision/5820) | `<nixos-hardware/dell/precision/5820>` | `dell-precision-5820` |
|
||||||
| [Dell Precision 7520](dell/precision/7520) | `<nixos-hardware/dell/precision/7520>` | `dell-precision-7520` |
|
| [Dell Precision 7520](dell/precision/7520) | `<nixos-hardware/dell/precision/7520>` | `dell-precision-7520` |
|
||||||
| [Dell XPS 13 7390](dell/xps/13-7390) | `<nixos-hardware/dell/xps/13-7390>` | `dell-xps-13-7390` |
|
| [Dell XPS 13 7390](dell/xps/13-7390) | `<nixos-hardware/dell/xps/13-7390>` | `dell-xps-13-7390` |
|
||||||
| [Dell XPS 13 9300](dell/xps/13-9300) | `<nixos-hardware/dell/xps/13-9300>` | `dell-xps-13-9300` |
|
| [Dell XPS 13 9300](dell/xps/13-9300) | `<nixos-hardware/dell/xps/13-9300>` | `dell-xps-13-9300` |
|
||||||
@@ -198,9 +218,10 @@ See code for all available configurations.
|
|||||||
| [Dell XPS 17 9700, nvidia](dell/xps/17-9700/nvidia) | `<nixos-hardware/dell/xps/17-9700/nvidia>` | `dell-xps-17-9700-nvidia` |
|
| [Dell XPS 17 9700, nvidia](dell/xps/17-9700/nvidia) | `<nixos-hardware/dell/xps/17-9700/nvidia>` | `dell-xps-17-9700-nvidia` |
|
||||||
| [Dell XPS 17 9710, intel only](dell/xps/17-9710/intel) | `<nixos-hardware/dell/xps/17-9710/intel>` | `dell-xps-17-9710-intel` |
|
| [Dell XPS 17 9710, intel only](dell/xps/17-9710/intel) | `<nixos-hardware/dell/xps/17-9710/intel>` | `dell-xps-17-9710-intel` |
|
||||||
| [Framework 11th Gen Intel Core](framework/13-inch/11th-gen-intel) | `<nixos-hardware/framework/13-inch/11th-gen-intel>` | `framework-11th-gen-intel` |
|
| [Framework 11th Gen Intel Core](framework/13-inch/11th-gen-intel) | `<nixos-hardware/framework/13-inch/11th-gen-intel>` | `framework-11th-gen-intel` |
|
||||||
| [Framework 12th Gen Intel Core](framework/12-inch/13th-gen-intel) | `<nixos-hardware/framework/12-inch/13th-gen-intel>` | `framework-12th-gen-intel` |
|
| [Framework 12th Gen Intel Core](framework/13-inch/12th-gen-intel) | `<nixos-hardware/framework/13-inch/12th-gen-intel>` | `framework-12th-gen-intel` |
|
||||||
| [Framework 13th Gen Intel Core](framework/13-inch/13th-gen-intel) | `<nixos-hardware/framework/13-inch/13th-gen-intel>` | `framework-13th-gen-intel` |
|
| [Framework 13th Gen Intel Core](framework/13-inch/13th-gen-intel) | `<nixos-hardware/framework/13-inch/13th-gen-intel>` | `framework-13th-gen-intel` |
|
||||||
| [Framework Intel Core Ultra Series 1](framework/13-inch/intel-core-ultra-series1) | `<nixos-hardware/framework/13-inch/intel-core-ultra-series1>` | `framework-intel-core-ultra-series1` |
|
| [Framework Intel Core Ultra Series 1](framework/13-inch/intel-core-ultra-series1) | `<nixos-hardware/framework/13-inch/intel-core-ultra-series1>` | `framework-intel-core-ultra-series1` |
|
||||||
|
| [Framework Intel Core Ultra Series 3](framework/13-inch/intel-core-ultra-series3) | `<nixos-hardware/framework/13-inch/intel-core-ultra-series3>` | `framework-intel-core-ultra-series3` |
|
||||||
| [Framework 13 AMD Ryzen 7040 Series](framework/13-inch/7040-amd) | `<nixos-hardware/framework/13-inch/7040-amd>` | `framework-13-7040-amd` |
|
| [Framework 13 AMD Ryzen 7040 Series](framework/13-inch/7040-amd) | `<nixos-hardware/framework/13-inch/7040-amd>` | `framework-13-7040-amd` |
|
||||||
| [Framework 13 AMD AI 300 Series](framework/13-inch/amd-ai-300-series) | `<nixos-hardware/framework/13-inch/amd-ai-300-series>` | `framework-amd-ai-300-series` |
|
| [Framework 13 AMD AI 300 Series](framework/13-inch/amd-ai-300-series) | `<nixos-hardware/framework/13-inch/amd-ai-300-series>` | `framework-amd-ai-300-series` |
|
||||||
| [Framework 12 13th Gen Intel Core](framework/12-inch/13th-gen-intel) | `<nixos-hardware/framework/12-inch/13th-gen-intel>` | `framework-12-13th-gen-intel` |
|
| [Framework 12 13th Gen Intel Core](framework/12-inch/13th-gen-intel) | `<nixos-hardware/framework/12-inch/13th-gen-intel>` | `framework-12-13th-gen-intel` |
|
||||||
@@ -213,6 +234,7 @@ See code for all available configurations.
|
|||||||
| [Gigabyte B550](gigabyte/b550) | `<nixos-hardware/gigabyte/b550>` | `gigabyte-b550` |
|
| [Gigabyte B550](gigabyte/b550) | `<nixos-hardware/gigabyte/b550>` | `gigabyte-b550` |
|
||||||
| [Gigabyte B650](gigabyte/b650) | `<nixos-hardware/gigabyte/b650>` | `gigabyte-b650` |
|
| [Gigabyte B650](gigabyte/b650) | `<nixos-hardware/gigabyte/b650>` | `gigabyte-b650` |
|
||||||
| [GMKtec NucBox G3 Plus](gmktec/nucbox/g3-plus) | `<nixos-hardware/gmktec/nucbox/g3-plus>` | `gmktec-nucbox-g3-plus` |
|
| [GMKtec NucBox G3 Plus](gmktec/nucbox/g3-plus) | `<nixos-hardware/gmktec/nucbox/g3-plus>` | `gmktec-nucbox-g3-plus` |
|
||||||
|
| [GPD Duo](gpd/duo) | `<nixos-hardware/gpd/duo>` | `gpd-duo` |
|
||||||
| [GPD MicroPC](gpd/micropc) | `<nixos-hardware/gpd/micropc>` | `gpd-micropc` |
|
| [GPD MicroPC](gpd/micropc) | `<nixos-hardware/gpd/micropc>` | `gpd-micropc` |
|
||||||
| [GPD P2 Max](gpd/p2-max) | `<nixos-hardware/gpd/p2-max>` | `gpd-p2-max` |
|
| [GPD P2 Max](gpd/p2-max) | `<nixos-hardware/gpd/p2-max>` | `gpd-p2-max` |
|
||||||
| [GPD Pocket 3](gpd/pocket-3) | `<nixos-hardware/gpd/pocket-3>` | `gpd-pocket-3` |
|
| [GPD Pocket 3](gpd/pocket-3) | `<nixos-hardware/gpd/pocket-3>` | `gpd-pocket-3` |
|
||||||
@@ -221,19 +243,26 @@ See code for all available configurations.
|
|||||||
| [GPD WIN Max 2 2023](gpd/win-max-2/2023) | `<nixos-hardware/gpd/win-max-2/2023>` | `gpd-win-max-2-2023` |
|
| [GPD WIN Max 2 2023](gpd/win-max-2/2023) | `<nixos-hardware/gpd/win-max-2/2023>` | `gpd-win-max-2-2023` |
|
||||||
| [GPD WIN Mini 2024](gpd/win-mini/2024) | `<nixos-hardware/gpd/win-mini/2024>` | `gpd-win-mini-2024` |
|
| [GPD WIN Mini 2024](gpd/win-mini/2024) | `<nixos-hardware/gpd/win-mini/2024>` | `gpd-win-mini-2024` |
|
||||||
| [Google Pixelbook](google/pixelbook) | `<nixos-hardware/google/pixelbook>` | `google-pixelbook` |
|
| [Google Pixelbook](google/pixelbook) | `<nixos-hardware/google/pixelbook>` | `google-pixelbook` |
|
||||||
|
| [Google Brya](google/brya) | `<nixos-hardware/google/brya>` | `google-brya` |
|
||||||
|
| [Google Rex](google/rex) | `<nixos-hardware/google/rex>` | `google-rex` |
|
||||||
| [HP Elitebook 2560p](hp/elitebook/2560p) | `<nixos-hardware/hp/elitebook/2560p>` | `hp-elitebook-2560p` |
|
| [HP Elitebook 2560p](hp/elitebook/2560p) | `<nixos-hardware/hp/elitebook/2560p>` | `hp-elitebook-2560p` |
|
||||||
| [HP Elitebook 830g6](hp/elitebook/830/g6) | `<nixos-hardware/hp/elitebook/830/g6>` | `hp-elitebook-830g6` |
|
| [HP Elitebook 830g6](hp/elitebook/830/g6) | `<nixos-hardware/hp/elitebook/830/g6>` | `hp-elitebook-830g6` |
|
||||||
| [HP Elitebook 845g7](hp/elitebook/845/g7) | `<nixos-hardware/hp/elitebook/845/g7>` | `hp-elitebook-845g7` |
|
| [HP Elitebook 845g7](hp/elitebook/845/g7) | `<nixos-hardware/hp/elitebook/845/g7>` | `hp-elitebook-845g7` |
|
||||||
| [HP Elitebook 845g8](hp/elitebook/845/g8) | `<nixos-hardware/hp/elitebook/845/g8>` | `hp-elitebook-845g8` |
|
| [HP Elitebook 845g8](hp/elitebook/845/g8) | `<nixos-hardware/hp/elitebook/845/g8>` | `hp-elitebook-845g8` |
|
||||||
| [HP Elitebook 845g9](hp/elitebook/845/g9) | `<nixos-hardware/hp/elitebook/845/g9>` | `hp-elitebook-845g9` |
|
| [HP Elitebook 845g9](hp/elitebook/845/g9) | `<nixos-hardware/hp/elitebook/845/g9>` | `hp-elitebook-845g9` |
|
||||||
| [HP Laptop 14s-dq2024nf](hp/laptop/14s-dq2024nf) | `<nixos-hardware/hp/laptop/14s-dq2024nf>` | `hp-laptop-14s-dq2024nf` |
|
| [HP Laptop 14s-dq2024nf](hp/laptop/14s-dq2024nf) | `<nixos-hardware/hp/laptop/14s-dq2024nf>` | `hp-laptop-14s-dq2024nf` |
|
||||||
|
| [HP Laptop 15s-fq1xxx](hp/laptop/15s-fq1xxx) | `<nixos-hardware/hp/laptop/15s-fq1xxx>` | `hp-laptop-15s-fq1xxx` |
|
||||||
| [HP Notebook 14-df0023](hp/notebook/14-df0023) | `<nixos-hardware/hp/notebook/14-df0023>` | `hp-notebook-14-df0023` |
|
| [HP Notebook 14-df0023](hp/notebook/14-df0023) | `<nixos-hardware/hp/notebook/14-df0023>` | `hp-notebook-14-df0023` |
|
||||||
| [HP Probook 440G5](hp/probook/440g5) | `<nixos-hardware/hp/probook/440g5>` | `hp-probook-440G5` |
|
| [HP Probook 440G5](hp/probook/440G5) | `<nixos-hardware/hp/probook/440G5>` | `hp-probook-440G5` |
|
||||||
|
| [HP Laptop 14s-dq2024nf](hp/laptop/14s-dq2024nf) | `<nixos-hardware/hp/laptop/14s-dq2024nf>` | `hp-laptop-14s-dq2024nf` |
|
||||||
| [HP Probook 460G11](hp/probook/460g11) | `<nixos-hardware/hp/probook/460g11>` | `hp-probook-46011` |
|
| [HP Probook 460G11](hp/probook/460g11) | `<nixos-hardware/hp/probook/460g11>` | `hp-probook-46011` |
|
||||||
| [Huawei Matebook X Pro (2020)](huawei/machc-wa) | `<nixos-hardware/huawei/machc-wa>` | `huawei-machc-wa` |
|
| [Huawei Matebook X Pro (2020)](huawei/machc-wa) | `<nixos-hardware/huawei/machc-wa>` | `huawei-machc-wa` |
|
||||||
| [i.MX8QuadMax Multisensory Enablement Kit](nxp/imx8qm-mek/) | `<nixos-hardware/nxp/imx8qm-mek>` | `nxp-imx8qm-mek` |
|
| [i.MX8QuadMax Multisensory Enablement Kit](nxp/imx8qm-mek/) | `<nixos-hardware/nxp/imx8qm-mek>` | `nxp-imx8qm-mek` |
|
||||||
| [Intel NUC 5i5RYB](intel/nuc/5i5ryb/) | `<nixos-hardware/intel/nuc/5i5ryb>` | `intel-nuc-5i5ryb` |
|
| [Intel NUC 5i5RYB](intel/nuc/5i5ryb/) | `<nixos-hardware/intel/nuc/5i5ryb>` | `intel-nuc-5i5ryb` |
|
||||||
|
| [Intel NUC 7i3BNB](intel/nuc/7i3bnb/) | `<nixos-hardware/intel/nuc/7i3bnb>` | `intel-nuc-7i3bnb` |
|
||||||
| [Intel NUC 8i7BEH](intel/nuc/8i7beh/) | `<nixos-hardware/intel/nuc/8i7beh>` | `intel-nuc-8i7beh` |
|
| [Intel NUC 8i7BEH](intel/nuc/8i7beh/) | `<nixos-hardware/intel/nuc/8i7beh>` | `intel-nuc-8i7beh` |
|
||||||
|
| [Intel NUC 12WSHi7](intel/nuc/12wshi7/) | `<nixos-hardware/intel/nuc/12wshi7>` | `intel-nuc-12wshi7` |
|
||||||
|
| [Kobol Helios4](kobol/helios4) | `<nixos-hardware/kobol/helios4>` | `kobol-helios-4` |
|
||||||
| [Lenovo IdeaCentre K330](lenovo/ideacentre/k330) | `<nixos-hardware/lenovo/ideacentre/k330>` | `lenovo-ideacentre-k330` |
|
| [Lenovo IdeaCentre K330](lenovo/ideacentre/k330) | `<nixos-hardware/lenovo/ideacentre/k330>` | `lenovo-ideacentre-k330` |
|
||||||
| [Lenovo IdeaPad 3 15alc6](lenovo/ideapad/15alc6) | `<nixos-hardware/lenovo/ideapad/15alc6>` | `lenovo-ideapad-15alc6` |
|
| [Lenovo IdeaPad 3 15alc6](lenovo/ideapad/15alc6) | `<nixos-hardware/lenovo/ideapad/15alc6>` | `lenovo-ideapad-15alc6` |
|
||||||
| [Lenovo IdeaPad Gaming 3 15arh05](lenovo/ideapad/15arh05) | `<nixos-hardware/lenovo/ideapad/15arh05>` | `lenovo-ideapad-15arh05` |
|
| [Lenovo IdeaPad Gaming 3 15arh05](lenovo/ideapad/15arh05) | `<nixos-hardware/lenovo/ideapad/15arh05>` | `lenovo-ideapad-15arh05` |
|
||||||
@@ -260,6 +289,8 @@ See code for all available configurations.
|
|||||||
| [Lenovo Legion 7 16achg6 (Nvidia)](lenovo/legion/16achg6/nvidia) | `<nixos-hardware/lenovo/legion/16achg6/nvidia>` | `lenovo-legion-16achg6-nvidia` |
|
| [Lenovo Legion 7 16achg6 (Nvidia)](lenovo/legion/16achg6/nvidia) | `<nixos-hardware/lenovo/legion/16achg6/nvidia>` | `lenovo-legion-16achg6-nvidia` |
|
||||||
| [Lenovo Legion 7i Pro 16irx8h (Intel)](lenovo/legion/16irx8h) | `<nixos-hardware/lenovo/legion/16irx8h>` | `lenovo-legion-16irx8h` |
|
| [Lenovo Legion 7i Pro 16irx8h (Intel)](lenovo/legion/16irx8h) | `<nixos-hardware/lenovo/legion/16irx8h>` | `lenovo-legion-16irx8h` |
|
||||||
| [Lenovo Legion 7 Pro 16irx9h (Intel)](lenovo/legion/16irx9h) | `<nixos-hardware/lenovo/legion/16irx9h>` | `lenovo-legion-16irx9h` |
|
| [Lenovo Legion 7 Pro 16irx9h (Intel)](lenovo/legion/16irx9h) | `<nixos-hardware/lenovo/legion/16irx9h>` | `lenovo-legion-16irx9h` |
|
||||||
|
| [Lenovo Legion Pro 7 16iax10h (Intel)](lenovo/legion/16iax10h) | `<nixos-hardware/lenovo/legion/16iax10h>` | `lenovo-legion-16iax10h` |
|
||||||
|
| [Lenovo Legion Slim 5](lenovo/legion/16aph8/) | `<nixos-hardware/lenovo/legion/16aph8>` | `lenovo-legion-16aph8` |
|
||||||
| [Lenovo Legion Slim 7 Gen 7 (AMD)](lenovo/legion/16arha7/) | `<nixos-hardware/lenovo/legion/16arha7>` | `lenovo-legion-16arha7` |
|
| [Lenovo Legion Slim 7 Gen 7 (AMD)](lenovo/legion/16arha7/) | `<nixos-hardware/lenovo/legion/16arha7>` | `lenovo-legion-16arha7` |
|
||||||
| [Lenovo Legion T5 AMR5](lenovo/legion/t526amr5) | `<nixos-hardware/lenovo/legion/t526amr5>` | `lenovo-legion-t526amr5` |
|
| [Lenovo Legion T5 AMR5](lenovo/legion/t526amr5) | `<nixos-hardware/lenovo/legion/t526amr5>` | `lenovo-legion-t526amr5` |
|
||||||
| [Lenovo Legion Y530 15ICH](lenovo/legion/15ich) | `<nixos-hardware/lenovo/legion/15ich>` | `lenovo-legion-y530-15ich` |
|
| [Lenovo Legion Y530 15ICH](lenovo/legion/15ich) | `<nixos-hardware/lenovo/legion/15ich>` | `lenovo-legion-y530-15ich` |
|
||||||
@@ -267,6 +298,7 @@ See code for all available configurations.
|
|||||||
| [Lenovo ThinkPad E14 (AMD)](lenovo/thinkpad/e14/amd) | `<nixos-hardware/lenovo/thinkpad/e14/amd>` | `lenovo-thinkpad-e14-amd` |
|
| [Lenovo ThinkPad E14 (AMD)](lenovo/thinkpad/e14/amd) | `<nixos-hardware/lenovo/thinkpad/e14/amd>` | `lenovo-thinkpad-e14-amd` |
|
||||||
| [Lenovo ThinkPad E14 (Intel - Gen 1)](lenovo/thinkpad/e14/intel) | `<nixos-hardware/lenovo/thinkpad/e14/intel>` | `lenovo-thinkpad-e14-intel` |
|
| [Lenovo ThinkPad E14 (Intel - Gen 1)](lenovo/thinkpad/e14/intel) | `<nixos-hardware/lenovo/thinkpad/e14/intel>` | `lenovo-thinkpad-e14-intel` |
|
||||||
| [Lenovo ThinkPad E14 (Intel - Gen 4)](lenovo/thinkpad/e14/intel/gen4) | `<nixos-hardware/lenovo/thinkpad/e14/intel/gen4>` | `lenovo-thinkpad-e14-intel-gen4` |
|
| [Lenovo ThinkPad E14 (Intel - Gen 4)](lenovo/thinkpad/e14/intel/gen4) | `<nixos-hardware/lenovo/thinkpad/e14/intel/gen4>` | `lenovo-thinkpad-e14-intel-gen4` |
|
||||||
|
| [Lenovo ThinkPad E14 (Intel - Gen 2)](lenovo/thinkpad/e14/intel/gen2) | `<nixos-hardware/lenovo/thinkpad/e14/intel/gen2>` | `lenovo-thinkpad-e14-intel-gen2` |
|
||||||
| [Lenovo ThinkPad E14 (Intel - Gen 6)](lenovo/thinkpad/e14/intel/gen6) | `<nixos-hardware/lenovo/thinkpad/e14/intel/gen6>` | `lenovo-thinkpad-e14-intel-gen6` |
|
| [Lenovo ThinkPad E14 (Intel - Gen 6)](lenovo/thinkpad/e14/intel/gen6) | `<nixos-hardware/lenovo/thinkpad/e14/intel/gen6>` | `lenovo-thinkpad-e14-intel-gen6` |
|
||||||
| [Lenovo ThinkPad E15 (Intel)](lenovo/thinkpad/e15/intel) | `<nixos-hardware/lenovo/thinkpad/e15/intel>` | `lenovo-thinkpad-e15-intel` |
|
| [Lenovo ThinkPad E15 (Intel)](lenovo/thinkpad/e15/intel) | `<nixos-hardware/lenovo/thinkpad/e15/intel>` | `lenovo-thinkpad-e15-intel` |
|
||||||
| [Lenovo ThinkPad E470](lenovo/thinkpad/e470) | `<nixos-hardware/lenovo/thinkpad/e470>` | `lenovo-thinkpad-e470` |
|
| [Lenovo ThinkPad E470](lenovo/thinkpad/e470) | `<nixos-hardware/lenovo/thinkpad/e470>` | `lenovo-thinkpad-e470` |
|
||||||
@@ -277,17 +309,23 @@ See code for all available configurations.
|
|||||||
| [Lenovo ThinkPad L14 (Intel)](lenovo/thinkpad/l14/intel) | `<nixos-hardware/lenovo/thinkpad/l14/intel>` | `lenovo-thinkpad-l14-intel` |
|
| [Lenovo ThinkPad L14 (Intel)](lenovo/thinkpad/l14/intel) | `<nixos-hardware/lenovo/thinkpad/l14/intel>` | `lenovo-thinkpad-l14-intel` |
|
||||||
| [Lenovo ThinkPad L480](lenovo/thinkpad/l480) | `<nixos-hardware/lenovo/thinkpad/l480>` | `lenovo-thinkpad-l480` |
|
| [Lenovo ThinkPad L480](lenovo/thinkpad/l480) | `<nixos-hardware/lenovo/thinkpad/l480>` | `lenovo-thinkpad-l480` |
|
||||||
| [Lenovo ThinkPad P1 Gen 3](lenovo/thinkpad/p1/3th-gen) | `<nixos-hardware/lenovo/thinkpad/p1/3th-gen>` | `lenovo-thinkpad-p1-gen3` |
|
| [Lenovo ThinkPad P1 Gen 3](lenovo/thinkpad/p1/3th-gen) | `<nixos-hardware/lenovo/thinkpad/p1/3th-gen>` | `lenovo-thinkpad-p1-gen3` |
|
||||||
|
| [Lenovo ThinkPad P1 Gen 5](lenovo/thinkpad/p1/gen5) | `<nixos-hardware/lenovo/thinkpad/p1/gen5>` | `lenovo-thinkpad-p1-gen5` |
|
||||||
|
| [Lenovo ThinkPad P1 Gen 5 (Nvidia)](lenovo/thinkpad/p1/gen5/nvidia) | `<nixos-hardware/lenovo/thinkpad/p1/gen5/nvidia>` | `lenovo-thinkpad-p1-gen5-nvidia` |
|
||||||
| [Lenovo ThinkPad P14s AMD Gen 1](lenovo/thinkpad/p14s/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen1>` | `lenovo-thinkpad-p14s-amd-gen1` |
|
| [Lenovo ThinkPad P14s AMD Gen 1](lenovo/thinkpad/p14s/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen1>` | `lenovo-thinkpad-p14s-amd-gen1` |
|
||||||
| [Lenovo ThinkPad P14s AMD Gen 2](lenovo/thinkpad/p14s/amd/gen2) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen2>` | `lenovo-thinkpad-p14s-amd-gen2` |
|
| [Lenovo ThinkPad P14s AMD Gen 2](lenovo/thinkpad/p14s/amd/gen2) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen2>` | `lenovo-thinkpad-p14s-amd-gen2` |
|
||||||
| [Lenovo ThinkPad P14s AMD Gen 3](lenovo/thinkpad/p14s/amd/gen3) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen3>` | `lenovo-thinkpad-p14s-amd-gen3` |
|
| [Lenovo ThinkPad P14s AMD Gen 3](lenovo/thinkpad/p14s/amd/gen3) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen3>` | `lenovo-thinkpad-p14s-amd-gen3` |
|
||||||
| [Lenovo ThinkPad P14s AMD Gen 4](lenovo/thinkpad/p14s/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen4>` | `lenovo-thinkpad-p14s-amd-gen4` |
|
| [Lenovo ThinkPad P14s AMD Gen 4](lenovo/thinkpad/p14s/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen4>` | `lenovo-thinkpad-p14s-amd-gen4` |
|
||||||
| [Lenovo ThinkPad P14s AMD Gen 5](lenovo/thinkpad/p14s/amd/gen5) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen5>` | `lenovo-thinkpad-p14s-amd-gen5` |
|
| [Lenovo ThinkPad P14s AMD Gen 5](lenovo/thinkpad/p14s/amd/gen5) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen5>` | `lenovo-thinkpad-p14s-amd-gen5` |
|
||||||
|
| [Lenovo ThinkPad P14s AMD Gen 6](lenovo/thinkpad/p14s/amd/gen6) | `<nixos-hardware/lenovo/thinkpad/p14s/amd/gen6>` | `lenovo-thinkpad-p14s-amd-gen6` |
|
||||||
|
| [Lenovo ThinkPad P14s Intel Gen 2](lenovo/thinkpad/p14s/intel/gen2) | `<nixos-hardware/lenovo/thinkpad/p14s/intel/gen2>` | `lenovo-thinkpad-p14s-intel-gen2` |
|
||||||
| [Lenovo ThinkPad P14s Intel Gen 3](lenovo/thinkpad/p14s/intel/gen3) | `<nixos-hardware/lenovo/thinkpad/p14s/intel/gen3>` | `lenovo-thinkpad-p14s-intel-gen3` |
|
| [Lenovo ThinkPad P14s Intel Gen 3](lenovo/thinkpad/p14s/intel/gen3) | `<nixos-hardware/lenovo/thinkpad/p14s/intel/gen3>` | `lenovo-thinkpad-p14s-intel-gen3` |
|
||||||
| [Lenovo ThinkPad P14s Intel Gen 5](lenovo/thinkpad/p14s/intel/gen5) | `<nixos-hardware/lenovo/thinkpad/p14s/intel/gen5>` | `lenovo-thinkpad-p14s-intel-gen5` |
|
| [Lenovo ThinkPad P14s Intel Gen 5](lenovo/thinkpad/p14s/intel/gen5) | `<nixos-hardware/lenovo/thinkpad/p14s/intel/gen5>` | `lenovo-thinkpad-p14s-intel-gen5` |
|
||||||
|
| [Lenovo ThinkPad P15v Intel Gen 3](lenovo/thinkpad/p15v/intel/gen3) | `<nixos-hardware/lenovo/thinkpad/p15v/intel/gen3>` | `lenovo-thinkpad-p15v-intel-gen3` |
|
||||||
| [Lenovo ThinkPad P16s AMD Gen 1](lenovo/thinkpad/p16s/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/p16s/amd/gen1>` | `lenovo-thinkpad-p16s-amd-gen1` |
|
| [Lenovo ThinkPad P16s AMD Gen 1](lenovo/thinkpad/p16s/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/p16s/amd/gen1>` | `lenovo-thinkpad-p16s-amd-gen1` |
|
||||||
| [Lenovo ThinkPad P16s AMD Gen 2](lenovo/thinkpad/p16s/amd/gen2) | `<nixos-hardware/lenovo/thinkpad/p16s/amd/gen2>` | `lenovo-thinkpad-p16s-amd-gen2` |
|
| [Lenovo ThinkPad P16s AMD Gen 2](lenovo/thinkpad/p16s/amd/gen2) | `<nixos-hardware/lenovo/thinkpad/p16s/amd/gen2>` | `lenovo-thinkpad-p16s-amd-gen2` |
|
||||||
| [Lenovo ThinkPad P16s AMD Gen 4](lenovo/thinkpad/p16s/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/p16s/amd/gen4>` | `lenovo-thinkpad-p16s-amd-gen4` |
|
| [Lenovo ThinkPad P16s AMD Gen 4](lenovo/thinkpad/p16s/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/p16s/amd/gen4>` | `lenovo-thinkpad-p16s-amd-gen4` |
|
||||||
| [Lenovo ThinkPad P16s Intel Gen 2](lenovo/thinkpad/p16s/intel/gen2) | `<nixos-hardware/lenovo/thinkpad/p16s/intel/gen2>` | `lenovo-thinkpad-p16s-intel-gen2` |
|
| [Lenovo ThinkPad P16s Intel Gen 2](lenovo/thinkpad/p16s/intel/gen2) | `<nixos-hardware/lenovo/thinkpad/p16s/intel/gen2>` | `lenovo-thinkpad-p16s-intel-gen2` |
|
||||||
|
| [Lenovo ThinkPad P16s Intel Gen 3](lenovo/thinkpad/p16s/intel/gen3) | `<nixos-hardware/lenovo/thinkpad/p16s/intel/gen3>` | `lenovo-thinkpad-p16s-intel-gen3` |
|
||||||
| [Lenovo ThinkPad P1](lenovo/thinkpad/p1) | `<nixos-hardware/lenovo/thinkpad/p1>` | `lenovo-thinkpad-p1` |
|
| [Lenovo ThinkPad P1](lenovo/thinkpad/p1) | `<nixos-hardware/lenovo/thinkpad/p1>` | `lenovo-thinkpad-p1` |
|
||||||
| [Lenovo ThinkPad P43s](lenovo/thinkpad/p43s) | `<nixos-hardware/lenovo/thinkpad/p43s>` | `lenovo-thinkpad-p43s` |
|
| [Lenovo ThinkPad P43s](lenovo/thinkpad/p43s) | `<nixos-hardware/lenovo/thinkpad/p43s>` | `lenovo-thinkpad-p43s` |
|
||||||
| [Lenovo ThinkPad P50](lenovo/thinkpad/p50) | `<nixos-hardware/lenovo/thinkpad/p50>` | `lenovo-thinkpad-p50` |
|
| [Lenovo ThinkPad P50](lenovo/thinkpad/p50) | `<nixos-hardware/lenovo/thinkpad/p50>` | `lenovo-thinkpad-p50` |
|
||||||
@@ -328,6 +366,7 @@ See code for all available configurations.
|
|||||||
| [Lenovo ThinkPad X1 Yoga](lenovo/thinkpad/x1/yoga) | `<nixos-hardware/lenovo/thinkpad/x1/yoga>` | `lenovo-thinkpad-x1-yoga` |
|
| [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 7](lenovo/thinkpad/x1/yoga/7th-gen/) | `<nixos-hardware/lenovo/thinkpad/x1/yoga/7th-gen>` | `lenovo-thinkpad-x1-yoga-7th-gen` |
|
||||||
| [Lenovo ThinkPad X1 Yoga Gen 8](lenovo/thinkpad/x1/yoga/8th-gen/) | `<nixos-hardware/lenovo/thinkpad/x1/yoga/8th-gen>` | `lenovo-thinkpad-x1-yoga-8th-gen` |
|
| [Lenovo ThinkPad X1 Yoga Gen 8](lenovo/thinkpad/x1/yoga/8th-gen/) | `<nixos-hardware/lenovo/thinkpad/x1/yoga/8th-gen>` | `lenovo-thinkpad-x1-yoga-8th-gen` |
|
||||||
|
| [Lenovo ThinkPad X1 Yoga Gen 8 (IPU6)](lenovo/thinkpad/x1/yoga/8th-gen/ipu6) | `<nixos-hardware/lenovo/thinkpad/x1/yoga/8th-gen/ipu6>` | `lenovo-thinkpad-x1-yoga-8th-gen-ipu6` |
|
||||||
| [Lenovo ThinkPad X1 (2nd Gen)](lenovo/thinkpad/x1/2nd-gen) | `<nixos-hardware/lenovo/thinkpad/x1/2nd-gen>` | `lenovo-thinkpad-x1-2nd-gen` |
|
| [Lenovo ThinkPad X1 (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 (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 (7th Gen)](lenovo/thinkpad/x1/7th-gen) | `<nixos-hardware/lenovo/thinkpad/x1/7th-gen>` | `lenovo-thinkpad-x1-7th-gen` |
|
||||||
@@ -368,9 +407,14 @@ See code for all available configurations.
|
|||||||
| [Linglong Nova Studio](linglong/nova-studio) | `<nixos-hardware/linglong/nova-studio>` | `linglong-nova-studio` |
|
| [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 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 B350 TOMAHAWK](msi/b350-tomahawk) | `<nixos-hardware/msi/b350-tomahawk>` | `msi-b350-tomahawk` |
|
||||||
|
| [MSI B550 TOMAHAWK](msi/b550-tomahawk) | `<nixos-hardware/msi/b550-tomahawk>` | `msi-b550-tomahawk` |
|
||||||
|
| [MSI GF63 Thin](msi/gf63) | `<nixos-hardware/msi/gf63>` | `msi-gf63` |
|
||||||
| [MSI GS60 2QE](msi/gs60) | `<nixos-hardware/msi/gs60>` | `msi-gs60` |
|
| [MSI GS60 2QE](msi/gs60) | `<nixos-hardware/msi/gs60>` | `msi-gs60` |
|
||||||
| [MSI GL62/CX62](msi/gl62) | `<nixos-hardware/msi/gl62>` | `msi-gl62` |
|
| [MSI GL62/CX62](msi/gl62) | `<nixos-hardware/msi/gl62>` | `msi-gl62` |
|
||||||
| [MSI GL65 10SDR-492](msi/gl65/10SDR-492) | `<nixos-hardware/msi/gl65/10SDR-492>` | `msi-gl65-10SDR-492` |
|
| [MSI GL65 10SDR-492](msi/gl65/10SDR-492) | `<nixos-hardware/msi/gl65/10SDR-492>` | `msi-gl65-10SDR-492` |
|
||||||
|
| [MSI Prestige 15 A10SC](msi/prestige/15-a10sc) | `<nixos-hardware/msi/prestige/15-a10sc>` | `msi-prestige-15-a10sc` |
|
||||||
|
| [MSI Z370 PC PRO](msi/z370-pc-pro) | `<nixos-hardware/msi/z370-pc-pro>` | `msi-z370-pc-pro` |
|
||||||
|
| [Malibal Aon S1](malibal/aon/s1) | | `<nixos-hardware/malibal/aon/s1>` | `malibal-aon-s1` |
|
||||||
| [Microchip Icicle Kit](microchip/icicle-kit) | `<nixos-hardware/microchip/icicle-kit>` | `microchip-icicle-kit` |
|
| [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 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 Pro (Intel)](microsoft/surface/surface-pro-intel) | `<nixos-hardware/microsoft/surface/surface-pro-intel>` | `microsoft-surface-pro-intel` |
|
||||||
@@ -378,7 +422,11 @@ See code for all available configurations.
|
|||||||
| [Microsoft Surface Range (Common Modules)](microsoft/surface/common) | `<nixos-hardware/microsoft/surface/common>` | `microsoft-surface-common` |
|
| [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 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` |
|
| [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` |
|
| [Morefine M600](morefine/m600) | `<nixos-hardware/morefine/m600>` | `morefine-m600` |
|
||||||
|
| [Minisforum UM690](minisforum/um690) | `<nixos-hardware/minisforum/um690>` | `minisforum-um690` |
|
||||||
|
| [Minisforum UM690S](minisforum/um690s) | `<nixos-hardware/minisforum/um690s>` | `minisforum-um690s` |
|
||||||
|
| [Minisforum UM790 Pro](minisforum/um790-pro) | `<nixos-hardware/minisforum/um790-pro>` | `minisforum-um790-pro` |
|
||||||
| [Minisforum V3](minisforum/v3) | `<nixos-hardware/minisforum/v3>` | `minisforum-v3` |
|
| [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` |
|
| [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` |
|
| [MECHREVO Yilong15Pro](mechrevo/GM5HG0A) | `<nixos-hardware/mechrevo/GM5HG0A>` | `mechrevo-gm5hg0a` |
|
||||||
@@ -387,6 +435,8 @@ See code for all available configurations.
|
|||||||
| [Hardkernel Odroid HC4](hardkernel/odroid-hc4/default.nix) | `<nixos-hardware/hardkernel/odroid-hc4>` | `hardkernel-odroid-hc4` |
|
| [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 H3](hardkernel/odroid-h3/default.nix) | `<nixos-hardware/hardkernel/odroid-h3>` | `hardkernel-odroid-h3` |
|
||||||
| [Hardkernel Odroid H4](hardkernel/odroid-h4/default.nix) | `<nixos-hardware/hardkernel/odroid-h4>` | `hardkernel-odroid-h4` |
|
| [Hardkernel Odroid H4](hardkernel/odroid-h4/default.nix) | `<nixos-hardware/hardkernel/odroid-h4>` | `hardkernel-odroid-h4` |
|
||||||
|
| [Hardkernel Odroid M1](hardkernel/odroid-m1/default.nix) | `<nixos-hardware/hardkernel/odroid-m1>` | `hardkernel-odroid-m1` |
|
||||||
|
| [Olimex TERES-I](olimex/teres_i) | `<nixos-hardware/olimex/teres_i>` | `olimex-teres_i` |
|
||||||
| [Omen 14-fb0798ng](omen/14-fb0798ng) | `<nixos-hardware/omen/14-fb0798ng>` | `omen-14-fb0798ng` |
|
| [Omen 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-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 15-en0010ca](omen/15-en0010ca) | `<nixos-hardware/omen/15-en0010ca>` | `omen-15-en0010ca` |
|
||||||
@@ -395,6 +445,7 @@ See code for all available configurations.
|
|||||||
| [Omen 15-en1007sa](omen/15-en1007sa) | `<nixos-hardware/omen/15-en1007sa>` | `omen-15-en1007sa` |
|
| [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` |
|
| [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` |
|
| [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` |
|
| [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` |
|
| [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 Pinebook Pro](pine64/pinebook-pro/) | `<nixos-hardware/pine64/pinebook-pro>` | `pine64-pinebook-pro` |
|
||||||
@@ -404,10 +455,13 @@ See code for all available configurations.
|
|||||||
| [Purism Librem 13v3](purism/librem/13v3) | `<nixos-hardware/purism/librem/13v3>` | `purism-librem-13v3` |
|
| [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 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` |
|
| [Purism Librem 5r4](purism/librem/5r4) | `<nixos-hardware/purism/librem/5r4>` | `purism-librem-5r4` |
|
||||||
|
| [Radxa ROCK 3C](radxa/rock-3c) | `<nixos-hardware/radxa/rock-3c>` | `radxa-rock-3c` |
|
||||||
| [Radxa ROCK 4C+](radxa/rock-4c-plus) | `<nixos-hardware/radxa/rock-4c-plus>` | `rock-4c-plus` |
|
| [Radxa ROCK 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 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 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` |
|
| [Radxa ROCK Pi E](radxa/rock-pi-e) | `<nixos-hardware/radxa/rock-pi-e>` | `rock-pi-e` |
|
||||||
|
| [Razer Blade 14 (RZ09-0530)](razer/blade/14/RZ09-0530) | `<nixos-hardware/razer/blade/14/RZ09-0530>` | `razer-blade-14-RZ09-0530` |
|
||||||
|
| [Raspberry Pi 1](raspberry-pi/1) | `<nixos-hardware/raspberry-pi/1>` | `raspberry-pi-1` |
|
||||||
| [Raspberry Pi 2](raspberry-pi/2) | `<nixos-hardware/raspberry-pi/2>` | `raspberry-pi-2` |
|
| [Raspberry Pi 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 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 4](raspberry-pi/4) | `<nixos-hardware/raspberry-pi/4>` | `raspberry-pi-4` |
|
||||||
@@ -424,6 +478,7 @@ See code for all available configurations.
|
|||||||
| [System76 (generic)](system76) | `<nixos-hardware/system76>` | `system76` |
|
| [System76 (generic)](system76) | `<nixos-hardware/system76>` | `system76` |
|
||||||
| [System76 Darter Pro 6](system76/darp6) | `<nixos-hardware/system76/darp6>` | `system76-darp6` |
|
| [System76 Darter Pro 6](system76/darp6) | `<nixos-hardware/system76/darp6>` | `system76-darp6` |
|
||||||
| [System76 Gazelle 18](system76/gaze18) | `<nixos-hardware/system76/gaze18>` | `system76-gaze18` |
|
| [System76 Gazelle 18](system76/gaze18) | `<nixos-hardware/system76/gaze18>` | `system76-gaze18` |
|
||||||
|
| [System76 Galago Pro 3](system76/galp3) | `<nixos-hardware/system76/galp3>` | `system76-galp3` |
|
||||||
| [System76 Galago Pro 5](system76/galp5-1650) | `<nixos-hardware/system76/galp5-1650>` | `system76-galp5-1650` |
|
| [System76 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` |
|
| [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` |
|
| [Toshiba Chromebook 2 `swanky`](toshiba/swanky) | `<nixos-hardware/toshiba/swanky>` | `toshiba-swanky` |
|
||||||
@@ -432,6 +487,9 @@ See code for all available configurations.
|
|||||||
| [TUXEDO InfinityBook Pro 14 - Gen7](tuxedo/infinitybook/pro14/gen7) | `<nixos-hardware/tuxedo/infinitybook/pro14/gen7>` | `tuxedo-infinitybook-pro14-gen7` |
|
| [TUXEDO InfinityBook Pro 14 - 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 - AMD](tuxedo/infinitybook/pro14/gen9/amd) | `<nixos-hardware/tuxedo/infinitybook/pro14/gen9/amd>` | `tuxedo-infinitybook-pro14-gen9-amd` |
|
||||||
| [TUXEDO InfinityBook Pro 14 - Gen9 - INTEL](tuxedo/infinitybook/pro14/gen9/intel) | `<nixos-hardware/tuxedo/infinitybook/pro14/gen9/intel>` | `tuxedo-infinitybook-pro14-gen9-intel` |
|
| [TUXEDO InfinityBook Pro 14 - Gen9 - INTEL](tuxedo/infinitybook/pro14/gen9/intel) | `<nixos-hardware/tuxedo/infinitybook/pro14/gen9/intel>` | `tuxedo-infinitybook-pro14-gen9-intel` |
|
||||||
|
| [TUXEDO InfinityBook Pro 14 - Gen10 - AMD](tuxedo/infinitybook/pro14/gen10/amd) | `<nixos-hardware/tuxedo/infinitybook/pro14/gen10/amd>` | `tuxedo-infinitybook-pro14-gen10-amd` |
|
||||||
|
| [TUXEDO InfinityBook Pro 15 - Gen10 - AMD](tuxedo/infinitybook/pro15/gen10/amd) | `<nixos-hardware/tuxedo/infinitybook/pro15/gen10/amd>` | `tuxedo-infinitybook-pro15-gen10-amd` |
|
||||||
|
| [TUXEDO InfinityBook Pro 15 - Gen10 - INTEL](tuxedo/infinitybook/pro15/gen10/intel)| `<nixos-hardware/tuxedo/infinitybook/pro15/gen10/intel>`| `tuxedo-infinitybook-pro15-gen10-intel`|
|
||||||
| [TUXEDO Pulse 14 - Gen3](tuxedo/pulse/14/gen3) | `<nixos-hardware/tuxedo/pulse/14/gen3>` | `tuxedo-pulse-14-gen3` |
|
| [TUXEDO Pulse 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` |
|
| [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 15 Pro 2021](xiaomi/redmibook/15-pro-2021) | `<nixos-hardware/xiaomi/redmibook/15-pro-2021>` | `xiaomi-redmibook-15-pro-2021` |
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
# Acer Nitro 5 (AN515-55)
|
||||||
|
|
||||||
|
## Hardware Configuration
|
||||||
|
|
||||||
|
- Intel Core i5-10500H
|
||||||
|
- Intel UHD Graphics + NVIDIA GeForce GTX 1650 Mobile (Turing, TU117M)
|
||||||
|
- M.2 NVMe SSD
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
- PRIME offload works via `nvidia-offload <cmd>` (enabled by default
|
||||||
|
via `common/gpu/nvidia/prime.nix`). GPU runtime D3 is not supported
|
||||||
|
on this chassis — the discrete GPU stays powered on at all times,
|
||||||
|
even when idle.
|
||||||
|
- NVIDIA open kernel modules work on this Turing GPU (enabled by
|
||||||
|
default via `common/gpu/nvidia/turing`), tested with the 595 series.
|
||||||
|
- `acer_wmi` loads and registers the `platform_profile` driver, but
|
||||||
|
no sysfs interface is exposed (`/sys/firmware/acpi/platform_profile`
|
||||||
|
does not exist). Fan/performance modes are only reachable through
|
||||||
|
Acer's proprietary WMI methods (NitroSense on Windows).
|
||||||
|
- Keyboard backlight is not exposed via the standard LED class
|
||||||
|
(`/sys/class/leds`) — `brightnessctl` only controls panel brightness.
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
{ lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../../../../common/cpu/intel
|
||||||
|
../../../../common/gpu/nvidia/prime.nix
|
||||||
|
../../../../common/gpu/nvidia/turing
|
||||||
|
../../../../common/pc/laptop
|
||||||
|
../../../../common/pc/ssd
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware.nvidia = {
|
||||||
|
modesetting.enable = lib.mkDefault true;
|
||||||
|
powerManagement.enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
prime = {
|
||||||
|
intelBusId = "PCI:0@0:2:0";
|
||||||
|
nvidiaBusId = "PCI:1@0:0:0";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
# Acer Predator Helios 300 (PH315-51)
|
||||||
|
|
||||||
|
## Hardware Configuration:
|
||||||
|
|
||||||
|
- Intel Core i5 (8th Gen) 8300H / 2.3 GHz
|
||||||
|
- NVIDIA GeForce GTX 1050 Ti
|
||||||
|
- 128GB SSD + 1TB HDD
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib) mkDefault;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../../../../../common/pc/laptop
|
||||||
|
../../../../../common/cpu/intel/coffee-lake
|
||||||
|
../../../../../common/gpu/nvidia/pascal
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware = {
|
||||||
|
nvidia = {
|
||||||
|
modesetting.enable = mkDefault true;
|
||||||
|
powerManagement.enable = mkDefault true;
|
||||||
|
|
||||||
|
prime = {
|
||||||
|
sync.enable = mkDefault true;
|
||||||
|
intelBusId = "PCI:0@0:2:0";
|
||||||
|
nvidiaBusId = "PCI:1@0:0:0";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,72 @@
|
|||||||
|
# iMac 12,2, NixOS 25.11 (February 2025)
|
||||||
|
|
||||||
|
## Audio
|
||||||
|
|
||||||
|
- [x] ok
|
||||||
|
|
||||||
|
## Bluetooth
|
||||||
|
|
||||||
|
- [x] ok
|
||||||
|
|
||||||
|
## Camera
|
||||||
|
|
||||||
|
- [x] ok
|
||||||
|
|
||||||
|
Observed issues with the GNOME tooling. `vlc` and `guvcview` woth work fine.
|
||||||
|
|
||||||
|
## Thunderbolt
|
||||||
|
|
||||||
|
- [ ] Untested
|
||||||
|
|
||||||
|
## SATA
|
||||||
|
|
||||||
|
- [x] ok
|
||||||
|
|
||||||
|
## Suspend/Resume
|
||||||
|
|
||||||
|
- [ ] Untested
|
||||||
|
|
||||||
|
## WiFi
|
||||||
|
|
||||||
|
- [x] ok
|
||||||
|
|
||||||
|
## Graphics
|
||||||
|
|
||||||
|
- [x] ok
|
||||||
|
|
||||||
|
The Radeon HD 6000 series (Northern Islands) does not support `amdgpu`.
|
||||||
|
This profile uses the `radeon` driver with DPM (Dynamic Power Management)
|
||||||
|
disabled to prevent boot hangs.
|
||||||
|
|
||||||
|
## LSPCI
|
||||||
|
|
||||||
|
```
|
||||||
|
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
|
||||||
|
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
|
||||||
|
00:02.0 Display controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
|
||||||
|
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
|
||||||
|
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Universal Host Controller #5 (rev 05)
|
||||||
|
00:1a.7 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
|
||||||
|
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
|
||||||
|
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
|
||||||
|
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
|
||||||
|
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
|
||||||
|
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
|
||||||
|
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Universal Host Controller #1 (rev 05)
|
||||||
|
00:1d.7 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
|
||||||
|
00:1f.0 ISA bridge: Intel Corporation Z68 Express Chipset LPC Controller (rev 05)
|
||||||
|
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller (rev 05)
|
||||||
|
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
|
||||||
|
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6730M/6770M/7690M XT]
|
||||||
|
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series]
|
||||||
|
02:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM57765 Gigabit Ethernet PCIe (rev 10)
|
||||||
|
03:00.0 Network controller: Qualcomm Atheros AR93xx Wireless Network Adapter (rev 01)
|
||||||
|
04:00.0 FireWire (IEEE 1394): LSI Corporation FW643 [TrueFire] PCIe 1394b Controller (rev 08)
|
||||||
|
05:00.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
|
||||||
|
06:00.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
|
||||||
|
06:03.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
|
||||||
|
06:04.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
|
||||||
|
06:05.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
|
||||||
|
06:06.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
|
||||||
|
07:00.0 System peripheral: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
|
||||||
|
```
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
];
|
||||||
|
|
||||||
|
# AMD Radeon HD 6770M/6970M (Whistler/Turks, Northern Islands generation)
|
||||||
|
# DPM (Dynamic Power Management) did cause boot hangs
|
||||||
|
boot.kernelParams = [ "radeon.dpm=0" ];
|
||||||
|
|
||||||
|
}
|
||||||
@@ -29,7 +29,6 @@
|
|||||||
"bcma"
|
"bcma"
|
||||||
];
|
];
|
||||||
kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.0") pkgs.linuxPackages_latest;
|
kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.0") pkgs.linuxPackages_latest;
|
||||||
extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
|
|||||||
@@ -3,8 +3,6 @@
|
|||||||
{
|
{
|
||||||
imports = [ ../. ];
|
imports = [ ../. ];
|
||||||
|
|
||||||
boot.kernelModules = [ "wl" ];
|
|
||||||
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
|
|
||||||
boot.blacklistedKernelModules = [ "bcma" ];
|
boot.blacklistedKernelModules = [ "bcma" ];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/pc/ssd
|
../../../common/pc/ssd
|
||||||
../../../common/gpu/24.05-compat.nix
|
|
||||||
../../../common/gpu/nvidia/kepler
|
../../../common/gpu/nvidia/kepler
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -6,9 +6,5 @@
|
|||||||
../../../common/cpu/intel/haswell
|
../../../common/cpu/intel/haswell
|
||||||
];
|
];
|
||||||
|
|
||||||
# broadcom-wl
|
|
||||||
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||||||
# nixos-generate-config doesn't detect this automatically.
|
|
||||||
boot.extraModulePackages = with config.boot.kernelPackages; [ broadcom_sta ];
|
|
||||||
boot.kernelModules = [ "wl" ];
|
|
||||||
}
|
}
|
||||||
@@ -8,7 +8,6 @@ in
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/gpu/24.05-compat.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services.xserver.videoDrivers = mkDefault [ "nvidiaLegacy340" ];
|
services.xserver.videoDrivers = mkDefault [ "nvidiaLegacy340" ];
|
||||||
|
|||||||
+45
-42
@@ -7,36 +7,48 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) types;
|
inherit (lib) types;
|
||||||
nixosVersion = lib.versions.majorMinor lib.version;
|
|
||||||
|
|
||||||
audioFiles = pkgs.fetchFromGitHub {
|
t2bce-alsa-ucm = pkgs.stdenvNoCC.mkDerivation (_: {
|
||||||
owner = "kekrby";
|
name = "t2bce-alsa-ucm";
|
||||||
repo = "t2-better-audio";
|
src = pkgs.fetchFromGitHub {
|
||||||
rev = "e46839a28963e2f7d364020518b9dac98236bcae";
|
owner = "deqrocks";
|
||||||
hash = "sha256-x7K0qa++P1e1vuCGxnsFxL1d9+nwMtZUJ6Kd9e27TFs=";
|
repo = "t2bce";
|
||||||
|
rev = "967465dc67d3a9b1e48dea620f7258baa526f4f2";
|
||||||
|
hash = "sha256-EVUvNg30bFhJCtcyPAGbWjGX0+CORs4nWG5Bpvbr590=";
|
||||||
};
|
};
|
||||||
|
|
||||||
audioFilesUdevRules = pkgs.runCommand "audio-files-udev-rules" { } ''
|
meta = {
|
||||||
mkdir -p $out/lib/udev/rules.d
|
description = "ALSA Usage Configuration Manager configuration for T2 Macs";
|
||||||
cp ${audioFiles}/files/*.rules $out/lib/udev/rules.d
|
license = lib.licenses.mit;
|
||||||
substituteInPlace $out/lib/udev/rules.d/*.rules --replace "/usr/bin/sed" "${pkgs.gnused}/bin/sed"
|
};
|
||||||
'';
|
|
||||||
|
|
||||||
overrideAudioFiles =
|
dontBuild = true;
|
||||||
package: pluginsPath:
|
|
||||||
package.overrideAttrs (
|
|
||||||
_new: old: {
|
|
||||||
preConfigurePhases = old.preConfigurePhases or [ ] ++ [ "postPatchPhase" ];
|
|
||||||
postPatchPhase = ''
|
|
||||||
cp -r ${audioFiles}/files/{profile-sets,paths} ${pluginsPath}/alsa/mixer/
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
pipewirePackage = overrideAudioFiles pkgs.pipewire "spa/plugins/";
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
cd ./t2bce_audio-alsa-ucm-conf
|
||||||
|
mkdir -p "$out/share/alsa/"
|
||||||
|
cp -vR ./ucm2 "$out/share/alsa/"
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
|
||||||
|
patched-alsa-ucm = pkgs.symlinkJoin {
|
||||||
|
inherit (t2bce-alsa-ucm) src meta;
|
||||||
|
name = "t2bce-alsa-ucm-patched";
|
||||||
|
paths = [
|
||||||
|
pkgs.alsa-ucm-conf
|
||||||
|
t2bce-alsa-ucm
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
patchedAudioAlsaEnv = lib.genAttrs [ "pipewire" "wireplumber" "pulseaudio" ] (_: {
|
||||||
|
environment.ALSA_CONFIG_UCM2 = config.environment.variables.ALSA_CONFIG_UCM2;
|
||||||
|
});
|
||||||
|
|
||||||
t2Cfg = config.hardware.apple-t2;
|
t2Cfg = config.hardware.apple-t2;
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
@@ -86,37 +98,28 @@ in
|
|||||||
if t2Cfg.kernelChannel == "stable" then ./pkgs/linux-t2 else ./pkgs/linux-t2/latest.nix
|
if t2Cfg.kernelChannel == "stable" then ./pkgs/linux-t2 else ./pkgs/linux-t2/latest.nix
|
||||||
) { }
|
) { }
|
||||||
);
|
);
|
||||||
boot.initrd.kernelModules = [ "apple-bce" ];
|
boot.initrd.kernelModules = [ "t2bce-vhci" ];
|
||||||
|
|
||||||
services.udev.packages = [ audioFilesUdevRules ];
|
# For audio and suspend
|
||||||
|
|
||||||
# For audio
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
"pcie_ports=compat"
|
|
||||||
"intel_iommu=on"
|
"intel_iommu=on"
|
||||||
"iommu=pt"
|
"iommu=pt"
|
||||||
|
"pm_async=off"
|
||||||
];
|
];
|
||||||
|
|
||||||
services.pipewire.package = pipewirePackage;
|
# audio configuration
|
||||||
services.pipewire.wireplumber.package = pkgs.wireplumber.override {
|
# https://github.com/nix-community/nixos-apple-silicon/blob/66d8dd2c27f99bd5420c99938b60695aac1785c4/apple-silicon-support/modules/sound/default.nix#L46
|
||||||
pipewire = pipewirePackage;
|
environment.variables.ALSA_CONFIG_UCM2 = "${patched-alsa-ucm}/share/alsa/ucm2";
|
||||||
|
# setting systemd.globalEnvironment is likely going to have unexpected side effects
|
||||||
|
systemd = {
|
||||||
|
services = patchedAudioAlsaEnv;
|
||||||
|
user.services = patchedAudioAlsaEnv;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Make sure post-resume.service exists
|
# Make sure post-resume.service exists
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
(
|
|
||||||
if lib.versionAtLeast nixosVersion "25.05" then
|
|
||||||
{
|
|
||||||
services.pulseaudio.package = overrideAudioFiles pkgs.pulseaudio "src/modules/";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
hardware.pulseaudio.package = overrideAudioFiles pkgs.pulseaudio "src/modules/";
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
(lib.mkIf t2Cfg.enableIGPU {
|
(lib.mkIf t2Cfg.enableIGPU {
|
||||||
# Enable the iGPU by default if present
|
# Enable the iGPU by default if present
|
||||||
environment.etc."modprobe.d/apple-gmux.conf".text = ''
|
environment.etc."modprobe.d/apple-gmux.conf".text = ''
|
||||||
|
|||||||
@@ -2,10 +2,7 @@
|
|||||||
lib,
|
lib,
|
||||||
stdenvNoCC,
|
stdenvNoCC,
|
||||||
callPackage,
|
callPackage,
|
||||||
vmTools,
|
_7zz,
|
||||||
util-linux,
|
|
||||||
linux,
|
|
||||||
kmod,
|
|
||||||
version,
|
version,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@@ -38,7 +35,6 @@ let
|
|||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
vmTools.runInLinuxVM (
|
|
||||||
stdenvNoCC.mkDerivation {
|
stdenvNoCC.mkDerivation {
|
||||||
pname = "brcm-firmware";
|
pname = "brcm-firmware";
|
||||||
inherit version;
|
inherit version;
|
||||||
@@ -55,22 +51,16 @@ vmTools.runInLinuxVM (
|
|||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
util-linux
|
_7zz
|
||||||
get-firmware
|
get-firmware
|
||||||
];
|
];
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
ln -s ${linux}/lib /lib
|
7zz x -bd -bso0 -bsp0 $src \
|
||||||
${kmod}/bin/modprobe loop
|
"macOS Base System/usr/share/firmware/bluetooth/*" \
|
||||||
${kmod}/bin/modprobe hfsplus
|
"macOS Base System/usr/share/firmware/wifi/*"
|
||||||
|
|
||||||
imgdir=$(mktemp -d)
|
get-bluetooth "macOS Base System/usr/share/firmware/bluetooth" bluetooth/
|
||||||
loopdev=$(losetup -f | cut -d "/" -f 3)
|
get-wifi "macOS Base System/usr/share/firmware/wifi" wifi/
|
||||||
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 = ''
|
installPhase = ''
|
||||||
@@ -86,4 +76,3 @@ vmTools.runInLinuxVM (
|
|||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
)
|
|
||||||
@@ -1,7 +1,5 @@
|
|||||||
{
|
{
|
||||||
lib,
|
|
||||||
stdenvNoCC,
|
stdenvNoCC,
|
||||||
fetchFromGitHub,
|
|
||||||
callPackage,
|
callPackage,
|
||||||
dmg2img,
|
dmg2img,
|
||||||
}:
|
}:
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
{ callPackage, linux_6_12, ... }@args:
|
{ callPackage, ... }@args:
|
||||||
|
|
||||||
callPackage ./generic.nix args {
|
callPackage ./generic.nix args ./stable.json
|
||||||
kernel = linux_6_12;
|
|
||||||
patchesFile = ./stable.json;
|
|
||||||
}
|
|
||||||
@@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
fetchurl, # fetchpatch does unnecessary normalization
|
fetchurl, # fetchpatch does unnecessary normalization
|
||||||
|
buildLinux,
|
||||||
|
linuxKernel,
|
||||||
...
|
...
|
||||||
}@args:
|
}@args:
|
||||||
|
|
||||||
{
|
patchesFile:
|
||||||
kernel,
|
|
||||||
patchesFile,
|
|
||||||
}:
|
|
||||||
let
|
let
|
||||||
inherit (builtins) readFile fromJSON;
|
inherit (builtins) readFile fromJSON;
|
||||||
|
|
||||||
@@ -23,33 +23,58 @@ let
|
|||||||
}
|
}
|
||||||
) patchset.patches;
|
) patchset.patches;
|
||||||
in
|
in
|
||||||
kernel.override (
|
buildLinux (
|
||||||
args
|
{
|
||||||
// {
|
|
||||||
pname = "linux-t2";
|
pname = "linux-t2";
|
||||||
|
version = patchset.kernel.version;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
inherit (patchset.kernel) url hash;
|
||||||
|
};
|
||||||
|
|
||||||
structuredExtraConfig = with lib.kernel; {
|
structuredExtraConfig = with lib.kernel; {
|
||||||
APPLE_BCE = module;
|
T2BCE_CORE = module;
|
||||||
|
T2BCE_VHCI = module;
|
||||||
|
T2BCE_AUDIO = module;
|
||||||
|
T2BCE_AVE = module;
|
||||||
APPLE_GMUX = module;
|
APPLE_GMUX = module;
|
||||||
APFS_FS = module;
|
APFS_FS = module;
|
||||||
BRCMFMAC = module;
|
BRCMFMAC = module;
|
||||||
BT_BCM = module;
|
BT_BCM = module;
|
||||||
BT_HCIBCM4377 = module;
|
BT_HCIBCM4377 = module;
|
||||||
BT_HCIUART_BCM = yes;
|
|
||||||
BT_HCIUART = module;
|
BT_HCIUART = module;
|
||||||
|
BT_HCIUART_BCM = yes;
|
||||||
|
DRM_APPLETBDRM = module;
|
||||||
|
HID_APPLE = module;
|
||||||
HID_APPLETB_BL = module;
|
HID_APPLETB_BL = module;
|
||||||
HID_APPLETB_KBD = module;
|
HID_APPLETB_KBD = module;
|
||||||
HID_APPLE = module;
|
|
||||||
HID_MAGICMOUSE = module;
|
HID_MAGICMOUSE = module;
|
||||||
DRM_APPLETBDRM = module;
|
|
||||||
HID_SENSOR_ALS = module;
|
HID_SENSOR_ALS = module;
|
||||||
|
SENSORS_APPLESMC = module;
|
||||||
SND_PCM = module;
|
SND_PCM = module;
|
||||||
STAGING = yes;
|
STAGING = yes;
|
||||||
|
|
||||||
|
# required for t2bce_ave
|
||||||
|
I2C = yes;
|
||||||
|
MEDIA_SUPPORT = yes;
|
||||||
|
MEDIA_CAMERA_SUPPORT = yes;
|
||||||
|
MEDIA_ANALOG_TV_SUPPORT = yes;
|
||||||
|
MEDIA_DIGITAL_TV_SUPPORT = yes;
|
||||||
|
MEDIA_RADIO_SUPPORT = yes;
|
||||||
|
MEDIA_SDR_SUPPORT = yes;
|
||||||
|
MEDIA_PLATFORM_SUPPORT = yes;
|
||||||
|
MEDIA_TEST_SUPPORT = yes;
|
||||||
};
|
};
|
||||||
|
|
||||||
kernelPatches = t2-patches ++ (args.kernelPatches or [ ]);
|
kernelPatches = [
|
||||||
|
# include default patches for good measure
|
||||||
|
linuxKernel.kernelPatches.request_key_helper
|
||||||
|
linuxKernel.kernelPatches.bridge_stp_helper
|
||||||
|
]
|
||||||
|
++ t2-patches
|
||||||
|
++ (args.kernelPatches or [ ]);
|
||||||
|
|
||||||
argsOverride.extraMeta = {
|
extraMeta = {
|
||||||
description = "The Linux kernel (with patches from the T2 Linux project)";
|
description = "The Linux kernel (with patches from the T2 Linux project)";
|
||||||
|
|
||||||
# take responsibility for the downstream kernel
|
# take responsibility for the downstream kernel
|
||||||
|
|||||||
@@ -1,53 +1,30 @@
|
|||||||
{
|
{
|
||||||
"base_url": "https://raw.githubusercontent.com/t2linux/linux-t2-patches/6b41c3fd65913e0fa3592ad16ff4a3a5b01efc7a/",
|
"base_url": "https://raw.githubusercontent.com/t2linux/linux-t2-patches/65fdd4d492d7e219a05742ce4768f16e5ba4f976/",
|
||||||
|
"kernel": {
|
||||||
|
"version": "7.2.9",
|
||||||
|
"url": "mirror://kernel/linux/kernel/v7.x/linux-7.2.9.tar.xz",
|
||||||
|
"hash": "sha256:1fnqp28vrikz9gqhb42k0dsggqf8i07j0s9qy33scr53a6zdzidl"
|
||||||
|
},
|
||||||
"patches": [
|
"patches": [
|
||||||
{
|
{
|
||||||
"name": "1001-Add-apple-bce-driver.patch",
|
"name": "1001-Add-t2bce-driver-stack.patch",
|
||||||
"hash": "sha256-00K3LmId2Ag6s5K76p7mB2a0oEXp815yRd+U5wxWPMc="
|
"hash": "sha256-QeAffMClzGsGdHC5Qce744X2WUcx6PI0CJ5BQ8txxQ8="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "1002-Put-apple-bce-in-drivers-staging.patch",
|
"name": "1002-Integrate-t2bce-driver-stack.patch",
|
||||||
"hash": "sha256-wkveNo1qwAwXWDGTFed4ZDbuBnJbwKgWLmTHK9qq0oM="
|
"hash": "sha256-nPAPGV9IROyxSQzSztwNS1fY0ziGQJ7evKBs1ZSHwiE="
|
||||||
},
|
|
||||||
{
|
|
||||||
"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",
|
"name": "2008-i915-4-lane-quirk-for-mbp15-1.patch",
|
||||||
"hash": "sha256-PjMVt4u505PXnKFpojov0Uwhj0KxZas1E4NYJGI6lQ4="
|
"hash": "sha256-gTYP7WHV/Qulobdi1nNdYsv1CWgkM8pGvsCFQ+rvhrw="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "2009-apple-gmux-allow-switching-to-igpu-at-probe.patch",
|
"name": "2009-apple-gmux-allow-switching-to-igpu-at-probe.patch",
|
||||||
"hash": "sha256-aE+MEu/jRrZBa+3Q03quOHUsIseRED6A7N/K9kEVtbM="
|
"hash": "sha256-OczfcYSvkw2lBZQzZjCV4LHSe6CnaJ1J8GBkgEbiOXk="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "3001-applesmc-convert-static-structures-to-drvdata.patch",
|
"name": "3001-applesmc-convert-static-structures-to-drvdata.patch",
|
||||||
"hash": "sha256-7KGC0pCos351wKNhwJI/Qoc7w+orOPpiTkdCN50G8nI="
|
"hash": "sha256-FVtOCXInI5OUqpTVDVsZ1taMwj3z+d3PeRgjnQQljG4="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "3002-applesmc-make-io-port-base-addr-dynamic.patch",
|
"name": "3002-applesmc-make-io-port-base-addr-dynamic.patch",
|
||||||
@@ -63,7 +40,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "3005-applesmc-basic-mmio-interface-implementation.patch",
|
"name": "3005-applesmc-basic-mmio-interface-implementation.patch",
|
||||||
"hash": "sha256-Hh9DymQ+Y74oSs1zv9F0lTU3jfAenKTM+cmFH9tmN9Q="
|
"hash": "sha256-tnpfmZQw9KQNylpLfGZ+X0IVP79AgeDoTVYF6yUhCRI="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "3006-applesmc-fan-support-on-T2-Macs.patch",
|
"name": "3006-applesmc-fan-support-on-T2-Macs.patch",
|
||||||
@@ -83,39 +60,55 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "4001-asahi-trackpad.patch",
|
"name": "4001-asahi-trackpad.patch",
|
||||||
"hash": "sha256-nOpQ3t+QQXco6p7C03fM5EZ3ZfnzwC6UCFwHQd1EnGE="
|
"hash": "sha256-RuYI0t+rMu29wSkVT4suYJgGzS1ZruN/HBZWkLivlDw="
|
||||||
},
|
|
||||||
{
|
|
||||||
"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",
|
"name": "4003-HID-apple-ignore-the-trackpad-on-T2-Macs.patch",
|
||||||
"hash": "sha256-JTeYtaBqMyTu5IdGb8x7wbP9ZE1rXT4lpEjudR1ySFI="
|
"hash": "sha256-LLZzcysLTuQrSXWXbdq7AASxfMInQoqpWzRNZAKws9k="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "4004-HID-magicmouse-Add-support-for-trackpads-found-on-T2.patch",
|
"name": "4004-HID-magicmouse-Add-support-for-trackpads-found-on-T2.patch",
|
||||||
"hash": "sha256-dNrpDlIE9SaQUOntVQHMOyj7T/dsuRemN56yskKWue0="
|
"hash": "sha256-kUnbtl/54cihscirl9kP0Gsot7bdP0rYKlj6gQ10hk0="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "4005-HID-apple-Add-necessary-IDs-and-support-for-replacem.patch",
|
"name": "5001-HID-appletb-kbd-add-option-to-switch-default-layer-o.patch",
|
||||||
"hash": "sha256-SRKESCbpxSYm7U0VyCmvkmT/er6/GEHhwo8tgJDO6mQ="
|
"hash": "sha256-KV5DTjALzNugs92Jum6VUt0wgblK/6PG1KorovHcIX0="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "4006-HID-magicmouse-Add-MacBookPro15-1-replacement-trackp.patch",
|
"name": "5002-drm-appletbdrm-Add-suspend-and-resume-support.patch",
|
||||||
"hash": "sha256-mMqHhxig+Z9eVPaa1qfcNVCRX16B6/KuEd1KnSZMLLk="
|
"hash": "sha256-NFa5ZpNguUC9ELfphvCrVHEh59tN/ZA9vQl6YD1avbI="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "6001-drm-amd-pm-Fix-boot-problems-in-5300.patch",
|
||||||
|
"hash": "sha256-l6pyVkpumURgoQ/f1kGfw47YhMuuMjpiHgjP6QN8dNE="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "7001-drm-i915-fbdev-Discard-BIOS-framebuffers-exceeding-h.patch",
|
"name": "7001-drm-i915-fbdev-Discard-BIOS-framebuffers-exceeding-h.patch",
|
||||||
"hash": "sha256-/EKN7JsAxcpAgfJFtPp2NLYaGqQ0kl8wjJEXifSzJpY="
|
"hash": "sha256-/EKN7JsAxcpAgfJFtPp2NLYaGqQ0kl8wjJEXifSzJpY="
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "7002-drm-amdgpu-reset-VI-ASIC-on-MacBookPro15-1.patch",
|
||||||
|
"hash": "sha256-lLruG4lJAI6fI94w2LzHmrbspXArrq+rbI/SJmhwXqo="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "7003-amdgpu-add-support-for-5K.patch",
|
||||||
|
"hash": "sha256-RX3tiju4gNFlrrYWOMdUr0HAdSN5RliliiPAQw5I6/M="
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "8001-Add-APFS-driver.patch",
|
"name": "8001-Add-APFS-driver.patch",
|
||||||
"hash": "sha256-uR5hg75SFFWzfrKyU5UnzPL4U7LkjqGs44rkxM7ur8o="
|
"hash": "sha256-DU/jX8wuM6Y/5iZztg05GjWlzVlo8DfVpCJ3BxFoTJo="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "8002-Necessary-modifications-to-build-APFS-with-the-kerne.patch",
|
"name": "8002-Necessary-modifications-to-build-APFS-with-the-kerne.patch",
|
||||||
"hash": "sha256-n1SH5vC//LRJdWOavH9/BHqBTjkUj5f+dFGitSeHksw="
|
"hash": "sha256-zCTetF2NPhMH2BknPumhPz2sf26X9Lcra7xCA3R2WMY="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "9001-ACPI-x86-Apple-T2-systems-need-early-CPU-offlining.patch",
|
||||||
|
"hash": "sha256-camFPvnBQMErjVrbsdPPfsbyy59w0e0iPkVR1Juzv8o="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "9002-Bluetooth-hci_event-strip-Broadcom-vendor-bits-from-adv-type.patch",
|
||||||
|
"hash": "sha256-oikMBjD4gyqTs351q7nTz6lI6rJqOe1/LfxpHAieEOs="
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,3 @@
|
|||||||
{ callPackage, linux_6_16, ... }@args:
|
{ callPackage, ... }@args:
|
||||||
|
|
||||||
callPackage ./generic.nix args {
|
callPackage ./generic.nix args ./latest.json
|
||||||
kernel = linux_6_16;
|
|
||||||
patchesFile = ./latest.json;
|
|
||||||
}
|
|
||||||
@@ -1,69 +1,34 @@
|
|||||||
{
|
{
|
||||||
"base_url": "https://raw.githubusercontent.com/t2linux/linux-t2-patches/5eaf1261d069bbc67aba7fe2737a5fe981e05a9e/",
|
"base_url": "https://raw.githubusercontent.com/t2linux/linux-t2-patches/2eed0f6c812e8f36cb7a7f7bcde69f6f87074bdf/",
|
||||||
|
"kernel": {
|
||||||
|
"version": "6.18.55",
|
||||||
|
"url": "mirror://kernel/linux/kernel/v6.x/linux-6.18.55.tar.xz",
|
||||||
|
"hash": "sha256:1yadaa2gz74nh3pawpwv6lamalnd7wpiv1xb88pw2rd1c606647l"
|
||||||
|
},
|
||||||
"patches": [
|
"patches": [
|
||||||
{
|
{
|
||||||
"name": "1001-Add-apple-bce-driver.patch",
|
"name": "1001-Add-t2bce-driver-stack.patch",
|
||||||
"hash": "sha256-e3RPvWPj2QASGOS4kieO8YFekrXsBCJtfF82OPlOn2E="
|
"hash": "sha256-OG4Y7cN75pHWF7huV+2Fqtq0ik2aITMWtF43mD+RFCU="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "1002-Put-apple-bce-in-drivers-staging.patch",
|
"name": "1002-Integrate-t2bce-driver-stack.patch",
|
||||||
"hash": "sha256-DXj4CmE7TKMGrAhQDOR5RVw9YHmyQMiXZsmxYfkKAEA="
|
"hash": "sha256-z3g3IOAL+Nze88oKDSYpLHVtFnhz2kP1Udap5J64WmM="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "1003-Fix-sparse-errors.patch",
|
"name": "1003-Fix-for-6.18.patch",
|
||||||
"hash": "sha256-nuCOPWa4Hp+HCCBe6Y++M4g1k4plOWzy2hqHXlJbp9g="
|
"hash": "sha256-ozJkJFm11oGDW1Gwrp4AR4Ifv9X8Yix6uF9ZBFJ76+M="
|
||||||
},
|
|
||||||
{
|
|
||||||
"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",
|
"name": "2008-i915-4-lane-quirk-for-mbp15-1.patch",
|
||||||
"hash": "sha256-lZ7MWXZubmAlJCqBmuzueg7agENJbikxP1SE46SmwNw="
|
"hash": "sha256-gTYP7WHV/Qulobdi1nNdYsv1CWgkM8pGvsCFQ+rvhrw="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "2009-apple-gmux-allow-switching-to-igpu-at-probe.patch",
|
"name": "2009-apple-gmux-allow-switching-to-igpu-at-probe.patch",
|
||||||
"hash": "sha256-XKwlyJZjJLQz39mc0/S7sPnRnwrqMsq9OKy+QCO+oho="
|
"hash": "sha256-6i+fh/Ifle0di5/tMOdMm0NMkEmeUb17hYM/g2j2dfI="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "3001-applesmc-convert-static-structures-to-drvdata.patch",
|
"name": "3001-applesmc-convert-static-structures-to-drvdata.patch",
|
||||||
"hash": "sha256-7KGC0pCos351wKNhwJI/Qoc7w+orOPpiTkdCN50G8nI="
|
"hash": "sha256-c/d+c5eKzhbtfUKtLC7AB+6vMXge4ZzPJAUbNENWH7g="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "3002-applesmc-make-io-port-base-addr-dynamic.patch",
|
"name": "3002-applesmc-make-io-port-base-addr-dynamic.patch",
|
||||||
@@ -79,7 +44,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "3005-applesmc-basic-mmio-interface-implementation.patch",
|
"name": "3005-applesmc-basic-mmio-interface-implementation.patch",
|
||||||
"hash": "sha256-Hh9DymQ+Y74oSs1zv9F0lTU3jfAenKTM+cmFH9tmN9Q="
|
"hash": "sha256-tnpfmZQw9KQNylpLfGZ+X0IVP79AgeDoTVYF6yUhCRI="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "3006-applesmc-fan-support-on-T2-Macs.patch",
|
"name": "3006-applesmc-fan-support-on-T2-Macs.patch",
|
||||||
@@ -99,39 +64,39 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "4001-asahi-trackpad.patch",
|
"name": "4001-asahi-trackpad.patch",
|
||||||
"hash": "sha256-kfAYVovukZLD5ocHQxhoHJSa9c5XAJ1GhH1RlzGkS+k="
|
"hash": "sha256-2h3TdPsX9HBXx5jkZ2S2GJkjFcdL8vKD1G69iqd9IWg="
|
||||||
},
|
|
||||||
{
|
|
||||||
"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",
|
"name": "4003-HID-apple-ignore-the-trackpad-on-T2-Macs.patch",
|
||||||
"hash": "sha256-JTeYtaBqMyTu5IdGb8x7wbP9ZE1rXT4lpEjudR1ySFI="
|
"hash": "sha256-LLZzcysLTuQrSXWXbdq7AASxfMInQoqpWzRNZAKws9k="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "4004-HID-magicmouse-Add-support-for-trackpads-found-on-T2.patch",
|
"name": "4004-HID-magicmouse-Add-support-for-trackpads-found-on-T2.patch",
|
||||||
"hash": "sha256-HcPX7gY3hnlwM/tY06pbtXnch04AqwHgC596E8ZqGY8="
|
"hash": "sha256-kUnbtl/54cihscirl9kP0Gsot7bdP0rYKlj6gQ10hk0="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "4005-HID-apple-Add-necessary-IDs-and-support-for-replacem.patch",
|
"name": "5001-HID-appletb-kbd-add-option-to-switch-default-layer-o.patch",
|
||||||
"hash": "sha256-SRKESCbpxSYm7U0VyCmvkmT/er6/GEHhwo8tgJDO6mQ="
|
"hash": "sha256-KV5DTjALzNugs92Jum6VUt0wgblK/6PG1KorovHcIX0="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "4006-HID-magicmouse-Add-MacBookPro15-1-replacement-trackp.patch",
|
"name": "5002-drm-appletbdrm-Add-suspend-and-resume-support.patch",
|
||||||
"hash": "sha256-uAlT/4ADwYyKvbuPQaGwqCjZ2/myruC63etVV6cfFLk="
|
"hash": "sha256-NFa5ZpNguUC9ELfphvCrVHEh59tN/ZA9vQl6YD1avbI="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "7001-drm-i915-fbdev-Discard-BIOS-framebuffers-exceeding-h.patch",
|
"name": "7001-drm-i915-fbdev-Discard-BIOS-framebuffers-exceeding-h.patch",
|
||||||
"hash": "sha256-O6RHFxmKZn7aCq1D+r5z2T3jLt0r5+01EABD9rs0E5M="
|
"hash": "sha256-/EKN7JsAxcpAgfJFtPp2NLYaGqQ0kl8wjJEXifSzJpY="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "7002-drm-amdgpu-reset-VI-ASIC-on-MacBookPro15-1.patch",
|
||||||
|
"hash": "sha256-lLruG4lJAI6fI94w2LzHmrbspXArrq+rbI/SJmhwXqo="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "8001-Add-APFS-driver.patch",
|
"name": "8001-Add-APFS-driver.patch",
|
||||||
"hash": "sha256-QpIPsMjWNPOkw6rSKn7rW0Fmx9HUwJaiGy3pZeT5Fd0="
|
"hash": "sha256-fL9TftzTd5PurxIDrzaPsysGExrMySGOsm6H8NFd7JY="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "8002-Necessary-modifications-to-build-APFS-with-the-kerne.patch",
|
"name": "8002-Necessary-modifications-to-build-APFS-with-the-kerne.patch",
|
||||||
"hash": "sha256-n1SH5vC//LRJdWOavH9/BHqBTjkUj5f+dFGitSeHksw="
|
"hash": "sha256-zCTetF2NPhMH2BknPumhPz2sf26X9Lcra7xCA3R2WMY="
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -15,21 +15,26 @@ API_BASE = "https://api.github.com"
|
|||||||
PATCH_PATTERN = re.compile(r"^\d{4}-.*\.patch$")
|
PATCH_PATTERN = re.compile(r"^\d{4}-.*\.patch$")
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
description="Update linux-t2 patches from a GitHub repository."
|
description="Update linux-t2 patches from a GitHub repository.",
|
||||||
|
epilog='''
|
||||||
|
If both --branch and --reference flags are given, the argument of --reference will be used to fetch the Git
|
||||||
|
revision for patches and --branch as the kernel branch.
|
||||||
|
|
||||||
|
If only --branch is given, the argument will be used for both resolving the Git ref and the kernel branch.
|
||||||
|
''',
|
||||||
)
|
)
|
||||||
parser.add_argument("filename", help="the output filename")
|
parser.add_argument("filename", help="the output filename")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--repository",
|
"--repository",
|
||||||
help="the source github repository",
|
help="the source github repository (default: %(default)s)",
|
||||||
default="t2linux/linux-t2-patches",
|
default="t2linux/linux-t2-patches",
|
||||||
nargs="?",
|
nargs="?",
|
||||||
)
|
)
|
||||||
ref_group = parser.add_mutually_exclusive_group()
|
parser.add_argument(
|
||||||
ref_group.add_argument(
|
|
||||||
"--reference", help="the git reference for the patches", default=None, nargs="?"
|
"--reference", help="the git reference for the patches", default=None, nargs="?"
|
||||||
)
|
)
|
||||||
ref_group.add_argument(
|
parser.add_argument(
|
||||||
"--branch", help="the git branch to fetch", default=None, nargs="?"
|
"--branch", help="the kernel branch to fetch (default: latest, example: 6.18)", default=None, nargs="?"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -62,6 +67,27 @@ def main():
|
|||||||
reference = args.reference
|
reference = args.reference
|
||||||
branch = args.branch
|
branch = args.branch
|
||||||
|
|
||||||
|
print("Fetching kernel releases")
|
||||||
|
releases = requests.get("https://kernel.org/releases.json").json()['releases']
|
||||||
|
match = None
|
||||||
|
patched_url = ""
|
||||||
|
if not branch:
|
||||||
|
print("Branch not provided, fetching latest non-mainline kernel version")
|
||||||
|
# if the json schema changes this script would break, hopefully won't happen
|
||||||
|
match = next(filter(lambda x: x["moniker"] != "mainline", releases), None)
|
||||||
|
else:
|
||||||
|
match = next(filter(lambda x: x["version"].startswith(branch), releases), None)
|
||||||
|
if not match:
|
||||||
|
print(f"ERROR: could not find a kernel release for branch {branch}.")
|
||||||
|
return 1
|
||||||
|
patched_url = match['source'].replace('https://cdn.kernel.org/pub', 'mirror://kernel')
|
||||||
|
|
||||||
|
release_hash = subprocess.check_output(["nix-prefetch-url", "--type", "sha256", patched_url]).decode().strip()
|
||||||
|
print(f" Kernel: {match['version']}")
|
||||||
|
print(f" URL: {patched_url}")
|
||||||
|
print(f" Hash: sha256:{release_hash}")
|
||||||
|
kernel = {"version": match["version"], "url": patched_url, "hash": f"sha256:{release_hash}"}
|
||||||
|
|
||||||
if reference is None:
|
if reference is None:
|
||||||
if branch is None:
|
if branch is None:
|
||||||
print("Branch and reference not provided, fetching default branch")
|
print("Branch and reference not provided, fetching default branch")
|
||||||
@@ -85,7 +111,7 @@ def main():
|
|||||||
for future in as_completed(futures):
|
for future in as_completed(futures):
|
||||||
patches_with_hash.append(future.result())
|
patches_with_hash.append(future.result())
|
||||||
|
|
||||||
result = {"base_url": base_url, "patches": sorted(patches_with_hash, key=lambda p: p["name"])}
|
result = {"base_url": base_url, "kernel": kernel, "patches": sorted(patches_with_hash, key=lambda p: p["name"])}
|
||||||
|
|
||||||
with open(args.filename, "w+") as f:
|
with open(args.filename, "w+") as f:
|
||||||
json.dump(result, f, indent=2)
|
json.dump(result, f, indent=2)
|
||||||
|
|||||||
@@ -0,0 +1,44 @@
|
|||||||
|
# ASRock Rack ALTRAD8UD-1L2T
|
||||||
|
|
||||||
|
This is a popular motherboard for the [Ampere Altra](https://amperecomputing.com/briefs/ampere-altra-family-product-brief) family of CPUs.
|
||||||
|
|
||||||
|
It is used in for example the [System76 Thelio Astra](https://system76.com/desktops/thelio-astra-a1.1-n1/configure)
|
||||||
|
|
||||||
|
```shellsession
|
||||||
|
$ pciutils -nn
|
||||||
|
0000:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
|
||||||
|
0000:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
|
||||||
|
0001:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
|
||||||
|
0001:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
|
||||||
|
0002:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
|
||||||
|
0002:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
|
||||||
|
0002:00:02.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a1 [1def:e102] (rev 04)
|
||||||
|
0002:00:03.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a2 [1def:e103] (rev 04)
|
||||||
|
0002:00:04.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a3 [1def:e104] (rev 04)
|
||||||
|
0002:01:00.0 Non-Volatile memory controller [0108]: Sandisk Corp WD Black SN850X NVMe SSD [15b7:5030] (rev 01)
|
||||||
|
0003:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
|
||||||
|
0003:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
|
||||||
|
0003:00:02.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a1 [1def:e102] (rev 04)
|
||||||
|
0003:00:03.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a2 [1def:e103] (rev 04)
|
||||||
|
0003:00:04.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a3 [1def:e104] (rev 04)
|
||||||
|
0003:01:00.0 PCI bridge [0604]: ASRock Incorporation Device [1849:1150] (rev 04)
|
||||||
|
0003:02:00.0 VGA compatible controller [0300]: ASPEED Technology, Inc. ASPEED Graphics Family [1a03:2000] (rev 41)
|
||||||
|
0003:03:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller X550 [8086:1563] (rev 01)
|
||||||
|
0003:03:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Controller X550 [8086:1563] (rev 01)
|
||||||
|
0003:04:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM3042 USB 3.2 Gen 1 xHCI Controller [1b21:3042]
|
||||||
|
0003:05:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
|
||||||
|
0004:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
|
||||||
|
0004:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
|
||||||
|
0005:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
|
||||||
|
0005:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
|
||||||
|
000c:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
|
||||||
|
000c:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
|
||||||
|
000c:00:02.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a1 [1def:e102] (rev 04)
|
||||||
|
000c:00:03.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a2 [1def:e103] (rev 04)
|
||||||
|
000c:00:04.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a3 [1def:e104] (rev 04)
|
||||||
|
000d:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
|
||||||
|
000d:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
|
||||||
|
000d:00:02.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a1 [1def:e102] (rev 04)
|
||||||
|
000d:00:03.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a2 [1def:e103] (rev 04)
|
||||||
|
000d:00:04.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a3 [1def:e104] (rev 04)
|
||||||
|
```
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
imports = [ ../../common/networking/intel/x550 ];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [
|
||||||
|
"xhci_pci"
|
||||||
|
"usb_storage"
|
||||||
|
"nvme"
|
||||||
|
];
|
||||||
|
nixpkgs.hostPlatform = "aarch64-linux";
|
||||||
|
}
|
||||||
@@ -31,10 +31,14 @@ in
|
|||||||
wantedBy = [
|
wantedBy = [
|
||||||
"local-fs.target"
|
"local-fs.target"
|
||||||
"suspend.target"
|
"suspend.target"
|
||||||
|
"suspend-then-hibernate.target"
|
||||||
|
"hibernate.target"
|
||||||
];
|
];
|
||||||
after = [
|
after = [
|
||||||
"local-fs.target"
|
"local-fs.target"
|
||||||
"suspend.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;
|
||||||
|
|||||||
@@ -26,7 +26,6 @@
|
|||||||
services = {
|
services = {
|
||||||
asusd = {
|
asusd = {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
enableUserService = lib.mkDefault true;
|
|
||||||
};
|
};
|
||||||
supergfxd.enable = lib.mkDefault true;
|
supergfxd.enable = lib.mkDefault true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -0,0 +1,74 @@
|
|||||||
|
# ASUS TUF A15 FA506NC
|
||||||
|
|
||||||
|
- GPU switching to the nvidia card works fine through supergfxd.
|
||||||
|
- Power profiles autoswitch through asusctl in tandem with power-profiles-daemon.
|
||||||
|
- The batter charge limit configuration through ../battery.nix did not work,
|
||||||
|
setting a limit through asusd works.
|
||||||
|
|
||||||
|
## Configuring AsusCTL
|
||||||
|
|
||||||
|
To declaratively configure asusd you can control the whole config file through
|
||||||
|
the asusd service (same for fan curves and keyboard leds):
|
||||||
|
|
||||||
|
```nix
|
||||||
|
services.asusd.asusdConfig.text = ''
|
||||||
|
(
|
||||||
|
charge_control_end_threshold: 80,
|
||||||
|
base_charge_control_end_threshold: 80,
|
||||||
|
disable_nvidia_powerd_on_battery: true,
|
||||||
|
ac_command: "",
|
||||||
|
bat_command: "",
|
||||||
|
platform_profile_linked_epp: true,
|
||||||
|
platform_profile_on_battery: Quiet,
|
||||||
|
change_platform_profile_on_battery: true,
|
||||||
|
platform_profile_on_ac: Performance,
|
||||||
|
change_platform_profile_on_ac: true,
|
||||||
|
profile_quiet_epp: Power,
|
||||||
|
profile_balanced_epp: BalancePower,
|
||||||
|
profile_custom_epp: Performance,
|
||||||
|
profile_performance_epp: Performance,
|
||||||
|
ac_profile_tunings: {
|
||||||
|
Performance: (
|
||||||
|
enabled: false,
|
||||||
|
group: {},
|
||||||
|
),
|
||||||
|
Quiet: (
|
||||||
|
enabled: false,
|
||||||
|
group: {},
|
||||||
|
),
|
||||||
|
Balanced: (
|
||||||
|
enabled: false,
|
||||||
|
group: {},
|
||||||
|
),
|
||||||
|
},
|
||||||
|
dc_profile_tunings: {
|
||||||
|
Quiet: (
|
||||||
|
enabled: false,
|
||||||
|
group: {},
|
||||||
|
),
|
||||||
|
Balanced: (
|
||||||
|
enabled: false,
|
||||||
|
group: {},
|
||||||
|
),
|
||||||
|
Performance: (
|
||||||
|
enabled: false,
|
||||||
|
group: {},
|
||||||
|
),
|
||||||
|
},
|
||||||
|
armoury_settings: {},
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
```
|
||||||
|
|
||||||
|
Here you can set the battery charge limit and other settings like which profile to
|
||||||
|
use on batter and which on power.
|
||||||
|
|
||||||
|
## More optimizations
|
||||||
|
|
||||||
|
You may also want to enable thermald and powertop for the optimizations mentioned in
|
||||||
|
https://wiki.nixos.org/wiki/Laptop.
|
||||||
|
|
||||||
|
```nix
|
||||||
|
services.thermald.enable = true;
|
||||||
|
powerManagement.powertop.enable = true;
|
||||||
|
```
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
{ lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../../common/cpu/amd
|
||||||
|
../../common/cpu/amd/pstate.nix
|
||||||
|
../../common/gpu/amd
|
||||||
|
../../common/gpu/nvidia/prime.nix
|
||||||
|
../../common/gpu/nvidia/ampere
|
||||||
|
../../common/pc/laptop
|
||||||
|
../../common/pc/ssd
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware.nvidia = {
|
||||||
|
dynamicBoost.enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
prime = {
|
||||||
|
amdgpuBusId = "PCI:5:0:0";
|
||||||
|
nvidiaBusId = "PCI:1:0:0";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# AMD has better battery life with PPD over TLP:
|
||||||
|
# https://community.frame.work/t/responded-amd-7040-sleep-states/38101/13
|
||||||
|
services.power-profiles-daemon.enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
services = {
|
||||||
|
# https://asus-linux.org/manual/asusctl-manual/
|
||||||
|
asusd.enable = lib.mkDefault true;
|
||||||
|
supergfxd.enable = lib.mkDefault true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -34,7 +34,6 @@
|
|||||||
services = {
|
services = {
|
||||||
asusd = {
|
asusd = {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
enableUserService = lib.mkDefault true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,27 @@
|
|||||||
|
{ lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../../common/cpu/amd
|
||||||
|
../../common/cpu/amd/pstate.nix
|
||||||
|
../../common/gpu/amd
|
||||||
|
../../common/gpu/nvidia/prime.nix
|
||||||
|
../../common/gpu/nvidia/ampere
|
||||||
|
../../common/pc/laptop
|
||||||
|
../../common/pc/ssd
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware.nvidia = {
|
||||||
|
dynamicBoost.enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
prime = {
|
||||||
|
amdgpuBusId = "PCI:6:0:0";
|
||||||
|
nvidiaBusId = "PCI:1:0:0";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
asusd.enable = lib.mkDefault true;
|
||||||
|
supergfxd.enable = lib.mkDefault true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -11,7 +11,6 @@ let
|
|||||||
mkEnableOption
|
mkEnableOption
|
||||||
mkIf
|
mkIf
|
||||||
mkMerge
|
mkMerge
|
||||||
version
|
|
||||||
versionAtLeast
|
versionAtLeast
|
||||||
;
|
;
|
||||||
|
|
||||||
@@ -61,7 +60,6 @@ in
|
|||||||
services = {
|
services = {
|
||||||
asusd = {
|
asusd = {
|
||||||
enable = mkDefault true;
|
enable = mkDefault true;
|
||||||
enableUserService = mkDefault true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
supergfxd.enable = mkDefault true;
|
supergfxd.enable = mkDefault true;
|
||||||
|
|||||||
@@ -0,0 +1,80 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
inherit (lib)
|
||||||
|
mkDefault
|
||||||
|
mkMerge
|
||||||
|
;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
../../../common/cpu/intel/raptor-lake
|
||||||
|
../../../common/gpu/intel/raptor-lake
|
||||||
|
../../../common/gpu/nvidia/ada-lovelace
|
||||||
|
../../../common/gpu/nvidia/prime.nix
|
||||||
|
../../../common/pc/laptop
|
||||||
|
../../../common/pc/ssd
|
||||||
|
];
|
||||||
|
|
||||||
|
config = mkMerge [
|
||||||
|
{
|
||||||
|
# Configure basic system settings:
|
||||||
|
boot = {
|
||||||
|
blacklistedKernelModules = [ "nouveau" ];
|
||||||
|
kernelModules = [ "kvm-intel" ];
|
||||||
|
kernelParams = [
|
||||||
|
"mem_sleep_default=deep"
|
||||||
|
"pcie_aspm.policy=powersupersave"
|
||||||
|
"nvidia-drm.modeset=1"
|
||||||
|
"nvidia-drm.fbdev=1"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
asusd = {
|
||||||
|
enable = mkDefault true;
|
||||||
|
};
|
||||||
|
|
||||||
|
supergfxd.enable = mkDefault true;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#flow devices are 2 in 1 laptops
|
||||||
|
hardware.sensor.iio.enable = mkDefault true;
|
||||||
|
|
||||||
|
hardware = {
|
||||||
|
|
||||||
|
nvidia = {
|
||||||
|
|
||||||
|
modesetting.enable = true;
|
||||||
|
nvidiaSettings = mkDefault true;
|
||||||
|
forceFullCompositionPipeline = mkDefault true;
|
||||||
|
|
||||||
|
prime = {
|
||||||
|
offload = {
|
||||||
|
enable = mkDefault true;
|
||||||
|
enableOffloadCmd = mkDefault true;
|
||||||
|
};
|
||||||
|
intelBusId = "PCI:0:2:0";
|
||||||
|
nvidiaBusId = "PCI:1:0:0";
|
||||||
|
};
|
||||||
|
|
||||||
|
powerManagement = {
|
||||||
|
enable = mkDefault true;
|
||||||
|
finegrained = mkDefault false;
|
||||||
|
};
|
||||||
|
|
||||||
|
dynamicBoost.enable = mkDefault true;
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{ lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../../../common/cpu/amd
|
||||||
|
../../../common/cpu/amd/pstate.nix
|
||||||
|
../../../common/gpu/amd
|
||||||
|
../../../common/pc/laptop
|
||||||
|
../../../common/pc/ssd
|
||||||
|
../../../common/hidpi.nix
|
||||||
|
../../battery.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||||||
|
security.tpm2.enable = lib.mkDefault true;
|
||||||
|
hardware.sensor.iio.enable = lib.mkDefault true;
|
||||||
|
}
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../default.nix
|
||||||
|
# no effect at Linux 7.2 as patches are merged
|
||||||
|
./tas2783-kernel-patches.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
assertions = [
|
||||||
|
{
|
||||||
|
assertion = lib.versionAtLeast config.boot.kernelPackages.kernel.version "7.0";
|
||||||
|
message = "ASUS ProArt PX13 (HN7306EAC) hardware requires Linux ≥ 7.0 (current ${config.boot.kernelPackages.kernel.version})";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware = {
|
||||||
|
alsa.enablePersistence = lib.mkDefault true;
|
||||||
|
firmware = lib.optional (lib.versionOlder pkgs.linux-firmware.version "20260519") (
|
||||||
|
pkgs.callPackage ./tas2783-firmware.nix { }
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.etc = {
|
||||||
|
"alsa/ucm2/codecs/tas2783/init.conf".source = ./ucm2/codecs/tas2783/init.conf;
|
||||||
|
"alsa/ucm2/sof-soundwire/acp-dmic.conf".source = ./ucm2/sof-soundwire/acp-dmic.conf;
|
||||||
|
"alsa/ucm2/sof-soundwire/tas2783.conf".source = ./ucm2/sof-soundwire/tas2783.conf;
|
||||||
|
"alsa/ucm2/sof-soundwire/sof-soundwire.conf".source = ./ucm2/sof-soundwire/sof-soundwire.conf;
|
||||||
|
};
|
||||||
|
|
||||||
|
# WirePlumber config for TAS2783 smart amp speakers.
|
||||||
|
# UCM doesn’t expose a Speakers port for this card, so force pro-audio and
|
||||||
|
# prevent the speaker sink from suspending (prevents desync on idle).
|
||||||
|
# Firmware extraction recipe and original config:
|
||||||
|
# https://gist.github.com/cryptob1/f62aaf8517df2e540f447347f42c7a03
|
||||||
|
services.pipewire.wireplumber.extraConfig."51-strix-halo-audio" = {
|
||||||
|
"monitor.alsa.rules" = [
|
||||||
|
{
|
||||||
|
matches = [
|
||||||
|
{ "device.name" = "alsa_card.pci-0000_c4_00.5-platform-amd_sdw"; }
|
||||||
|
];
|
||||||
|
actions."update-props" = {
|
||||||
|
"device.profile" = "pro-audio";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
matches = [
|
||||||
|
{ "node.name" = "alsa_output.pci-0000_c4_00.5-platform-amd_sdw.pro-output-2"; }
|
||||||
|
];
|
||||||
|
actions."update-props" = {
|
||||||
|
"session.suspend-timeout-seconds" = 0;
|
||||||
|
"node.description" = "Internal Speakers (TAS2783)";
|
||||||
|
"priority.session" = 2300;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
# Unmute the TAS2783 once detected.
|
||||||
|
services.udev.extraRules =
|
||||||
|
let
|
||||||
|
amixer = "${lib.getBin pkgs.alsa-utils}/bin/amixer";
|
||||||
|
in
|
||||||
|
/* udev */ ''
|
||||||
|
ACTION=="add", SUBSYSTEM=="sound", ATTR{id}=="sofsoundwire", RUN+="${amixer} -c $attr{number} set 'tas2783-1 Amp Playback Switch' 1"
|
||||||
|
|
||||||
|
ACTION=="add", SUBSYSTEM=="sound", ATTR{id}=="amdsoundwire", RUN+="${amixer} -c $attr{number} set 'tas2783-1 Amp' on"
|
||||||
|
ACTION=="add", SUBSYSTEM=="sound", ATTR{id}=="amdsoundwire", RUN+="${amixer} -c $attr{number} set 'tas2783-2 Amp' on"
|
||||||
|
ACTION=="add", SUBSYSTEM=="sound", ATTR{id}=="amdsoundwire", RUN+="${amixer} -c $attr{number} set 'tas2783-1 Speaker' on"
|
||||||
|
ACTION=="add", SUBSYSTEM=="sound", ATTR{id}=="amdsoundwire", RUN+="${amixer} -c $attr{number} set 'tas2783-2 Speaker' on"
|
||||||
|
'';
|
||||||
|
}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
diff --git a/sound/soc/codecs/tas2783-sdw.c b/sound/soc/codecs/tas2783-sdw.c
|
||||||
|
--- a/sound/soc/codecs/tas2783-sdw.c
|
||||||
|
+++ b/sound/soc/codecs/tas2783-sdw.c
|
||||||
|
@@ -1120,7 +1120,7 @@ static void tas_generate_fw_name(struct sdw_slave *slave, char *name, size_t siz
|
||||||
|
for (; dev; dev = dev->parent) {
|
||||||
|
if (dev->bus == &pci_bus_type) {
|
||||||
|
pci = to_pci_dev(dev);
|
||||||
|
- scnprintf(name, size, "%04X-%1X-%1X.bin",
|
||||||
|
+ scnprintf(name, size, "%04X-%1X-0x%X.bin",
|
||||||
|
pci->subsystem_device, bus->link_id, unique_id);
|
||||||
|
pci_found = true;
|
||||||
|
break;
|
||||||
|
@@ -1129,7 +1129,7 @@ static void tas_generate_fw_name(struct sdw_slave *slave, char *name, size_t siz
|
||||||
|
#endif
|
||||||
|
|
||||||
|
if (!pci_found)
|
||||||
|
- scnprintf(name, size, "tas2783-%1X-%1X.bin",
|
||||||
|
+ scnprintf(name, size, "tas2783-%1X-0x%X.bin",
|
||||||
|
bus->link_id, unique_id);
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenvNoCC,
|
||||||
|
fetchurl,
|
||||||
|
icoutils,
|
||||||
|
p7zip,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
|
pname = "asus-px13-tas2783-firmware";
|
||||||
|
version = "6.3.1.15";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://dlcdnets.asus.com/pub/ASUS/nb/Image/Driver/Audio/47519/SmartAMP_TI_DCH_TexasInstruments_Z_V${finalAttrs.version}_47519.exe?model=HN7306EAC";
|
||||||
|
hash = "sha256-hyiDV5W+Rn05xyG2JF5uA41E/L8NDklxjvRctE64o84=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
icoutils
|
||||||
|
p7zip
|
||||||
|
];
|
||||||
|
|
||||||
|
unpackPhase = ''
|
||||||
|
wrestool -x --raw -t ZIP -n 103 "$src" > driver.7z 2>/dev/null
|
||||||
|
7z x driver.7z -ozip_out -y >/dev/null 2>&1
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -D -m 644 $(find zip_out -name "1714-1-0x8.bin" | head -1) $out/lib/firmware/1714-1-0x8.bin
|
||||||
|
install -D -m 644 $(find zip_out -name "1714-1-0xB.bin" | head -1) $out/lib/firmware/1714-1-0xB.bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "TAS2783 Smart Amp firmware for ASUS ProArt PX13 HN7306EAC";
|
||||||
|
homepage = "https://www.asus.com/support/download/HN7306EAC/";
|
||||||
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||||
|
license = with lib.licenses; [ unfreeRedistributableFirmware ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
})
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
# See CachyOS’s discussion:
|
||||||
|
# https://github.com/CachyOS/linux-cachyos/issues/737
|
||||||
|
let
|
||||||
|
mkPatch = name: hash: {
|
||||||
|
inherit name;
|
||||||
|
patch = pkgs.fetchpatch {
|
||||||
|
inherit name;
|
||||||
|
url = "https://aur.archlinux.org/cgit/aur.git/plain/${name}.patch?h=linux-cachyos-px13";
|
||||||
|
inherit hash;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
boot.kernelPatches =
|
||||||
|
lib.optionals (lib.versionOlder config.boot.kernelPackages.kernel.version "7.2")
|
||||||
|
[
|
||||||
|
(mkPatch "0001-ALSA-tas2783-sdw-add-Playback-to-volume-control" "sha512-IdIy81PXtmQAQ+MVChYDYkoa5RDhQwP2L5efN8cz+tST3nM0Oc0x4SJ4sBnVL7QDJc/WBB0OEnFfTkEt9Id+cQ==")
|
||||||
|
(mkPatch "0002-Names-to-match-snd_soc_dai_driver-playback-capturest" "sha512-SrCgzceh3rhyYz5tNWHY2jNWyG/qgmU7ZVLtV71iir8HwOrSES7JsunV2E7mb8R66dShY+loV8ovNeMkyuDB7w==")
|
||||||
|
(mkPatch "0003-removed-unused-fields" "sha512-mWKqFg8AG00TE3oPy5usPPxWf6aIvhxMLDGI+/0+vvjBIFwWv6qh9jSUeid6CAKgAcluPSA8Sag4ESguCeinyw==")
|
||||||
|
(mkPatch "0004-SOC_SINGLE_RANGE_TLV-uses-snd_soc_get_volsw-snd_soc_" "sha512-G51v725q17UHvfPg4H8V92eSbZ5lcuiF97Zt1EbAtuwrhXefeaZy+hl79sSpVlzzY8pvzIwf6wodAuvp44M01A==")
|
||||||
|
(mkPatch "0005-dev_set_drvdata-already-called-intas_sdw_probe" "sha512-zk+rKZ/l0oB7JdABtb89x6tUzggP99TSy+3cr+q6QjZFdjGsLPXHxre0YACuKBNx6+JazZE/zEilIvahS4wOLQ==")
|
||||||
|
(mkPatch "0006-refactor-setting-sa_func_data" "sha512-8djgIJV1LCzDhFLFn/PNfDkE+U0mh2h4Rm2LJMeLUYKQlwzgPMbICh5B3HhCgEVTaUd54OGOSFEf0i6AIm2SIQ==")
|
||||||
|
(mkPatch "0007-check-AF01-for-init-data" "sha512-gjpdnJDzve37MnyVE52+E9sRkXF9+HtA4XTrBZQiV8ozFwWgIzhO2ZDKSpWbE/kd23PdaUcKX/fPj3J7ZD5YqA==")
|
||||||
|
(mkPatch "0008-setup-ports" "sha512-uuDa92VXlCsszswv8PHcDbbyfseL6Jt7DWPc5ajG1WSM/FGojRIbbl/2smQyGfE2jPquy5GQfJps7k1cRfpl8w==")
|
||||||
|
(mkPatch "0009-Already-set-by-SOC_SINGLE_RANGE_TLV-Speaker-Playback" "sha512-qBveCsmwezD13oWF5jBlUybdns5OsDDZji0y0smaKWi9GPAvhw/v66WUnEyC77UF1mvq+OyrWpA4yXwxAFza3Q==")
|
||||||
|
(mkPatch "0010-control-to-set-channel" "sha512-pL8Ol1ml2QhyKnzZvD+oTaVUPyqOO49uuiEUzyKdnskFwVH+jIluY3IDsmzWv5wTg/9D+CTGC4J8gW55xKwWfg==")
|
||||||
|
(mkPatch "0011-mute-unmute-using-SND_SOC_DAPM_SWITCH" "sha512-6aB8mBACTIQxU7CTrpR3UXJFdR4KbUOT9/AymyGiuV/9PfWdXZoW/0A09SHFptxRwCv4FG5tZSDZRtKvvYNQdQ==")
|
||||||
|
(mkPatch "0012-use-SND_SOC_DAPM_REG-to-power-on-off" "sha512-mJ93TxZQ1GuDGar0/6tBd/dlJ3B/41AVhRsViuSaEhykPC4NlIAOWaN9eJj4bxjEEyEQ3REfjHXVnJ3wdCRK9w==")
|
||||||
|
(mkPatch "0013-reattach-after-resume" "sha512-OdkYPzRDkd4FCd1OTOAfRrQW6JQ9D3Opic/X+sg+pLNGoEEXfph/sLXVYGo9u6DGPJndQZNrXyS4qhJMGPWVMw==")
|
||||||
|
(mkPatch "0014-defer-check" "sha512-ABSrwsOB+KU39LMxh3N47Ji+edhu5rDQMKMi5rEVXtCU8W56qANpU+ui+bJmOLYyq8c9H1qme+b5nQ6u9zv01w==")
|
||||||
|
(mkPatch "0015-to-help-alsa-find-them" "sha512-gVJ+0ZO9Oz15/rC08moVSlVglbishJctjH5SnDdI8m3s9hkEY56o8v+R/PlRS3rL+mOa9q3VuO5J40+LrcxDKw==")
|
||||||
|
(mkPatch "0016-cleanup-controls" "sha512-Jkp7kdi0FmVMlBL/VVzq7hYkCmKoELO0epnExP7ggQuopCzRbVpUQ3giMlj10O69aUBZJ4z3gaMkb1HTYjIXmA==")
|
||||||
|
# Upstream linux-firmware took a different naming approach to the original patches
|
||||||
|
{
|
||||||
|
name = "0017-fix-tas2783-fw-name-0x";
|
||||||
|
patch = ./fix-tas2783-fw-name-0x.patch;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
# TAS2783 specific switch control settings
|
||||||
|
|
||||||
|
Define.SpeakerMixerElem "tas2783-1 Speaker Playback"
|
||||||
|
|
||||||
|
If.twoAmpsStereoToOne {
|
||||||
|
Condition {
|
||||||
|
Type RegexMatch
|
||||||
|
Regex "2"
|
||||||
|
String "${var:SpeakerAmps}"
|
||||||
|
}
|
||||||
|
True {
|
||||||
|
Define.SpeakerMixerElem "tas2783 Speaker"
|
||||||
|
LibraryConfig.remap.Config {
|
||||||
|
ctl.default.map {
|
||||||
|
"name='tas2783 Speaker Playback Switch'" {
|
||||||
|
"name='tas2783-1 Speaker Playback Switch'".vindex.0 0
|
||||||
|
"name='tas2783-2 Speaker Playback Switch'".vindex.1 0
|
||||||
|
}
|
||||||
|
"name='tas2783 Speaker Playback Volume'" {
|
||||||
|
"name='tas2783-1 Speaker Playback Volume'".vindex.0 0
|
||||||
|
"name='tas2783-2 Speaker Playback Volume'".vindex.1 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
If.oneAmp {
|
||||||
|
Condition {
|
||||||
|
Type ControlExists
|
||||||
|
Control "name='tas2783-1 Speaker Playback Switch'"
|
||||||
|
}
|
||||||
|
True.Macro[{ SetLED { LED="speaker" Action="attach" CtlId="tas2783-1 Speaker Playback Switch" } }]
|
||||||
|
}
|
||||||
|
|
||||||
|
If.twoAmps {
|
||||||
|
Condition {
|
||||||
|
Type ControlExists
|
||||||
|
Control "name='tas2783-2 Speaker Playback Switch'"
|
||||||
|
}
|
||||||
|
True.Macro[{ SetLED { LED="speaker" Action="attach" CtlId="tas2783-2 Speaker Playback Switch" } }]
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
SectionDevice."Mic" {
|
||||||
|
Comment "Digital Microphone"
|
||||||
|
|
||||||
|
Value {
|
||||||
|
CapturePriority 100
|
||||||
|
CapturePCM "hw:${CardId},4"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,206 @@
|
|||||||
|
Syntax 7
|
||||||
|
|
||||||
|
SectionUseCase."HiFi" {
|
||||||
|
File "/sof-soundwire/HiFi.conf"
|
||||||
|
Comment "Play HiFi quality Music"
|
||||||
|
}
|
||||||
|
|
||||||
|
Include.led.File "/common/ctl/led.conf"
|
||||||
|
Include.card-init.File "/lib/card-init.conf"
|
||||||
|
Include.ctl-remap.File "/lib/ctl-remap.conf"
|
||||||
|
|
||||||
|
Define {
|
||||||
|
SpeakerCodec1 ""
|
||||||
|
SpeakerChannels1 "2"
|
||||||
|
SpeakerAmps1 "0"
|
||||||
|
HeadsetCodec1 ""
|
||||||
|
MicCodec1 ""
|
||||||
|
Mics1 "0"
|
||||||
|
Iec61937Pcms1 ""
|
||||||
|
MultiCodec1 ""
|
||||||
|
}
|
||||||
|
|
||||||
|
DefineRegex {
|
||||||
|
SpeakerCodec {
|
||||||
|
Regex " spk:([a-z0-9]+((-sdca)|(-spk)|(-bridge))?(\\+[a-z0-9]+)?)"
|
||||||
|
String "${CardComponents}"
|
||||||
|
}
|
||||||
|
SpeakerChannels {
|
||||||
|
Regex " cfg-spk:([0-9]+)"
|
||||||
|
String "${CardComponents}"
|
||||||
|
}
|
||||||
|
SpeakerAmps {
|
||||||
|
Regex " cfg-amp:([0-9]+)"
|
||||||
|
String "${CardComponents}"
|
||||||
|
}
|
||||||
|
HeadsetCodec {
|
||||||
|
Regex " hs:([a-z0-9]+(-sdca)?)"
|
||||||
|
String "${CardComponents}"
|
||||||
|
}
|
||||||
|
MicCodec {
|
||||||
|
Regex " mic:([a-z0-9]+(-dmic)?+(-sdca)?)"
|
||||||
|
String "${CardComponents}"
|
||||||
|
}
|
||||||
|
Mics {
|
||||||
|
Regex " cfg-mics:([1-9][0-9]*)"
|
||||||
|
String "${CardComponents}"
|
||||||
|
}
|
||||||
|
Iec61937Pcms {
|
||||||
|
Regex "iec61937-pcm:(([0-9]+(,))*[0-9]+)"
|
||||||
|
String "${CardComponents}"
|
||||||
|
}
|
||||||
|
MultiCodec {
|
||||||
|
Regex "(rt712|rt713|rt721|rt722)"
|
||||||
|
String "${var:SpeakerCodec1} ${var:HeadsetCodec1} ${var:MicCodec1}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
If.multi_init {
|
||||||
|
Condition {
|
||||||
|
Type String
|
||||||
|
Empty "${var:MultiCodec1}"
|
||||||
|
}
|
||||||
|
False {
|
||||||
|
Define {
|
||||||
|
MultiSpeakerShadow "${var:SpeakerCodec1}"
|
||||||
|
MultiMicShadow "${var:MicCodec1}"
|
||||||
|
}
|
||||||
|
Include.multi_init.File "/codecs/${var:MultiCodec1}/init.conf"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
If.multi_speaker {
|
||||||
|
Condition {
|
||||||
|
Type RegexMatch
|
||||||
|
# guard with "=" to avoid empty string matching
|
||||||
|
Regex "=(${var:MultiCodec1}(-sdca)?)="
|
||||||
|
String "=${var:SpeakerCodec1}="
|
||||||
|
}
|
||||||
|
True {
|
||||||
|
Define.SpeakerCodec1 ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
If.multi_mic {
|
||||||
|
Condition {
|
||||||
|
Type RegexMatch
|
||||||
|
# guard with "=" to avoid empty string matching
|
||||||
|
Regex "=(${var:MultiCodec1}(-sdca)?)="
|
||||||
|
String "=${var:MicCodec1}="
|
||||||
|
}
|
||||||
|
True {
|
||||||
|
Define.MicCodec1 ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
If.multi_headset {
|
||||||
|
Condition {
|
||||||
|
Type RegexMatch
|
||||||
|
# guard with "=" to avoid empty string matching
|
||||||
|
Regex "=(${var:MultiCodec1}(-sdca)?)="
|
||||||
|
String "=${var:HeadsetCodec1}="
|
||||||
|
}
|
||||||
|
True {
|
||||||
|
Define.HeadsetCodec1 ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
If.spk_init {
|
||||||
|
Condition {
|
||||||
|
Type RegexMatch
|
||||||
|
Regex "(rt1318(-1)?|cs35l56(-bridge)?|tas2783(-1)?)"
|
||||||
|
String "${var:SpeakerCodec1}"
|
||||||
|
}
|
||||||
|
True.Include.spk_init.File "/codecs/${var:SpeakerCodec1}/init.conf"
|
||||||
|
}
|
||||||
|
|
||||||
|
If.hs_init {
|
||||||
|
Condition {
|
||||||
|
Type RegexMatch
|
||||||
|
Regex "(cs42l43|cs42l45|rt5682|rt700|rt711|rt713(-sdca)?)"
|
||||||
|
String "${var:HeadsetCodec1}"
|
||||||
|
}
|
||||||
|
True.Include.hs_init.File "/codecs/${var:HeadsetCodec1}/init.conf"
|
||||||
|
}
|
||||||
|
|
||||||
|
If.mic_init {
|
||||||
|
Condition {
|
||||||
|
Type RegexMatch
|
||||||
|
Regex "(cs42l43-dmic|cs42l45-dmic|rt712-dmic|rt713-dmic|rt715(-sdca)?)"
|
||||||
|
String "${var:MicCodec1}"
|
||||||
|
}
|
||||||
|
True.Include.mic_init.File "/codecs/${var:MicCodec1}/init.conf"
|
||||||
|
}
|
||||||
|
|
||||||
|
If.mic_init_rt715 {
|
||||||
|
Condition {
|
||||||
|
Type String
|
||||||
|
Needle "rt715"
|
||||||
|
Haystack "${var:MicCodec1}"
|
||||||
|
}
|
||||||
|
True.Macro [{ SetLED { LED="mic" Action="detach" CtlId="PGA5.0 5 Master Capture Switch" } }]
|
||||||
|
}
|
||||||
|
|
||||||
|
If.pga_init_pga2 {
|
||||||
|
Condition {
|
||||||
|
Type ControlExists
|
||||||
|
Control "name='PGA2.0 2 Master Capture Switch'"
|
||||||
|
}
|
||||||
|
True.BootSequence [
|
||||||
|
cset "name='PGA2.0 2 Master Capture Switch' 1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
If.pga_init_pga5 {
|
||||||
|
Condition {
|
||||||
|
Type ControlExists
|
||||||
|
Control "name='PGA5.0 5 Master Capture Switch'"
|
||||||
|
}
|
||||||
|
True.BootSequence [
|
||||||
|
cset "name='PGA5.0 5 Master Capture Switch' 1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
If.mics-array {
|
||||||
|
Condition {
|
||||||
|
Type String
|
||||||
|
Empty "${var:Mics1}"
|
||||||
|
}
|
||||||
|
False.FixedBootSequence [
|
||||||
|
# dmic array info
|
||||||
|
exec "-nhlt-dmic-info -o ${var:LibDir}/dmics-nhlt.json"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
Include.hdmi-pcm.File "/common/pcm/hdmi.conf"
|
||||||
|
|
||||||
|
Macro.0.HdmiDevice { Iec61937Devices "${var:Iec61937Pcms1}" Dev 5 Idx 0 }
|
||||||
|
Macro.1.HdmiDevice { Iec61937Devices "${var:Iec61937Pcms1}" Dev 6 Idx 1 }
|
||||||
|
Macro.2.HdmiDevice { Iec61937Devices "${var:Iec61937Pcms1}" Dev 7 Idx 2 }
|
||||||
|
|
||||||
|
If.HdmiIec61937 {
|
||||||
|
Condition {
|
||||||
|
Type RegexMatch
|
||||||
|
Regex "((^|,)[567](,|$))"
|
||||||
|
String "${var:Iec61937Pcms1}"
|
||||||
|
}
|
||||||
|
True.Macro.save_hdmi_cfg.HdmiPCMSave { Name "42-sof-hdmi" }
|
||||||
|
}
|
||||||
|
|
||||||
|
# Define macros to set up processing controls
|
||||||
|
Include.dsp-variables.File "/Intel/sof-hda-dsp/dsp.conf"
|
||||||
|
|
||||||
|
# Set BootSequence and FixedBootSequence for drc, eqiir, eqfir
|
||||||
|
Macro.SpeakerDrc.SofDrcBootSetup "endpoint='PostMixerSpeaker' direction='Playback'"
|
||||||
|
Macro.SpeakerIir.SofEqBootSetup "endpoint='PostMixerSpeaker' direction='Playback' eqtype='Iir'"
|
||||||
|
Macro.SpeakerFir.SofEqBootSetup "endpoint='PostMixerSpeaker' direction='Playback' eqtype='Fir'"
|
||||||
|
|
||||||
|
# Set BootSequence and FixedBootSequence for Mic array eqiir, tdfb, drc
|
||||||
|
Macro.MicArrayIir.SofEqBootSetup "endpoint='MicArray' direction='Capture' eqtype='Iir'"
|
||||||
|
Macro.MicArrayDrc.SofDrcBootSetup "endpoint='MicArray' direction='Capture'"
|
||||||
|
Macro.MicarrayTdfb.SofBeamformerBootSetup "endpoint='MicArray' direction='Capture'"
|
||||||
|
|
||||||
|
# For SoundWire PC with PCH-DMIC set BootSequence and FixedBootSequence for eqiir, tdfb, drc
|
||||||
|
Macro.Dmic0ArrayIir.SofEqBootSetup "endpoint='Dmic0' direction='Capture' eqtype='Iir'"
|
||||||
|
Macro.Dmic0ArrayDrc.SofDrcBootSetup "endpoint='Dmic0' direction='Capture'"
|
||||||
|
Macro.Dmic0ArrayTdfb.SofBeamformerBootSetup "endpoint='Dmic0' direction='Capture'"
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
# TAS2783 Use case Configuration for sof-soundwire card
|
||||||
|
|
||||||
|
#
|
||||||
|
# Arguments:
|
||||||
|
# ForAmps - regex filter for var:SpeakerAmps
|
||||||
|
# Amp - amplifier number (1,2 etc.)
|
||||||
|
#
|
||||||
|
DefineMacro.tas2783spk.If.0 {
|
||||||
|
Condition {
|
||||||
|
Type RegexMatch
|
||||||
|
Regex "${var:__ForAmps}"
|
||||||
|
String "${var:SpeakerAmps}"
|
||||||
|
}
|
||||||
|
True {
|
||||||
|
EnableSequence [
|
||||||
|
cset "name='tas2783-${var:__Amp} Amp Playback Switch' 1"
|
||||||
|
cset "name='tas2783-${var:__Amp} Speaker Playback Switch' 1"
|
||||||
|
]
|
||||||
|
DisableSequence [
|
||||||
|
cset "name='tas2783-${var:__Amp} Amp Playback Switch' 0"
|
||||||
|
cset "name='tas2783-${var:__Amp} Speaker Playback Switch' 0"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
SectionDevice."Speaker" {
|
||||||
|
Comment "Speaker"
|
||||||
|
|
||||||
|
EnableSequence [
|
||||||
|
# cset "name='tas2783 Speaker Playback Switch' on"
|
||||||
|
]
|
||||||
|
|
||||||
|
DisableSequence [
|
||||||
|
# cset "name='tas2783 Speaker Playback Switch' off"
|
||||||
|
]
|
||||||
|
|
||||||
|
Value {
|
||||||
|
PlaybackPriority 100
|
||||||
|
PlaybackPCM "hw:${CardId},2"
|
||||||
|
PlaybackMixer "default:${CardId}"
|
||||||
|
PlaybackMixerElem "${var:SpeakerMixerElem}"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -12,7 +12,7 @@ Configuration for the ScreenPad is unable to be provided here at this time, due
|
|||||||
inputs = {
|
inputs = {
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
url = "github:NixOS/nixpkgs/nixos-unstable";
|
url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz";
|
||||||
};
|
};
|
||||||
|
|
||||||
screenpad-driver={
|
screenpad-driver={
|
||||||
|
|||||||
@@ -0,0 +1,38 @@
|
|||||||
|
{ lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../../../common/cpu/amd
|
||||||
|
../../../common/cpu/amd/pstate.nix
|
||||||
|
../../../common/gpu/amd
|
||||||
|
../../../common/gpu/nvidia/prime.nix
|
||||||
|
../../../common/gpu/nvidia/turing
|
||||||
|
../../../common/pc/laptop
|
||||||
|
../../../common/pc/ssd
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware.nvidia = {
|
||||||
|
# Enable DRM kernel mode setting
|
||||||
|
# This will also cause "PCI-Express Runtime D3 Power Management" to be enabled by default
|
||||||
|
modesetting.enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
# Dynamic boost is available on ampere GPUs and newer, not this laptop
|
||||||
|
dynamicBoost.enable = lib.mkDefault false;
|
||||||
|
|
||||||
|
prime = {
|
||||||
|
amdgpuBusId = "PCI:4:0:0";
|
||||||
|
nvidiaBusId = "PCI:1:0:0";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
asusd.enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
udev.extraHwdb = ''
|
||||||
|
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
|
||||||
|
KEYBOARD_KEY_ff31007c=f20 # fixes mic mute button
|
||||||
|
KEYBOARD_KEY_ff3100b2=home # Set fn+LeftArrow as Home
|
||||||
|
KEYBOARD_KEY_ff3100b3=end # Set fn+RightArrow as End
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
@@ -11,9 +10,7 @@ let
|
|||||||
mkEnableOption
|
mkEnableOption
|
||||||
mkIf
|
mkIf
|
||||||
mkMerge
|
mkMerge
|
||||||
version
|
|
||||||
versionAtLeast
|
versionAtLeast
|
||||||
versionOlder
|
|
||||||
;
|
;
|
||||||
|
|
||||||
cfg = config.hardware.asus.zephyrus.ga402x;
|
cfg = config.hardware.asus.zephyrus.ga402x;
|
||||||
@@ -62,7 +59,6 @@ in
|
|||||||
services = {
|
services = {
|
||||||
asusd = {
|
asusd = {
|
||||||
enable = mkDefault true;
|
enable = mkDefault true;
|
||||||
enableUserService = mkDefault true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
supergfxd.enable = mkDefault true;
|
supergfxd.enable = mkDefault true;
|
||||||
@@ -94,12 +90,6 @@ in
|
|||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|
||||||
(mkIf (versionOlder version "23.11") {
|
|
||||||
# See https://asus-linux.org/wiki/nixos/ for info about some problems
|
|
||||||
# detecting the dGPU:
|
|
||||||
systemd.services.supergfxd.path = [ pkgs.pciutils ];
|
|
||||||
})
|
|
||||||
|
|
||||||
(mkIf (config.networking.wireless.iwd.enable && config.networking.wireless.scanOnLowSignal) {
|
(mkIf (config.networking.wireless.iwd.enable && config.networking.wireless.scanOnLowSignal) {
|
||||||
# Meditek doesn't seem to be quite sensitive enough on the default roaming settings:
|
# 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/Wpa_supplicant#Roaming
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
{ lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../../../common/cpu/intel
|
||||||
|
../../../common/gpu/nvidia/prime.nix
|
||||||
|
../../../common/gpu/nvidia/blackwell
|
||||||
|
../../../common/pc/laptop
|
||||||
|
../../../common/pc/ssd
|
||||||
|
../shared/backlight.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware.nvidia = {
|
||||||
|
prime = {
|
||||||
|
intelBusId = "PCI:0:2:0";
|
||||||
|
nvidiaBusId = "PCI:1:0:0";
|
||||||
|
};
|
||||||
|
|
||||||
|
modesetting.enable = lib.mkDefault true;
|
||||||
|
dynamicBoost.enable = lib.mkDefault true;
|
||||||
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
asusd.enable = lib.mkDefault true;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.tuned.enable = true;
|
||||||
|
services.tlp.enable = lib.mkOverride 500 false;
|
||||||
|
}
|
||||||
@@ -4,6 +4,6 @@
|
|||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
"i915.enable_dpcd_backlight=1"
|
"i915.enable_dpcd_backlight=1"
|
||||||
"nvidia.NVreg_EnableBacklightHandler=0"
|
"nvidia.NVreg_EnableBacklightHandler=0"
|
||||||
"nvidia.NVReg_RegistryDwords=EnableBrightnessControl=0"
|
"nvidia.NVreg_RegistryDwords=EnableBrightnessControl=0"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
# The BPI-SM10 (K3-CoM260) shares the same SoC, firmware and boot flow as the
|
||||||
|
# K3 Pico-ITX. Only the device tree differs.
|
||||||
|
imports = [ ../../spacemit/k3-pico-itx ];
|
||||||
|
|
||||||
|
hardware.deviceTree.name = lib.mkForce "spacemit/k3-com260-ifx.dtb";
|
||||||
|
}
|
||||||
@@ -0,0 +1,114 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
modulesPath,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
"${modulesPath}/profiles/base.nix"
|
||||||
|
"${modulesPath}/installer/sd-card/sd-image.nix"
|
||||||
|
./default.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware.enableAllHardware = lib.mkForce false;
|
||||||
|
|
||||||
|
fileSystems."/" = lib.mkForce {
|
||||||
|
device = "/dev/disk/by-partlabel/nixos-rootfs";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" = {
|
||||||
|
device = "/dev/disk/by-label/ESP";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [
|
||||||
|
"fmask=0077"
|
||||||
|
"dmask=0077"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
image.fileName = "${config.image.baseName}-${config.system.nixos.label}-${pkgs.stdenv.hostPlatform.system}-bpi-sm10.img";
|
||||||
|
|
||||||
|
sdImage = {
|
||||||
|
expandOnBoot = true;
|
||||||
|
firmwarePartitionOffset = 12;
|
||||||
|
firmwarePartitionName = "ESP";
|
||||||
|
firmwareSize = 256;
|
||||||
|
|
||||||
|
populateFirmwareCommands =
|
||||||
|
let
|
||||||
|
systemdBoot = "${pkgs.systemd}/lib/systemd/boot/efi/systemd-bootriscv64.efi";
|
||||||
|
kernel = "${config.system.build.kernel}/${config.system.boot.loader.kernelFile}";
|
||||||
|
initrd = "${config.system.build.initialRamdisk}/${config.system.boot.loader.initrdFile}";
|
||||||
|
dtb = "${config.hardware.deviceTree.package}/${config.hardware.deviceTree.name}";
|
||||||
|
kernelParams = lib.concatStringsSep " " config.boot.kernelParams;
|
||||||
|
in
|
||||||
|
''
|
||||||
|
mkdir -p firmware/EFI/BOOT firmware/EFI/systemd firmware/EFI/nixos
|
||||||
|
mkdir -p firmware/loader/entries
|
||||||
|
|
||||||
|
cp ${systemdBoot} firmware/EFI/BOOT/BOOTRISCV64.EFI
|
||||||
|
cp ${systemdBoot} firmware/EFI/systemd/systemd-bootriscv64.efi
|
||||||
|
|
||||||
|
cp ${kernel} firmware/EFI/nixos/kernel.efi
|
||||||
|
cp ${initrd} firmware/EFI/nixos/initrd
|
||||||
|
cp ${dtb} firmware/EFI/nixos/k3_com260_ifx.dtb
|
||||||
|
|
||||||
|
cat > firmware/loader/loader.conf <<EOF
|
||||||
|
default nixos
|
||||||
|
timeout 3
|
||||||
|
console-mode auto
|
||||||
|
EOF
|
||||||
|
|
||||||
|
cat > firmware/loader/entries/nixos.conf <<EOF
|
||||||
|
title NixOS
|
||||||
|
linux /EFI/nixos/kernel.efi
|
||||||
|
initrd /EFI/nixos/initrd
|
||||||
|
devicetree /EFI/nixos/k3_com260_ifx.dtb
|
||||||
|
options init=${config.system.build.toplevel}/init ${kernelParams}
|
||||||
|
EOF
|
||||||
|
|
||||||
|
cat > firmware/startup.nsh <<EOF
|
||||||
|
@echo -off
|
||||||
|
echo Booting NixOS...
|
||||||
|
for %i in 0 1 2 3 4 5
|
||||||
|
if exist FS%i:\EFI\BOOT\BOOTRISCV64.EFI then
|
||||||
|
FS%i:\EFI\BOOT\BOOTRISCV64.EFI
|
||||||
|
endif
|
||||||
|
endfor
|
||||||
|
EOF
|
||||||
|
'';
|
||||||
|
populateRootCommands = "";
|
||||||
|
|
||||||
|
postBuildCommands = ''
|
||||||
|
eval $(${pkgs.util-linux}/bin/partx $img -o START,SECTORS --nr 2 --pairs)
|
||||||
|
ROOTFS_START=$START
|
||||||
|
ROOTFS_SECTORS=$SECTORS
|
||||||
|
|
||||||
|
truncate -s '+2M' $img
|
||||||
|
|
||||||
|
${pkgs.util-linux}/bin/sfdisk $img <<EOF
|
||||||
|
label: gpt
|
||||||
|
unit: sectors
|
||||||
|
sector-size: 512
|
||||||
|
first-lba: 256
|
||||||
|
|
||||||
|
start=1280, size=128, name="env", type=0FC63DAF-8483-4772-8E79-3D69D8477DE4
|
||||||
|
start=2048, size=256, name="bootinfo", type=0FC63DAF-8483-4772-8E79-3D69D8477DE4
|
||||||
|
start=3072, size=1024, name="fsbl", type=0FC63DAF-8483-4772-8E79-3D69D8477DE4
|
||||||
|
start=8192, size=6144, name="esos", type=0FC63DAF-8483-4772-8E79-3D69D8477DE4
|
||||||
|
start=14336, size=2048, name="opensbi", type=0FC63DAF-8483-4772-8E79-3D69D8477DE4
|
||||||
|
start=16384, size=8192, name="uboot", type=0FC63DAF-8483-4772-8E79-3D69D8477DE4
|
||||||
|
start=24576, size=524288, name="ESP", type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B
|
||||||
|
start=$ROOTFS_START, size=$ROOTFS_SECTORS, name="nixos-rootfs", type=0FC63DAF-8483-4772-8E79-3D69D8477DE4
|
||||||
|
EOF
|
||||||
|
|
||||||
|
dd if=${config.system.build.fsbl}/bootinfo_block.bin of=$img conv=notrunc bs=1M seek=1
|
||||||
|
dd if=${config.system.build.fsbl}/FSBL.bin of=$img conv=notrunc bs=1024 seek=1536
|
||||||
|
dd if=${config.system.build.opensbi}/share/opensbi/lp64/generic/firmware/fw_dynamic.itb of=$img conv=notrunc bs=1M seek=7
|
||||||
|
dd if=${config.system.build.edk2}/edk2.itb of=$img conv=notrunc bs=1M seek=8
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../cpu-only.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./cpu-only.nix
|
||||||
|
../../../gpu/intel/ice-lake
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
# Backward-compat for 24.05, can be removed after we drop 24.05 support
|
|
||||||
imports = lib.optionals (lib.versionOlder lib.version "24.11pre") [
|
|
||||||
(lib.mkAliasOptionModule [ "hardware" "graphics" "enable" ] [ "hardware" "opengl" "enable" ])
|
|
||||||
(lib.mkAliasOptionModule
|
|
||||||
[ "hardware" "graphics" "extraPackages" ]
|
|
||||||
[ "hardware" "opengl" "extraPackages" ]
|
|
||||||
)
|
|
||||||
(lib.mkAliasOptionModule
|
|
||||||
[ "hardware" "graphics" "extraPackages32" ]
|
|
||||||
[ "hardware" "opengl" "extraPackages32" ]
|
|
||||||
)
|
|
||||||
(lib.mkAliasOptionModule
|
|
||||||
[ "hardware" "graphics" "enable32Bit" ]
|
|
||||||
[ "hardware" "opengl" "driSupport32Bit" ]
|
|
||||||
)
|
|
||||||
(lib.mkAliasOptionModule [ "hardware" "graphics" "package" ] [ "hardware" "opengl" "package" ])
|
|
||||||
(lib.mkAliasOptionModule [ "hardware" "graphics" "package32" ] [ "hardware" "opengl" "package32" ])
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
# Flag values from drivers/gpu/drm/amd/include/amd_shared.h
|
||||||
|
{ config, lib, ... }:
|
||||||
|
let
|
||||||
|
flags = {
|
||||||
|
disablePipeSplit = 1;
|
||||||
|
disableStutter = 2;
|
||||||
|
disableDsc = 4;
|
||||||
|
disableClockGating = 8;
|
||||||
|
disablePsr = 16;
|
||||||
|
disableMpo = 64;
|
||||||
|
disablePsrSu = 512;
|
||||||
|
disableReplay = 1024;
|
||||||
|
disableIps = 2048;
|
||||||
|
};
|
||||||
|
|
||||||
|
cfg = config.hardware.amdgpu.dcDebugMask;
|
||||||
|
|
||||||
|
mask = lib.foldlAttrs (
|
||||||
|
acc: name: bit:
|
||||||
|
if cfg.${name} then lib.bitOr acc bit else acc
|
||||||
|
) 0 flags;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.hardware.amdgpu.dcDebugMask = lib.mapAttrs (
|
||||||
|
_name: bit:
|
||||||
|
lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "Set flag 0x${lib.toHexString bit} in amdgpu.dcdebugmask.";
|
||||||
|
}
|
||||||
|
) flags;
|
||||||
|
|
||||||
|
config = lib.mkIf (mask != 0) {
|
||||||
|
boot.kernelParams = [ "amdgpu.dcdebugmask=0x${lib.toHexString mask}" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,7 +1,8 @@
|
|||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ../24.05-compat.nix ];
|
imports = [ ./dc-debug-mask.nix ];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
services.xserver.videoDrivers = lib.mkDefault [ "modesetting" ];
|
services.xserver.videoDrivers = lib.mkDefault [ "modesetting" ];
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,6 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
imports = [ ../24.05-compat.nix ];
|
|
||||||
|
|
||||||
options.hardware.intelgpu = {
|
options.hardware.intelgpu = {
|
||||||
driver = lib.mkOption {
|
driver = lib.mkOption {
|
||||||
description = "Intel GPU driver to use";
|
description = "Intel GPU driver to use";
|
||||||
@@ -24,7 +22,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
computeRuntime = lib.mkOption {
|
computeRuntime = lib.mkOption {
|
||||||
description = "intel-compute-runtime variant to use";
|
description = "intel-compute-runtime variant to use (legacy for Gen8–11, default for Gen12+)";
|
||||||
type = lib.types.enum [
|
type = lib.types.enum [
|
||||||
"default"
|
"default"
|
||||||
"legacy"
|
"legacy"
|
||||||
@@ -32,6 +30,15 @@
|
|||||||
default = "default";
|
default = "default";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mediaRuntime = lib.mkOption {
|
||||||
|
description = "Intel media runtime to use (Media SDK for Gen8–11, OneVPL for Gen12+)";
|
||||||
|
type = lib.types.enum [
|
||||||
|
"vpl-gpu-rt"
|
||||||
|
"intel-media-sdk"
|
||||||
|
];
|
||||||
|
default = "vpl-gpu-rt";
|
||||||
|
};
|
||||||
|
|
||||||
vaapiDriver = lib.mkOption {
|
vaapiDriver = lib.mkOption {
|
||||||
description = "Intel VAAPI driver to use (use null to use both)";
|
description = "Intel VAAPI driver to use (use null to use both)";
|
||||||
type = lib.types.nullOr (
|
type = lib.types.nullOr (
|
||||||
@@ -73,7 +80,11 @@
|
|||||||
pkgs.intel-compute-runtime-legacy1
|
pkgs.intel-compute-runtime-legacy1
|
||||||
else
|
else
|
||||||
pkgs.intel-compute-runtime;
|
pkgs.intel-compute-runtime;
|
||||||
vpl-gpu-rt = pkgs.vpl-gpu-rt or pkgs.onevpl-intel-gpu;
|
intel-media-runtime =
|
||||||
|
if cfg.mediaRuntime == "vpl-gpu-rt" then
|
||||||
|
pkgs.vpl-gpu-rt or pkgs.onevpl-intel-gpu
|
||||||
|
else
|
||||||
|
pkgs.intel-media-sdk;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
boot.initrd.kernelModules = lib.optionals cfg.loadInInitrd [ cfg.driver ];
|
boot.initrd.kernelModules = lib.optionals cfg.loadInInitrd [ cfg.driver ];
|
||||||
@@ -84,7 +95,7 @@
|
|||||||
++ lib.optionals useIntelMediaDriver [
|
++ lib.optionals useIntelMediaDriver [
|
||||||
intel-media-driver
|
intel-media-driver
|
||||||
intel-compute-runtime
|
intel-compute-runtime
|
||||||
vpl-gpu-rt
|
intel-media-runtime
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.graphics.extraPackages32 =
|
hardware.graphics.extraPackages32 =
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{ config, lib, ... }:
|
||||||
|
{
|
||||||
|
imports = [ ../. ];
|
||||||
|
config = {
|
||||||
|
boot.kernelParams = lib.mkIf (config.hardware.intelgpu.driver == "i915") [ "i915.enable_guc=3" ];
|
||||||
|
hardware.intelgpu.vaapiDriver = "intel-media-driver";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{ lib, config, ... }:
|
||||||
|
let
|
||||||
|
nvidiaPackage = config.hardware.nvidia.package;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
imports = [ ../. ];
|
||||||
|
|
||||||
|
# enable the open source drivers if the package supports it
|
||||||
|
hardware.nvidia.open = lib.mkOverride 990 (nvidiaPackage ? open && nvidiaPackage ? firmware);
|
||||||
|
}
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ../24.05-compat.nix ];
|
|
||||||
services.xserver.videoDrivers = lib.mkDefault [ "nvidia" ];
|
services.xserver.videoDrivers = lib.mkDefault [ "nvidia" ];
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,8 @@
|
|||||||
{ lib, ... }:
|
{ config, lib, ... }:
|
||||||
{
|
{
|
||||||
imports = [ ../. ];
|
imports = [ ../. ];
|
||||||
|
|
||||||
# The open source driver does not support Pascal GPUs.
|
# The open source driver does not support Pascal GPUs.
|
||||||
hardware.nvidia.open = false;
|
hardware.nvidia.open = false;
|
||||||
|
hardware.nvidia.package = lib.mkDefault config.boot.kernelPackages.nvidiaPackages.legacy_580;
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
# The x550 supports 5G but the driver does not enable it by default
|
||||||
|
# https://forum.proxmox.com/threads/x550-x550-t2-duplex-auto-negotiation.116776/
|
||||||
|
{
|
||||||
|
systemd.network.links."80-x550" = {
|
||||||
|
matchConfig = {
|
||||||
|
Driver = "ixgbe";
|
||||||
|
Property = [
|
||||||
|
"ID_MODEL_ID=0x1563"
|
||||||
|
"ID_VENDOR_ID=0x8086"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
linkConfig.Advertise = [
|
||||||
|
"100baset-full"
|
||||||
|
"1000baset-full"
|
||||||
|
"2500baset-full"
|
||||||
|
"5000baset-full"
|
||||||
|
"10000baset-full"
|
||||||
|
];
|
||||||
|
linkConfig.NamePolicy = [
|
||||||
|
"keep"
|
||||||
|
"kernel"
|
||||||
|
"database"
|
||||||
|
"onboard"
|
||||||
|
"slot"
|
||||||
|
"path"
|
||||||
|
];
|
||||||
|
linkConfig.AlternativeNamesPolicy = [
|
||||||
|
"database"
|
||||||
|
"onboard"
|
||||||
|
"slot"
|
||||||
|
"path"
|
||||||
|
"mac"
|
||||||
|
];
|
||||||
|
linkConfig.MACAddressPolicy = "persistent";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -3,11 +3,7 @@
|
|||||||
{
|
{
|
||||||
imports = [ ../. ];
|
imports = [ ../. ];
|
||||||
|
|
||||||
# Gnome 40 introduced a new way of managing power, without tlp.
|
|
||||||
# However, these 2 services clash when enabled simultaneously.
|
|
||||||
# https://github.com/NixOS/nixos-hardware/issues/260
|
|
||||||
services.tlp.enable = lib.mkDefault (
|
services.tlp.enable = lib.mkDefault (
|
||||||
(lib.versionOlder (lib.versions.majorMinor lib.version) "21.05")
|
!config.services.power-profiles-daemon.enable && !config.services.tuned.enable
|
||||||
|| !config.services.power-profiles-daemon.enable
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,80 @@
|
|||||||
|
# MediaTek MT7925 WiFi 7 / Bluetooth support
|
||||||
|
#
|
||||||
|
# The MT7925 is a WiFi 7 (802.11be) + Bluetooth combo chip found in many
|
||||||
|
# 2024-2025 laptops. It requires specific workarounds for stable operation.
|
||||||
|
#
|
||||||
|
# Known issues:
|
||||||
|
# - Power management causes random disconnections
|
||||||
|
# - ASPM (Active State Power Management) causes hangs
|
||||||
|
# - CLC (Country Location Code) causes 6GHz band instability
|
||||||
|
# - WiFi often fails to reconnect after suspend/resume
|
||||||
|
# - wpa_supplicant has issues; iwd is recommended
|
||||||
|
#
|
||||||
|
# Devices using MT7925:
|
||||||
|
# - Razer Blade 14 (RZ09-0530) 2025
|
||||||
|
# - ThinkPad P16s Gen 4
|
||||||
|
# - Other 2024-2025 laptops with WiFi 7
|
||||||
|
#
|
||||||
|
# References:
|
||||||
|
# - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2118755
|
||||||
|
# - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2133863
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
# ===========================================================================
|
||||||
|
# Kernel Recommendation
|
||||||
|
# ===========================================================================
|
||||||
|
# Kernel 6.18+ is recommended for stable MT7925 operation.
|
||||||
|
# Earlier kernels may have driver bugs causing disconnections or hangs.
|
||||||
|
# Set: boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
|
# ===========================================================================
|
||||||
|
# Kernel Module Parameters
|
||||||
|
# ===========================================================================
|
||||||
|
# Disable power management at driver level during module load
|
||||||
|
boot.extraModprobeConfig = ''
|
||||||
|
# MT7925 WiFi - disable all power management for stability
|
||||||
|
options mt7925e disable_aspm=1
|
||||||
|
options mt7925e power_save=0
|
||||||
|
|
||||||
|
# Disable CLC (Country Location Code) - fixes 6GHz band stability
|
||||||
|
options mt7925-common disable_clc=1
|
||||||
|
'';
|
||||||
|
|
||||||
|
# ===========================================================================
|
||||||
|
# NetworkManager Configuration
|
||||||
|
# ===========================================================================
|
||||||
|
networking.networkmanager.wifi = {
|
||||||
|
# Disable WiFi power saving (causes disconnections)
|
||||||
|
powersave = lib.mkDefault false;
|
||||||
|
|
||||||
|
# Consistent MAC during scans (randomization causes issues)
|
||||||
|
scanRandMacAddress = lib.mkDefault false;
|
||||||
|
};
|
||||||
|
|
||||||
|
# ===========================================================================
|
||||||
|
# Suspend/Resume Fix
|
||||||
|
# ===========================================================================
|
||||||
|
# Restart NetworkManager after suspend to clear stale driver state
|
||||||
|
systemd.services.mediatek-wifi-resume = {
|
||||||
|
description = "Restart NetworkManager after suspend to fix MediaTek WiFi";
|
||||||
|
wantedBy = [
|
||||||
|
"suspend.target"
|
||||||
|
"hibernate.target"
|
||||||
|
"hybrid-sleep.target"
|
||||||
|
];
|
||||||
|
after = [
|
||||||
|
"suspend.target"
|
||||||
|
"hibernate.target"
|
||||||
|
"hybrid-sleep.target"
|
||||||
|
];
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "oneshot";
|
||||||
|
ExecStart = "${pkgs.systemd}/bin/systemctl restart NetworkManager.service";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
# MediaTek MT7925 - iwd backend configuration
|
||||||
|
#
|
||||||
|
# Use iwd instead of wpa_supplicant for MT7925. iwd provides better
|
||||||
|
# stability and faster roaming for WiFi 7 chips.
|
||||||
|
#
|
||||||
|
# Import this alongside default.nix:
|
||||||
|
# imports = [
|
||||||
|
# ../common/wifi/mediatek/mt7925
|
||||||
|
# ../common/wifi/mediatek/mt7925/iwd.nix
|
||||||
|
# ];
|
||||||
|
{ lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Required for iwd to work with MT7925 - includes non-redistributable firmware
|
||||||
|
hardware.enableAllFirmware = lib.mkDefault true;
|
||||||
|
|
||||||
|
# Use iwd backend instead of wpa_supplicant
|
||||||
|
networking.networkmanager.wifi.backend = lib.mkDefault "iwd";
|
||||||
|
|
||||||
|
# iwd configuration for MT7925 stability
|
||||||
|
networking.wireless.iwd.settings = {
|
||||||
|
General = {
|
||||||
|
# Consistent MAC per network (fixes WPA3 handshake issues)
|
||||||
|
AddressRandomization = "network";
|
||||||
|
|
||||||
|
# Let NetworkManager handle IP configuration, not iwd
|
||||||
|
# (prevents conflicts between iwd and NetworkManager)
|
||||||
|
EnableNetworkConfiguration = false;
|
||||||
|
};
|
||||||
|
Settings = {
|
||||||
|
AutoConnect = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
# UCM-iMX95 SOM support
|
||||||
|
|
||||||
|
## Supported devices
|
||||||
|
- [UCM-iMX95 System-on-Module](https://www.compulab.com/products/som-evaluation-kits/ucm-imx95-evaluation-kit/) (**ucm-imx95**) – based on the NXP i.MX95 SoC (A0 silicon), with device-specific boot components(OEI, SM, ATF), U-Boot, and Linux kernel support, including a NixOS configuration example.
|
||||||
|
|
||||||
|
## How to use
|
||||||
|
This overlay provides configuration and hardware support for the **CompuLab UCM-iMX95** platform, based on the **NXP i.MX95 A0 silicon**. It enables generating NixOS images suitable for booting via U-Boot, using the CompuLab UCM-iMX95 Evaluation Kit carrier board.
|
||||||
|
|
||||||
|
### Boot flow
|
||||||
|
The boot flow for the UCM-iMX95 platform follows the standard NXP i.MX95 sequence:
|
||||||
|
|
||||||
|
Boot ROM → OEI (initially in TCM, then DDR) → System Manager (SM) → ARM Trusted Firmware (ATF) → U-Boot → Linux kernel → NixOS userspace
|
||||||
|
|
||||||
|
Boot ROM initializes the SoC and loads OEI, which runs in TCM to perform early setup, then configures DDR and loads the System Manager (SM). SM completes SoC initialization and passes control to ATF, which handles secure world setup and then transfers execution to U-Boot, eventually booting the Linux kernel and NixOS root filesystem.
|
||||||
|
|
||||||
|
### Example NixOS configuration
|
||||||
|
```nix
|
||||||
|
{ nixos-hardware, }: {
|
||||||
|
system = "aarch64-linux";
|
||||||
|
modules = [
|
||||||
|
nixos-hardware.nixosModules.ucm-imx95
|
||||||
|
];
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Building Boot Images
|
||||||
|
|
||||||
|
The boot image for flashing to SD cards can be built directly from the flake:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Build boot image for UCM-iMX95
|
||||||
|
nix build github:NixOS/nixos-hardware#packages.aarch64-linux.ucm-imx95-boot
|
||||||
|
```
|
||||||
|
|
||||||
|
The boot image will be available at `./result/image/flash.bin`.
|
||||||
|
|
||||||
|
**Note:** These packages target `aarch64-linux`. If you're on a different architecture (e.g., x86_64-linux), you'll need remote builders configured for aarch64-linux.
|
||||||
|
|
||||||
|
### Flashing to SD Card
|
||||||
|
|
||||||
|
Once built, you can flash the boot image to an SD card:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Write boot image to SD card at 32KB offset (adjust /dev/sdX to your SD card device)
|
||||||
|
sudo dd if=./result/image/flash.bin of=/dev/sdX bs=1k seek=32 conv=fsync
|
||||||
|
```
|
||||||
|
|
||||||
|
**Warning:** Double-check the device path to avoid overwriting the wrong disk!
|
||||||
|
|
||||||
|
### Notes
|
||||||
|
- The configuration, including device-tree, kernel, and bootloader components, is optimized for the UCM-iMX95 SoM and EVK.
|
||||||
|
- The generated NixOS image supports booting from SD card or eMMC, depending on the hardware configuration.
|
||||||
|
- The boot components (OEI in TCM/DDR, SM, ATF, U-Boot) follow the standard NXP release layout for i.MX95 platforms.
|
||||||
|
|
||||||
|
### Upstream Documentation
|
||||||
|
- [NXP i.MX95 EVK U-Boot Documentation](https://docs.u-boot.org/en/latest/board/nxp/imx95_evk.html)
|
||||||
|
- [CompuLab UCM-iMX95 Product Page](https://www.compulab.com/products/computer-on-modules/ucm-imx95-nxp-i-mx-95-som-system-on-module/)
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
fetchFromGitHub,
|
||||||
|
stdenv,
|
||||||
|
buildPackages,
|
||||||
|
pkgsCross,
|
||||||
|
openssl,
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
target-board = "imx95";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "imx95-atf";
|
||||||
|
version = "2.13.0";
|
||||||
|
platform = target-board;
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "nxp-imx";
|
||||||
|
repo = "imx-atf";
|
||||||
|
rev = "28affcae957cb8194917b5246276630f9e6343e1";
|
||||||
|
sha256 = "sha256-a8F+Lf8pwML+tCwawS0N/mrSXWPmFhlUeOg0MCRK3VE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Compiler dependencies
|
||||||
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkgsCross.aarch64-embedded.stdenv.cc
|
||||||
|
openssl
|
||||||
|
];
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"HOSTCC=$(CC_FOR_BUILD)"
|
||||||
|
"CROSS_COMPILE=${pkgsCross.aarch64-embedded.stdenv.cc.targetPrefix}"
|
||||||
|
"PLAT=${platform}"
|
||||||
|
"SPD=opteed"
|
||||||
|
"bl31"
|
||||||
|
"LDFLAGS=-no-warn-rwx-segments"
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p $out
|
||||||
|
cp build/${target-board}/release/bl31.bin $out
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
hardeningDisable = [ "all" ];
|
||||||
|
dontStrip = true;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/nxp-imx/imx-atf";
|
||||||
|
description = "Reference implementation of secure world software for ARMv8-A";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = [
|
||||||
|
{
|
||||||
|
name = "Govind Singh";
|
||||||
|
email = "govind.singh@tii.ae";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
platforms = [ "aarch64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
bp = pkgs.buildPackages;
|
||||||
|
|
||||||
|
imx95-atf = pkgs.callPackage ./ucm-imx95-atf.nix { };
|
||||||
|
imx95-firmware = pkgs.callPackage ./ucm-imx95-firmware.nix { };
|
||||||
|
imx95-uboot = pkgs.callPackage ./ucm-imx95-uboot.nix { };
|
||||||
|
imx95-optee-os = pkgs.callPackage ./ucm-imx95-optee-os.nix { };
|
||||||
|
imx95-sm-fw = pkgs.callPackage ./ucm-imx95-sm-fw.nix { };
|
||||||
|
imx95-oei-ddr = pkgs.callPackage ./ucm-imx95-oei-ddr.nix { };
|
||||||
|
imx95-oei-tcm = pkgs.callPackage ./ucm-imx95-oei-tcm.nix { };
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "nxp-imx";
|
||||||
|
repo = "imx-mkimage";
|
||||||
|
#tag: lf-6.6.52-2.2.1
|
||||||
|
rev = "f620fb8ef7a04c8dbed8119880f5eeffe3e69746";
|
||||||
|
sha256 = "sha256-JZlX122uZntCIISI1H3Hw+tnk+N/gBJpFFDaZoY8W3c=";
|
||||||
|
};
|
||||||
|
shortRev = builtins.substring 0 8 src.rev;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
# mkimage runs on the build machine; use buildPackages when cross-compiling.
|
||||||
|
imx95-boot = bp.stdenv.mkDerivation {
|
||||||
|
inherit src;
|
||||||
|
name = "imx95-mkimage";
|
||||||
|
version = "lf-6.6.52-2.2.1";
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Makefile \
|
||||||
|
--replace-fail 'git rev-parse --short=8 HEAD' 'echo ${shortRev}'
|
||||||
|
substituteInPlace iMX95/soc.mak \
|
||||||
|
--replace-fail 'xxd' "${bp.vim.xxd}/bin/xxd"
|
||||||
|
substituteInPlace scripts/fspi_fcb_gen.sh \
|
||||||
|
--replace-fail 'xxd' "${bp.vim.xxd}/bin/xxd"
|
||||||
|
substituteInPlace scripts/fspi_packer.sh \
|
||||||
|
--replace-fail 'xxd' "${bp.vim.xxd}/bin/xxd"
|
||||||
|
patchShebangs scripts
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
bp.stdenv.cc
|
||||||
|
bp.git
|
||||||
|
bp.dtc
|
||||||
|
bp.glibc.static
|
||||||
|
bp.zlib
|
||||||
|
bp.zlib.static
|
||||||
|
];
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
|
|
||||||
|
if [ -f ${imx95-uboot}/u-boot.bin ]; then
|
||||||
|
install -m 0644 ${imx95-uboot}/u-boot.bin ./iMX95/u-boot.bin
|
||||||
|
else
|
||||||
|
cat ${imx95-uboot}/u-boot-nodtb.bin ${imx95-uboot}/ucm-imx95.dtb > ./iMX95/u-boot.bin
|
||||||
|
fi
|
||||||
|
install -m 0644 ${imx95-uboot}/u-boot-spl.bin ./iMX95/u-boot-spl.bin
|
||||||
|
install -m 0644 ${imx95-uboot}/u-boot-nodtb.bin ./iMX95/u-boot-nodtb.bin
|
||||||
|
install -m 0644 ${imx95-uboot}/ucm-imx95.dtb ./iMX95/ucm-imx95.dtb
|
||||||
|
install -m 0644 ${imx95-optee-os}/tee.bin ./iMX95/tee.bin
|
||||||
|
install -m 0644 ${imx95-atf}/bl31.bin ./iMX95/bl31.bin
|
||||||
|
install -m 0644 ${imx95-sm-fw}/m33_image.bin ./iMX95/m33_image.bin
|
||||||
|
install -m 0644 ${imx95-oei-ddr}/oei-m33-ddr.bin ./iMX95/oei-m33-ddr.bin
|
||||||
|
install -m 0644 ${imx95-oei-tcm}/oei-m33-tcm.bin ./iMX95/oei-m33-tcm.bin
|
||||||
|
install -m 0644 ${imx95-firmware}/ddr/lpddr5* ./iMX95/
|
||||||
|
install -m 0644 ${imx95-firmware}/ahab/mx95a0-ahab-container.img ./iMX95/
|
||||||
|
install -m 0644 ${imx95-firmware}/m7_image.bin ./iMX95/
|
||||||
|
|
||||||
|
make SOC=iMX95 REV=A0 OEI=YES LPDDR_TYPE=lpddr5 flash_all
|
||||||
|
|
||||||
|
runHook postBuild
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p $out/image
|
||||||
|
install -m 0644 ./iMX95/flash.bin $out/image
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,74 @@
|
|||||||
|
{
|
||||||
|
stdenv,
|
||||||
|
fetchurl,
|
||||||
|
coreutils,
|
||||||
|
bash,
|
||||||
|
siliconRev ? "A0",
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "nxp-firmware-imx95";
|
||||||
|
version = "nxp-firmware-8.28-994fa14";
|
||||||
|
|
||||||
|
m7Firmware = fetchurl {
|
||||||
|
url = "https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx95-m7-demo-25.09.00.bin";
|
||||||
|
sha256 = "sha256-3nA6uka6WPtXH5aZhaaKHKRM0tJ0pxHQdPEupNic1Ks=";
|
||||||
|
};
|
||||||
|
|
||||||
|
ddrFirmware = fetchurl {
|
||||||
|
url = "https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.28-994fa14.bin";
|
||||||
|
sha256 = "sha256-VZlvNA6HglaFoAzTCZARiQZuyVRe5gdzT5QsPN5Nadw=";
|
||||||
|
};
|
||||||
|
|
||||||
|
ahabFirmware = fetchurl {
|
||||||
|
url = "https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-ele-imx-2.0.2-89161a8.bin";
|
||||||
|
sha256 = "sha256-LSnwpN42YroV9qfZBpcC1OrtQV2WoX8p1bEn8sb91jQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
coreutils
|
||||||
|
bash
|
||||||
|
];
|
||||||
|
|
||||||
|
dontUnpack = true;
|
||||||
|
dontStrip = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out
|
||||||
|
export SILICON=${siliconRev}
|
||||||
|
|
||||||
|
# M7 firmware
|
||||||
|
echo "Copying M7 firmware..."
|
||||||
|
cp ${m7Firmware} $out/m7_image.bin
|
||||||
|
|
||||||
|
# DDR firmware
|
||||||
|
cp ${ddrFirmware} ./firmware-imx-8.28-994fa14.bin
|
||||||
|
chmod +x firmware-imx-8.28-994fa14.bin
|
||||||
|
./firmware-imx-8.28-994fa14.bin --auto-accept
|
||||||
|
|
||||||
|
mkdir -p $out/ddr
|
||||||
|
# Resolve wildcard and verify at least one file matches
|
||||||
|
lpddr5_files=(firmware-imx-8.28-994fa14/firmware/ddr/synopsys/lpddr5*v202409.bin)
|
||||||
|
if [ ''${#lpddr5_files[@]} -eq 0 ]; then
|
||||||
|
echo "ERROR: No lpddr5*v202409.bin file found in firmware/ddr/synopsys/" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
cp "''${lpddr5_files[@]}" $out/ddr/
|
||||||
|
|
||||||
|
# AHAB container
|
||||||
|
cp ${ahabFirmware} ./firmware-ele-imx-2.0.2-89161a8.bin
|
||||||
|
chmod +x firmware-ele-imx-2.0.2-89161a8.bin
|
||||||
|
./firmware-ele-imx-2.0.2-89161a8.bin --auto-accept
|
||||||
|
|
||||||
|
mkdir -p $out/ahab
|
||||||
|
if [ "$SILICON" = "A0" ]; then
|
||||||
|
cp firmware-ele-imx-2.0.2-89161a8/mx95a0-ahab-container.img $out/ahab/
|
||||||
|
elif [ "$SILICON" = "B0" ]; then
|
||||||
|
cp firmware-ele-imx-2.0.2-89161a8/mx95b0-ahab-container.img $out/ahab/
|
||||||
|
else
|
||||||
|
echo "ERROR: Invalid SILICON value '$SILICON'. Must be 'A0' or 'B0'." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
}
|
||||||
@@ -0,0 +1,71 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildLinux,
|
||||||
|
fetchFromGitHub,
|
||||||
|
...
|
||||||
|
}@args:
|
||||||
|
buildLinux (
|
||||||
|
args
|
||||||
|
// rec {
|
||||||
|
version = "6.6.36";
|
||||||
|
name = "imx95-linux";
|
||||||
|
|
||||||
|
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||||
|
modDirVersion = version;
|
||||||
|
|
||||||
|
defconfig = "compulab-mx95_defconfig";
|
||||||
|
|
||||||
|
# https://github.com/NixOS/nixpkgs/pull/366004
|
||||||
|
# introduced a breaking change that if a module is declared but it is not being used it will fail.
|
||||||
|
ignoreConfigErrors = true;
|
||||||
|
|
||||||
|
kernelPatches = [
|
||||||
|
];
|
||||||
|
|
||||||
|
autoModules = false;
|
||||||
|
|
||||||
|
extraConfig = ''
|
||||||
|
CRYPTO_TLS m
|
||||||
|
TLS y
|
||||||
|
MD_RAID0 m
|
||||||
|
MD_RAID1 m
|
||||||
|
MD_RAID10 m
|
||||||
|
MD_RAID456 m
|
||||||
|
DM_VERITY m
|
||||||
|
LOGO y
|
||||||
|
FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER n
|
||||||
|
FB_EFI n
|
||||||
|
EFI_STUB y
|
||||||
|
EFI y
|
||||||
|
VIRTIO y
|
||||||
|
VIRTIO_PCI y
|
||||||
|
VIRTIO_BLK y
|
||||||
|
DRM_VIRTIO_GPU y
|
||||||
|
EXT4_FS y
|
||||||
|
USBIP_CORE m
|
||||||
|
USBIP_VHCI_HCD m
|
||||||
|
USBIP_HOST m
|
||||||
|
USBIP_VUDC m
|
||||||
|
'';
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "compulab-yokneam";
|
||||||
|
repo = "linux-compulab";
|
||||||
|
# tag: linux-compulab_6.6.36
|
||||||
|
rev = "b93daaad0807fb15d4f3f1a6e5be843ac7532ef7";
|
||||||
|
sha256 = "sha256-wCeuGXBTz3H6OFWBA1M1/t/9WgxBVjQ8FU/wvAUVW2w=";
|
||||||
|
};
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/compulab-yokneam/linux-compulab";
|
||||||
|
license = licenses.gpl2Only;
|
||||||
|
maintainers = [
|
||||||
|
{
|
||||||
|
name = "Govind Singh";
|
||||||
|
email = "govind.singh@tii.ae";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
platforms = [ "aarch64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
// (args.argsOverride or { })
|
||||||
|
)
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
buildPackages,
|
||||||
|
gcc-arm-embedded,
|
||||||
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
metaBspImx95Rev = "5f4c7b5db846fa3a75055054e32215089d15a7b7"; # scarthgap
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "imx95-imx-oei";
|
||||||
|
version = "lf-6.6.36-2.1.0";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
buildPackages.python3
|
||||||
|
gcc-arm-embedded
|
||||||
|
];
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "nxp-imx";
|
||||||
|
repo = "imx-oei";
|
||||||
|
rev = "5fca9f47544d03c52ca371eadfffbfd2454e6925";
|
||||||
|
sha256 = "sha256-Sb6u1NlhJpDCOKBu3HqUb4BLEy0F8LYVnJE0tRSvzWc=";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-oei/imx-oei/0001-Add-CompuLab-lpddr5_timing.c.patch";
|
||||||
|
sha256 = "sha256-6ZpBOXw2aIhD2i9Wx368xfHq6NvdZghWHU9u8+gRTj8=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-oei/imx-oei/0002-board-mx95lp5-Fix-default-DDR_CONFIG-timing-name.patch";
|
||||||
|
sha256 = "sha256-WZ/vYaTC2iKIC+jnHtnPriCxK9gjRsOv2Uy13Ye4698=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-oei/imx-oei/0003-Add-CompuLab-lpddr5_timing_4g.c.patch";
|
||||||
|
sha256 = "sha256-yyierv2USZlM8Cuxf4FDj4+UtILvJQH9BJSj+fmayL8=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace oei/makefiles/build_info.mak \
|
||||||
|
--replace-fail "/bin/echo" "echo"
|
||||||
|
substituteInPlace Makefile \
|
||||||
|
--replace-fail "/bin/echo" "echo"
|
||||||
|
'';
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"board=mx95lp5"
|
||||||
|
"CROSS_COMPILE=${gcc-arm-embedded}/bin/arm-none-eabi-"
|
||||||
|
"OEI_CROSS_COMPILE=${gcc-arm-embedded}/bin/arm-none-eabi-"
|
||||||
|
"ARCH=arm"
|
||||||
|
"DDR_CONFIG=lpddr5_timing"
|
||||||
|
"oei=ddr"
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out
|
||||||
|
cp build/mx95lp5/ddr/oei-m33-ddr.bin $out/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/nxp-imx/imx-oei";
|
||||||
|
description = "Optional Executable Image assembler for i.MX95 processors";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = [
|
||||||
|
{
|
||||||
|
name = "Govind Singh";
|
||||||
|
email = "govind.singh@tii.ae";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
platforms = [ "aarch64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
buildPackages,
|
||||||
|
gcc-arm-embedded,
|
||||||
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
metaBspImx95Rev = "5f4c7b5db846fa3a75055054e32215089d15a7b7"; # scarthgap
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "imx95-imx-oei-tcm";
|
||||||
|
version = "lf-6.6.36-2.1.0";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
buildPackages.python3
|
||||||
|
gcc-arm-embedded
|
||||||
|
];
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "nxp-imx";
|
||||||
|
repo = "imx-oei";
|
||||||
|
rev = "5fca9f47544d03c52ca371eadfffbfd2454e6925";
|
||||||
|
sha256 = "sha256-Sb6u1NlhJpDCOKBu3HqUb4BLEy0F8LYVnJE0tRSvzWc=";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-oei/imx-oei/0001-Add-CompuLab-lpddr5_timing.c.patch";
|
||||||
|
sha256 = "sha256-6ZpBOXw2aIhD2i9Wx368xfHq6NvdZghWHU9u8+gRTj8=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-oei/imx-oei/0002-board-mx95lp5-Fix-default-DDR_CONFIG-timing-name.patch";
|
||||||
|
sha256 = "sha256-WZ/vYaTC2iKIC+jnHtnPriCxK9gjRsOv2Uy13Ye4698=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-oei/imx-oei/0003-Add-CompuLab-lpddr5_timing_4g.c.patch";
|
||||||
|
sha256 = "sha256-yyierv2USZlM8Cuxf4FDj4+UtILvJQH9BJSj+fmayL8=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace oei/makefiles/build_info.mak \
|
||||||
|
--replace-fail "/bin/echo" "echo"
|
||||||
|
substituteInPlace Makefile \
|
||||||
|
--replace-fail "/bin/echo" "echo"
|
||||||
|
'';
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"board=mx95lp5"
|
||||||
|
"CROSS_COMPILE=${gcc-arm-embedded}/bin/arm-none-eabi-"
|
||||||
|
"OEI_CROSS_COMPILE=${gcc-arm-embedded}/bin/arm-none-eabi-"
|
||||||
|
"ARCH=arm"
|
||||||
|
"DDR_CONFIG=lpddr5_timing"
|
||||||
|
"oei=tcm"
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out
|
||||||
|
cp build/mx95lp5/tcm/oei-m33-tcm.bin $out/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/nxp-imx/imx-oei";
|
||||||
|
description = "Optional Executable Image assembler for i.MX95 processors";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = [
|
||||||
|
{
|
||||||
|
name = "Govind Singh";
|
||||||
|
email = "govind.singh@tii.ae";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
platforms = [ "aarch64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
buildPackages,
|
||||||
|
bash,
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (buildPackages) python3;
|
||||||
|
toolchain = stdenv.cc;
|
||||||
|
binutils = stdenv.cc.bintools.bintools_bin;
|
||||||
|
cpp = stdenv.cc;
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "imx95-optee-os";
|
||||||
|
version = "lf-6.6.36_2.1.0";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
python3
|
||||||
|
];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
pycryptodomex
|
||||||
|
pyelftools
|
||||||
|
cryptography
|
||||||
|
];
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "nxp-imx";
|
||||||
|
repo = "imx-optee-os";
|
||||||
|
rev = "612bc5a642a4608d282abeee2349d86de996d7ee";
|
||||||
|
sha256 = "sha256-l8GKkrlBs5kgw6jrzGLT9WAeTSDqo8XWZDFT2+Fisv4=";
|
||||||
|
};
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/nxp-imx/imx-optee-os";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = [
|
||||||
|
{
|
||||||
|
name = "Govind Singh";
|
||||||
|
email = "govind.singh@tii.ae";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
platforms = [ "aarch64-linux" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace scripts/arm32_sysreg.py \
|
||||||
|
--replace-fail '/usr/bin/env python3' '${python3}/bin/python'
|
||||||
|
substituteInPlace scripts/gen_tee_bin.py \
|
||||||
|
--replace-fail '/usr/bin/env python3' '${python3}/bin/python'
|
||||||
|
substituteInPlace scripts/pem_to_pub_c.py \
|
||||||
|
--replace-fail '/usr/bin/env python3' '${python3}/bin/python'
|
||||||
|
substituteInPlace ta/pkcs11/scripts/verify-helpers.sh \
|
||||||
|
--replace-fail '/bin/bash' '${bash}/bin/bash'
|
||||||
|
substituteInPlace mk/gcc.mk \
|
||||||
|
--replace-fail "\$(CROSS_COMPILE_\$(sm))objcopy" ${binutils}/bin/${toolchain.targetPrefix}objcopy
|
||||||
|
substituteInPlace mk/gcc.mk \
|
||||||
|
--replace-fail "\$(CROSS_COMPILE_\$(sm))objdump" ${binutils}/bin/${toolchain.targetPrefix}objdump
|
||||||
|
substituteInPlace mk/gcc.mk \
|
||||||
|
--replace-fail "\$(CROSS_COMPILE_\$(sm))nm" ${binutils}/bin/${toolchain.targetPrefix}nm
|
||||||
|
substituteInPlace mk/gcc.mk \
|
||||||
|
--replace-fail "\$(CROSS_COMPILE_\$(sm))readelf" ${binutils}/bin/${toolchain.targetPrefix}readelf
|
||||||
|
substituteInPlace mk/gcc.mk \
|
||||||
|
--replace-fail "\$(CROSS_COMPILE_\$(sm))ar" ${binutils}/bin/${toolchain.targetPrefix}ar
|
||||||
|
substituteInPlace mk/gcc.mk \
|
||||||
|
--replace-fail "\$(CROSS_COMPILE_\$(sm))cpp" ${cpp}/bin/${toolchain.targetPrefix}cpp
|
||||||
|
'';
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"PLATFORM=imx-mx95evk"
|
||||||
|
"CFG_ARM64_core=y"
|
||||||
|
"CFG_TEE_TA_LOG_LEVEL=0"
|
||||||
|
"CFG_TEE_CORE_LOG_LEVEL=0"
|
||||||
|
"CROSS_COMPILE=${toolchain}/bin/${toolchain.targetPrefix}"
|
||||||
|
"CROSS_COMPILE64=${toolchain}/bin/${toolchain.targetPrefix}"
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out
|
||||||
|
cp ./out/arm-plat-imx/core/tee-raw.bin $out/tee.bin
|
||||||
|
'';
|
||||||
|
}
|
||||||
@@ -0,0 +1,92 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
buildPackages,
|
||||||
|
gcc-arm-embedded,
|
||||||
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
metaBspImx95Rev = "224eed17cddc573061150e9d2ce6f9acb39ea50e"; # scarthgap-6.6.36-EVAL-UCM-iMX95-1.0
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "imx95-sm-fw";
|
||||||
|
version = "lf-6.6.36-2.1.0";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
buildPackages.python3
|
||||||
|
gcc-arm-embedded
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = with buildPackages.python3.pkgs; [
|
||||||
|
pycryptodomex
|
||||||
|
pyelftools
|
||||||
|
cryptography
|
||||||
|
];
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "nxp-imx";
|
||||||
|
repo = "imx-sm";
|
||||||
|
rev = "709deccd9338399eb39b5cf99a60eab4fa60d539";
|
||||||
|
sha256 = "sha256-02Cl+XhWGSFswspdBJ/4B/mBm4XTs/qKotx0BXMQpJk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-system-manager/imx-system-manager/0001-Add-mcimx95cust-board.patch";
|
||||||
|
sha256 = "sha256-zvZ4bNew+yRPmaZQMrAH087KpCLRqz6zdElfe72Dtuc=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-system-manager/imx-system-manager/0002-Fix-null-pionter-except.patch";
|
||||||
|
sha256 = "sha256-q72VEvJqm2CmOxdWMqGibgXS5lY08mC4srEcy00QdrE=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-system-manager/imx-system-manager/0001-update-for-yocto-6.6.36-compatibility.patch";
|
||||||
|
sha256 = "sha256-JzHqDiD/ZOu6VQQI0JxY17RQ3bA2t1aP3O1sjLPguWs=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-system-manager/imx-system-manager/0003-sm-Disable-GPIO1-10-interrupt.patch";
|
||||||
|
sha256 = "sha256-dhcDv7Uq856+MBonczMPznk+tuqUFxTcHiKLX+myCVA=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx95/${metaBspImx95Rev}/recipes-bsp/imx-system-manager/imx-system-manager/0004-configs-mx95cust-change-LPTPM1-ownership.patch";
|
||||||
|
sha256 = "sha256-NcLu6+zXpiSz1bHKW14Zuf6F/4pzKsekb+zaRtKjSTY=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace sm/makefiles/gcc_cross.mak \
|
||||||
|
--replace-fail "\$(SM_CROSS_COMPILE)objcopy" ${gcc-arm-embedded}/bin/arm-none-eabi-objcopy
|
||||||
|
substituteInPlace sm/makefiles/build_info.mak \
|
||||||
|
--replace-fail "/bin/echo" "echo"
|
||||||
|
substituteInPlace sm/makefiles/gcc_cross.mak \
|
||||||
|
--replace-fail 'SM_CROSS_COMPILE ?= $(TOOLS)/arm-gnu-toolchain-*-none-eabi/bin/arm-none-eabi-' \
|
||||||
|
'SM_CROSS_COMPILE ?= $(CROSS_COMPILE)'
|
||||||
|
'';
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"config=mx95cust"
|
||||||
|
"M=2"
|
||||||
|
"CROSS_COMPILE=${gcc-arm-embedded}/bin/arm-none-eabi-"
|
||||||
|
"CROSS_COMPILE64=${gcc-arm-embedded}/bin/arm-none-eabi-"
|
||||||
|
"ARCH=arm"
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out
|
||||||
|
cp build/mx95cust/m33_image.bin $out/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/nxp-imx/imx-sm";
|
||||||
|
description = "System Manager firmware for i.MX processors";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = [
|
||||||
|
{
|
||||||
|
name = "Govind Singh";
|
||||||
|
email = "govind.singh@tii.ae";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
platforms = [ "aarch64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,95 @@
|
|||||||
|
{
|
||||||
|
stdenv,
|
||||||
|
lib,
|
||||||
|
bison,
|
||||||
|
dtc,
|
||||||
|
fetchFromGitHub,
|
||||||
|
flex,
|
||||||
|
gnutls,
|
||||||
|
libuuid,
|
||||||
|
ncurses,
|
||||||
|
openssl,
|
||||||
|
which,
|
||||||
|
perl,
|
||||||
|
buildPackages,
|
||||||
|
efitools,
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ubsrc = fetchFromGitHub {
|
||||||
|
owner = "compulab-yokneam";
|
||||||
|
repo = "u-boot-compulab";
|
||||||
|
# tag: lf_v2024.04
|
||||||
|
rev = "824401fe487d7d3cbcf251bd60270bd7fe8d21d0";
|
||||||
|
sha256 = "sha256-m+YW7+XF/jcNKfyb5533LXGyOWvStqY+MCczAdcNGZI=";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "imx95-uboot";
|
||||||
|
version = "2024.04";
|
||||||
|
src = ubsrc;
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs tools
|
||||||
|
patchShebangs scripts
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
bison
|
||||||
|
flex
|
||||||
|
openssl
|
||||||
|
which
|
||||||
|
ncurses
|
||||||
|
libuuid
|
||||||
|
gnutls
|
||||||
|
openssl
|
||||||
|
perl
|
||||||
|
efitools
|
||||||
|
];
|
||||||
|
|
||||||
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||||
|
hardeningDisable = [ "all" ];
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"DTC=${lib.getExe buildPackages.dtc}"
|
||||||
|
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
|
||||||
|
];
|
||||||
|
|
||||||
|
extraConfig = ''
|
||||||
|
CONFIG_USE_BOOTCOMMAND=y
|
||||||
|
CONFIG_BOOTCOMMAND="setenv ramdisk_addr_r 0x97000000; setenv fdt_addr_r 0x96000000; run distro_bootcmd; "
|
||||||
|
CONFIG_CMD_BOOTEFI_SELFTEST=y
|
||||||
|
CONFIG_CMD_BOOTEFI=y
|
||||||
|
CONFIG_EFI_LOADER=y
|
||||||
|
CONFIG_BLK=y
|
||||||
|
CONFIG_PARTITIONS=y
|
||||||
|
CONFIG_DM_DEVICE_REMOVE=n
|
||||||
|
CONFIG_CMD_CACHE=y
|
||||||
|
'';
|
||||||
|
|
||||||
|
passAsFile = [ "extraConfig" ];
|
||||||
|
|
||||||
|
configurePhase = ''
|
||||||
|
runHook preConfigure
|
||||||
|
|
||||||
|
make ucm-imx95_defconfig
|
||||||
|
cat $extraConfigPath >> .config
|
||||||
|
make olddefconfig
|
||||||
|
|
||||||
|
runHook postConfigure
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $out
|
||||||
|
cp ./u-boot-nodtb.bin $out
|
||||||
|
cp ./spl/u-boot-spl.bin $out
|
||||||
|
cp ./arch/arm/dts/ucm-imx95.dtb $out
|
||||||
|
cp .config $out
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
dontStrip = true;
|
||||||
|
}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(import ./overlay.nix)
|
||||||
|
];
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
./modules.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.loader.grub.extraFiles = {
|
||||||
|
"ucm-imx95.dtb" = "${pkgs.callPackage ./bsp/ucm-imx95-linux.nix { }}/dtbs/compulab/ucm-imx95.dtb";
|
||||||
|
};
|
||||||
|
|
||||||
|
hardware.deviceTree = {
|
||||||
|
filter = "ucm-imx95.dtb";
|
||||||
|
name = "ucm-imx95.dtb";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
nixpkgs.hostPlatform.system = "aarch64-linux";
|
||||||
|
|
||||||
|
boot = {
|
||||||
|
kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./bsp/ucm-imx95-linux.nix { });
|
||||||
|
initrd.includeDefaultModules = lib.mkForce false;
|
||||||
|
};
|
||||||
|
|
||||||
|
disabledModules = [ "profiles/all-hardware.nix" ];
|
||||||
|
|
||||||
|
hardware.deviceTree.enable = true;
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
final: _prev: {
|
||||||
|
inherit (final.callPackage ./bsp/ucm-imx95-boot.nix { pkgs = final; }) imx95-boot;
|
||||||
|
}
|
||||||
@@ -6,16 +6,8 @@
|
|||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.enableAllFirmware = lib.mkDefault true;
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
fwupd.enable = lib.mkDefault true;
|
fwupd.enable = lib.mkDefault true;
|
||||||
thermald.enable = lib.mkDefault true;
|
thermald.enable = lib.mkDefault true;
|
||||||
};
|
};
|
||||||
|
|
||||||
boot = {
|
|
||||||
# needs to be explicitly loaded or else bluetooth/wifi won't work.
|
|
||||||
kernelModules = [ "wl" ];
|
|
||||||
extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,95 @@
|
|||||||
|
# Dell Latitude 3530
|
||||||
|
|
||||||
|
Laptop was release in 2022, Has official Ubuntu Certification: https://ubuntu.com/certified/202205-30271
|
||||||
|
Every hardware in this laptop works with/is supported by upstream Linux Kernel 6.18 LTS as of 23-10-2026
|
||||||
|
The UEFI firmware of this laptop has an issue where it will cause random system hangs if Hyperthreading is turned off, behavior observed under both Windows and various Linux distros.
|
||||||
|
|
||||||
|
`lspci` output and product name confirmation :
|
||||||
|
|
||||||
|
```bash
|
||||||
|
❯ cat /sys/class/dmi/id/product_name
|
||||||
|
Latitude 3530
|
||||||
|
|
||||||
|
❯ lspci -nnk
|
||||||
|
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:4609] (rev 04)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-UP3 GT1 [UHD Graphics] [8086:46b3] (rev 0c)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
Kernel driver in use: i915
|
||||||
|
Kernel modules: i915, xe
|
||||||
|
00:04.0 Signal processing controller [1180]: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant [8086:461d] (rev 04)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
Kernel driver in use: proc_thermal_pci
|
||||||
|
Kernel modules: processor_thermal_device_pci
|
||||||
|
00:06.0 PCI bridge [0604]: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 [8086:464d] (rev 04)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
Kernel driver in use: pcieport
|
||||||
|
00:07.0 PCI bridge [0604]: Intel Corporation Alder Lake-P Thunderbolt 4 PCI Express Root Port #0 [8086:466e] (rev 04)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
Kernel driver in use: pcieport
|
||||||
|
00:08.0 System peripheral [0880]: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator [8086:464f] (rev 04)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
00:0d.0 USB controller [0c03]: Intel Corporation Alder Lake-P Thunderbolt 4 USB Controller [8086:461e] (rev 04)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
Kernel driver in use: xhci_hcd
|
||||||
|
Kernel modules: xhci_pci
|
||||||
|
00:0d.2 USB controller [0c03]: Intel Corporation Alder Lake-P Thunderbolt 4 NHI #0 [8086:463e] (rev 04)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
Kernel driver in use: thunderbolt
|
||||||
|
Kernel modules: thunderbolt
|
||||||
|
00:12.0 Serial controller [0700]: Intel Corporation Alder Lake-P Integrated Sensor Hub [8086:51fc] (rev 01)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
Kernel driver in use: intel_ish_ipc
|
||||||
|
Kernel modules: 8250_pci, intel_ish_ipc
|
||||||
|
00:14.0 USB controller [0c03]: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller [8086:51ed] (rev 01)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
Kernel driver in use: xhci_hcd
|
||||||
|
Kernel modules: xhci_pci
|
||||||
|
00:14.2 RAM memory [0500]: Intel Corporation Alder Lake PCH Shared SRAM [8086:51ef] (rev 01)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
00:14.3 Network controller [0280]: Intel Corporation Alder Lake-P PCH CNVi WiFi [8086:51f0] (rev 01)
|
||||||
|
Subsystem: Intel Corporation Dual Band Wi-Fi 6(802.11ax) AX201 160MHz 2x2 [Harrison Peak] [8086:4070]
|
||||||
|
Kernel driver in use: iwlwifi
|
||||||
|
Kernel modules: iwlwifi
|
||||||
|
00:15.0 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 [8086:51e8] (rev 01)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
Kernel driver in use: intel-lpss
|
||||||
|
Kernel modules: intel_lpss_pci
|
||||||
|
00:15.1 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 [8086:51e9] (rev 01)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
Kernel driver in use: intel-lpss
|
||||||
|
Kernel modules: intel_lpss_pci
|
||||||
|
00:16.0 Communication controller [0780]: Intel Corporation Alder Lake PCH HECI Controller [8086:51e0] (rev 01)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
Kernel driver in use: mei_me
|
||||||
|
Kernel modules: mei_me
|
||||||
|
00:17.0 SATA controller [0106]: Intel Corporation Alder Lake-P SATA AHCI Controller [8086:51d3] (rev 01)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
Kernel driver in use: ahci
|
||||||
|
Kernel modules: ahci
|
||||||
|
00:1d.0 PCI bridge [0604]: Intel Corporation Alder Lake PCI Express Root Port #9 [8086:51b0] (rev 01)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
Kernel driver in use: pcieport
|
||||||
|
00:1f.0 ISA bridge [0601]: Intel Corporation Alder Lake PCH eSPI Controller [8086:5182] (rev 01)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Alder Lake PCH-P High Definition Audio Controller [8086:51c8] (rev 01)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
Kernel driver in use: sof-audio-pci-intel-tgl
|
||||||
|
Kernel modules: snd_soc_avs, snd_sof_pci_intel_tgl, snd_hda_intel
|
||||||
|
00:1f.4 SMBus [0c05]: Intel Corporation Alder Lake PCH-P SMBus Host Controller [8086:51a3] (rev 01)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
Kernel driver in use: i801_smbus
|
||||||
|
Kernel modules: i2c_i801
|
||||||
|
00:1f.5 Serial bus controller [0c80]: Intel Corporation Alder Lake-P PCH SPI Controller [8086:51a4] (rev 01)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
Kernel driver in use: intel-spi
|
||||||
|
Kernel modules: spi_intel_pci
|
||||||
|
01:00.0 Non-Volatile memory controller [0108]: SK hynix BC901 NVMe Solid State Drive (DRAM-less) [1c5c:1d59] (rev 03)
|
||||||
|
Subsystem: SK hynix BC901 NVMe Solid State Drive (DRAM-less) [1c5c:1d59]
|
||||||
|
Kernel driver in use: nvme
|
||||||
|
Kernel modules: nvme
|
||||||
|
2c:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
|
||||||
|
Subsystem: Dell Device [1028:0bc3]
|
||||||
|
Kernel driver in use: r8169
|
||||||
|
Kernel modules: r8169
|
||||||
|
```
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../../../common/cpu/intel/alder-lake
|
||||||
|
../../../common/pc/laptop
|
||||||
|
../../../common/pc/ssd
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -13,7 +13,6 @@
|
|||||||
"i915.enable_guc=3"
|
"i915.enable_guc=3"
|
||||||
"i915.fastboot=1"
|
"i915.fastboot=1"
|
||||||
# needed for keyboard
|
# needed for keyboard
|
||||||
"i8042.dumbkbd=1"
|
|
||||||
"i8042.nopnp=1"
|
"i8042.nopnp=1"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../../../common/cpu/intel/haswell
|
||||||
|
../../../common/pc/laptop
|
||||||
|
../../../common/pc/ssd
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
# Override the Intel gpu driver setting imported above
|
# Override the Intel gpu driver setting imported above
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
VDPAU_DRIVER = lib.mkIf config.hardware.opengl.enable (lib.mkOverride 990 "nvidia");
|
VDPAU_DRIVER = lib.mkIf config.hardware.graphics.enable (lib.mkOverride 990 "nvidia");
|
||||||
};
|
};
|
||||||
|
|
||||||
services.thermald.enable = lib.mkDefault true;
|
services.thermald.enable = lib.mkDefault true;
|
||||||
|
|||||||
@@ -1,66 +0,0 @@
|
|||||||
{
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
../../../common/pc/laptop
|
|
||||||
../../../common/pc/ssd
|
|
||||||
../../../common/cpu/intel
|
|
||||||
../../../common/gpu/nvidia/prime.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
boot = {
|
|
||||||
kernelModules = [ "kvm-intel" ];
|
|
||||||
initrd.availableKernelModules = [
|
|
||||||
"xhci_pci"
|
|
||||||
"ahci"
|
|
||||||
"thunderbolt"
|
|
||||||
"nvme"
|
|
||||||
"usb_storage"
|
|
||||||
"sd_mod"
|
|
||||||
"rtsx_pci_sdmmc"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
hardware = {
|
|
||||||
# Audio
|
|
||||||
enableRedistributableFirmware = lib.mkDefault true;
|
|
||||||
|
|
||||||
# Webcam
|
|
||||||
ipu6 = {
|
|
||||||
enable = lib.mkDefault true;
|
|
||||||
platform = lib.mkDefault "ipu6ep";
|
|
||||||
};
|
|
||||||
|
|
||||||
bluetooth = {
|
|
||||||
enable = lib.mkDefault true;
|
|
||||||
powerOnBoot = lib.mkDefault true;
|
|
||||||
};
|
|
||||||
|
|
||||||
graphics.enable = lib.mkDefault true;
|
|
||||||
intel-gpu-tools.enable = lib.mkDefault true;
|
|
||||||
|
|
||||||
nvidia = {
|
|
||||||
modesetting.enable = lib.mkDefault true;
|
|
||||||
nvidiaSettings = lib.mkDefault true;
|
|
||||||
open = lib.mkDefault false;
|
|
||||||
|
|
||||||
powerManagement = {
|
|
||||||
enable = lib.mkDefault true;
|
|
||||||
finegrained = lib.mkDefault true;
|
|
||||||
};
|
|
||||||
|
|
||||||
prime = {
|
|
||||||
intelBusId = lib.mkDefault "PCI:00:02:0";
|
|
||||||
nvidiaBusId = lib.mkDefault "PCI:01:00:0";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
|
||||||
fwupd.enable = lib.mkDefault true; # update firmware
|
|
||||||
hardware.bolt.enable = lib.mkDefault true; # use thunderbolt
|
|
||||||
thermald.enable = lib.mkDefault true; # cpu temp management
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../../../common/cpu/intel
|
||||||
|
../../../common/pc
|
||||||
|
../../../common/pc/ssd
|
||||||
|
../../../common/gpu/nvidia
|
||||||
|
];
|
||||||
|
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [
|
||||||
|
"xhci_pci"
|
||||||
|
"ahci"
|
||||||
|
"vmd"
|
||||||
|
"nvme"
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware = {
|
||||||
|
nvidia = {
|
||||||
|
nvidiaSettings = lib.mkDefault true;
|
||||||
|
package = lib.mkDefault config.boot.kernelPackages.nvidiaPackages.legacy_580;
|
||||||
|
open = lib.mkDefault false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||||
|
}
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [
|
||||||
"xhci_pci"
|
"xhci_pci"
|
||||||
"ahci"
|
"ahci"
|
||||||
"usb_storage"
|
"usb-storage"
|
||||||
"sd_mod"
|
"sd_mod"
|
||||||
"rtsx_pci_sdmmc"
|
"rtsx_pci_sdmmc"
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -13,11 +13,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
# needs to be explicitly loaded or else bluetooth/wifi won't work
|
|
||||||
kernelModules = [
|
kernelModules = [
|
||||||
"kvm-intel"
|
"kvm-intel"
|
||||||
"wl"
|
|
||||||
];
|
];
|
||||||
extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
= Dell XPS 15 9550 =
|
= Dell XPS 15 9500 =
|
||||||
|
|
||||||
== Tested Hardware ==
|
== Tested Hardware ==
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ lib, ... }:
|
{ lib, pkgs, ... }:
|
||||||
let
|
let
|
||||||
thermald-conf = ./thermald-conf.xml;
|
thermald-conf = ./thermald-conf.xml;
|
||||||
in
|
in
|
||||||
@@ -19,6 +19,14 @@ in
|
|||||||
# was generated with dptfxtract-static (https://github.com/intel/dptfxtract)
|
# was generated with dptfxtract-static (https://github.com/intel/dptfxtract)
|
||||||
services.thermald.configFile = lib.mkDefault thermald-conf;
|
services.thermald.configFile = lib.mkDefault thermald-conf;
|
||||||
|
|
||||||
|
# Enable fingerprint reader
|
||||||
|
services.fprintd = {
|
||||||
|
enable = lib.mkDefault true;
|
||||||
|
# Fingerprint sensor will not work without these settings
|
||||||
|
tod.enable = true;
|
||||||
|
tod.driver = pkgs.libfprint-2-tod1-goodix;
|
||||||
|
};
|
||||||
|
|
||||||
# WiFi speed is slow and crashes by default (https://bugzilla.kernel.org/show_bug.cgi?id=213381)
|
# WiFi speed is slow and crashes by default (https://bugzilla.kernel.org/show_bug.cgi?id=213381)
|
||||||
# disable_11ax - required until ax driver support is fixed
|
# disable_11ax - required until ax driver support is fixed
|
||||||
# power_save - works well on this card
|
# power_save - works well on this card
|
||||||
|
|||||||
Generated
+18
-1
@@ -1,6 +1,23 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"root": {}
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1789546076,
|
||||||
|
"narHash": "sha256-vWkSk5bbfTqdtMoSgD9FshACO8JCvXTFi+3cqEp0mH0=",
|
||||||
|
"rev": "b1b875982b17dabde9b4a37f3e229e74913e6db3",
|
||||||
|
"type": "tarball",
|
||||||
|
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1074753.b1b875982b17/nixexprs.tar.xz"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "tarball",
|
||||||
|
"url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
"version": 7
|
"version": 7
|
||||||
|
|||||||
@@ -1,8 +1,37 @@
|
|||||||
{
|
{
|
||||||
description = "nixos-hardware";
|
description = "nixos-hardware";
|
||||||
|
|
||||||
|
inputs.nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz";
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
{ ... }:
|
{ self, nixpkgs, ... }:
|
||||||
|
let
|
||||||
|
# Import private inputs (for development)
|
||||||
|
privateInputs =
|
||||||
|
(import ./tests/flake-compat.nix {
|
||||||
|
src = {
|
||||||
|
outPath = self.outPath + "/tests";
|
||||||
|
};
|
||||||
|
}).defaultNix;
|
||||||
|
|
||||||
|
systems = [
|
||||||
|
"aarch64-linux"
|
||||||
|
"riscv64-linux"
|
||||||
|
"x86_64-linux"
|
||||||
|
];
|
||||||
|
|
||||||
|
formatSystems = [
|
||||||
|
"aarch64-linux"
|
||||||
|
"x86_64-linux"
|
||||||
|
"aarch64-darwin"
|
||||||
|
];
|
||||||
|
|
||||||
|
# Helper to iterate over systems
|
||||||
|
eachSystem = f: nixpkgs.lib.genAttrs systems (system: f nixpkgs.legacyPackages.${system} system);
|
||||||
|
|
||||||
|
eachSystemFormat =
|
||||||
|
f: nixpkgs.lib.genAttrs formatSystems (system: f nixpkgs.legacyPackages.${system} system);
|
||||||
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
nixosModules =
|
nixosModules =
|
||||||
@@ -14,8 +43,11 @@
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
acer-aspire-4810t = import ./acer/aspire/4810t;
|
acer-aspire-4810t = import ./acer/aspire/4810t;
|
||||||
|
acer-nitro-5-an515-55 = import ./acer/nitro/5/an515-55;
|
||||||
|
acer-predator-helios-300-ph315-51 = import ./acer/predator/helios/300/ph315-51;
|
||||||
airis-n990 = import ./airis/n990;
|
airis-n990 = import ./airis/n990;
|
||||||
aoostar-r1-n100 = import ./aoostar/r1/n100;
|
aoostar-r1-n100 = import ./aoostar/r1/n100;
|
||||||
|
apple-imac-12-2 = import ./apple/imac/12-2;
|
||||||
apple-imac-14-2 = import ./apple/imac/14-2;
|
apple-imac-14-2 = import ./apple/imac/14-2;
|
||||||
apple-imac-18-2 = import ./apple/imac/18-2;
|
apple-imac-18-2 = import ./apple/imac/18-2;
|
||||||
apple-macbook-air-3 = import ./apple/macbook-air/3;
|
apple-macbook-air-3 = import ./apple/macbook-air/3;
|
||||||
@@ -33,26 +65,35 @@
|
|||||||
apple-macbook-pro-14-1 = import ./apple/macbook-pro/14-1;
|
apple-macbook-pro-14-1 = import ./apple/macbook-pro/14-1;
|
||||||
apple-macmini-4-1 = import ./apple/macmini/4;
|
apple-macmini-4-1 = import ./apple/macmini/4;
|
||||||
apple-t2 = import ./apple/t2;
|
apple-t2 = import ./apple/t2;
|
||||||
|
asrock-rack-altrad8ud-1l2t = import ./asrock-rack/altrad8ud-1l2t;
|
||||||
asus-battery = import ./asus/battery.nix;
|
asus-battery = import ./asus/battery.nix;
|
||||||
asus-ally-rc71l = import ./asus/ally/rc71l;
|
asus-ally-rc71l = import ./asus/ally/rc71l;
|
||||||
asus-fx504gd = import ./asus/fx504gd;
|
asus-fx504gd = import ./asus/fx504gd;
|
||||||
asus-fx506hm = import ./asus/fx506hm;
|
asus-fx506hm = import ./asus/fx506hm;
|
||||||
asus-fa506ic = import ./asus/fa506ic;
|
asus-fa506ic = import ./asus/fa506ic;
|
||||||
|
asus-fa506nc = import ./asus/fa506nc;
|
||||||
asus-fa507nv = import ./asus/fa507nv;
|
asus-fa507nv = import ./asus/fa507nv;
|
||||||
asus-fa507rm = import ./asus/fa507rm;
|
asus-fa507rm = import ./asus/fa507rm;
|
||||||
|
asus-fa706ic = import ./asus/fa706ic;
|
||||||
asus-flow-gv302x-amdgpu = import ./asus/flow/gv302x/amdgpu;
|
asus-flow-gv302x-amdgpu = import ./asus/flow/gv302x/amdgpu;
|
||||||
asus-flow-gv302x-nvidia = import ./asus/flow/gv302x/nvidia;
|
asus-flow-gv302x-nvidia = import ./asus/flow/gv302x/nvidia;
|
||||||
|
asus-flow-gz301vu = import ./asus/flow/gz301vu;
|
||||||
|
asus-proart-px13 = import ./asus/proart/px13;
|
||||||
|
asus-proart-px13-hn7306eac = import ./asus/proart/px13/hn7306eac;
|
||||||
asus-pro-ws-x570-ace = import ./asus/pro-ws-x570-ace;
|
asus-pro-ws-x570-ace = import ./asus/pro-ws-x570-ace;
|
||||||
|
asus-rog-gl552vw = import ./asus/rog-gl552vw;
|
||||||
asus-rog-strix-g513im = import ./asus/rog-strix/g513im;
|
asus-rog-strix-g513im = import ./asus/rog-strix/g513im;
|
||||||
asus-rog-strix-g533zw = import ./asus/rog-strix/g533zw;
|
asus-rog-strix-g533zw = import ./asus/rog-strix/g533zw;
|
||||||
asus-rog-strix-g533q = import ./asus/rog-strix/g533q;
|
asus-rog-strix-g533q = import ./asus/rog-strix/g533q;
|
||||||
asus-rog-strix-g713ie = import ./asus/rog-strix/g713ie;
|
asus-rog-strix-g713ie = import ./asus/rog-strix/g713ie;
|
||||||
asus-rog-strix-g733qs = import ./asus/rog-strix/g733qs;
|
asus-rog-strix-g733qs = import ./asus/rog-strix/g733qs;
|
||||||
asus-rog-strix-x570e = import ./asus/rog-strix/x570e;
|
asus-rog-strix-x570e = import ./asus/rog-strix/x570e;
|
||||||
|
asus-zenbook-um6702 = import ./asus/zenbook/um6702;
|
||||||
asus-zenbook-ux371 = import ./asus/zenbook/ux371;
|
asus-zenbook-ux371 = import ./asus/zenbook/ux371;
|
||||||
asus-zenbook-ux535 = import ./asus/zenbook/ux535;
|
asus-zenbook-ux535 = import ./asus/zenbook/ux535;
|
||||||
asus-zenbook-ux481-intelgpu = import ./asus/zenbook/ux481/intelgpu;
|
asus-zenbook-ux481-intelgpu = import ./asus/zenbook/ux481/intelgpu;
|
||||||
asus-zenbook-ux481-nvidia = import ./asus/zenbook/ux481/nvidia;
|
asus-zenbook-ux481-nvidia = import ./asus/zenbook/ux481/nvidia;
|
||||||
|
asus-zephyrus-ga401iv = import ./asus/zephyrus/ga401iv;
|
||||||
asus-zephyrus-ga401 = import ./asus/zephyrus/ga401;
|
asus-zephyrus-ga401 = import ./asus/zephyrus/ga401;
|
||||||
asus-zephyrus-ga402 = import ./asus/zephyrus/ga402;
|
asus-zephyrus-ga402 = import ./asus/zephyrus/ga402;
|
||||||
asus-zephyrus-ga402x = import ./asus/zephyrus/ga402x;
|
asus-zephyrus-ga402x = import ./asus/zephyrus/ga402x;
|
||||||
@@ -61,7 +102,9 @@
|
|||||||
asus-zephyrus-ga502 = import ./asus/zephyrus/ga502;
|
asus-zephyrus-ga502 = import ./asus/zephyrus/ga502;
|
||||||
asus-zephyrus-ga503 = import ./asus/zephyrus/ga503;
|
asus-zephyrus-ga503 = import ./asus/zephyrus/ga503;
|
||||||
asus-zephyrus-gu603h = import ./asus/zephyrus/gu603h;
|
asus-zephyrus-gu603h = import ./asus/zephyrus/gu603h;
|
||||||
|
asus-zephyrus-gu605cw = import ./asus/zephyrus/gu605cw;
|
||||||
asus-zephyrus-gu605my = import ./asus/zephyrus/gu605my;
|
asus-zephyrus-gu605my = import ./asus/zephyrus/gu605my;
|
||||||
|
bananapi-bpi-sm10 = import ./bananapi/bpi-sm10;
|
||||||
beagleboard-pocketbeagle = import ./beagleboard/pocketbeagle;
|
beagleboard-pocketbeagle = import ./beagleboard/pocketbeagle;
|
||||||
chuwi-minibook-x = import ./chuwi/minibook-x;
|
chuwi-minibook-x = import ./chuwi/minibook-x;
|
||||||
deciso-dec = import ./deciso/dec;
|
deciso-dec = import ./deciso/dec;
|
||||||
@@ -77,6 +120,7 @@
|
|||||||
dell-inspiron-7559 = import ./dell/inspiron/7559;
|
dell-inspiron-7559 = import ./dell/inspiron/7559;
|
||||||
dell-latitude-3340 = import ./dell/latitude/3340;
|
dell-latitude-3340 = import ./dell/latitude/3340;
|
||||||
dell-latitude-3480 = import ./dell/latitude/3480;
|
dell-latitude-3480 = import ./dell/latitude/3480;
|
||||||
|
dell-latitude-3530 = import ./dell/latitude/3530;
|
||||||
dell-latitude-5490 = import ./dell/latitude/5490;
|
dell-latitude-5490 = import ./dell/latitude/5490;
|
||||||
dell-latitude-5520 = import ./dell/latitude/5520;
|
dell-latitude-5520 = import ./dell/latitude/5520;
|
||||||
dell-latitude-7280 = import ./dell/latitude/7280;
|
dell-latitude-7280 = import ./dell/latitude/7280;
|
||||||
@@ -86,6 +130,7 @@
|
|||||||
dell-latitude-7490 = import ./dell/latitude/7490;
|
dell-latitude-7490 = import ./dell/latitude/7490;
|
||||||
dell-latitude-9430 = import ./dell/latitude/9430;
|
dell-latitude-9430 = import ./dell/latitude/9430;
|
||||||
dell-latitude-e7240 = import ./dell/latitude/e7240;
|
dell-latitude-e7240 = import ./dell/latitude/e7240;
|
||||||
|
dell-latitude-e7440 = import ./dell/latitude/e7440;
|
||||||
dell-optiplex-3050 = import ./dell/optiplex/3050;
|
dell-optiplex-3050 = import ./dell/optiplex/3050;
|
||||||
dell-poweredge-r7515 = import ./dell/poweredge/r7515;
|
dell-poweredge-r7515 = import ./dell/poweredge/r7515;
|
||||||
dell-precision-3490 = deprecated "1491" "dell-precision-3490" (import ./dell/precision/3490);
|
dell-precision-3490 = deprecated "1491" "dell-precision-3490" (import ./dell/precision/3490);
|
||||||
@@ -96,7 +141,7 @@
|
|||||||
dell-precision-5530 = import ./dell/precision/5530;
|
dell-precision-5530 = import ./dell/precision/5530;
|
||||||
dell-precision-5560 = import ./dell/precision/5560;
|
dell-precision-5560 = import ./dell/precision/5560;
|
||||||
dell-precision-5570 = import ./dell/precision/5570;
|
dell-precision-5570 = import ./dell/precision/5570;
|
||||||
dell-precision-5680 = import ./dell/precision/5680;
|
dell-precision-5820 = import ./dell/precision/5820;
|
||||||
dell-precision-7520 = import ./dell/precision/7520;
|
dell-precision-7520 = import ./dell/precision/7520;
|
||||||
dell-xps-13-7390 = import ./dell/xps/13-7390;
|
dell-xps-13-7390 = import ./dell/xps/13-7390;
|
||||||
dell-xps-13-9300 = import ./dell/xps/13-9300;
|
dell-xps-13-9300 = import ./dell/xps/13-9300;
|
||||||
@@ -135,10 +180,12 @@
|
|||||||
framework-13th-gen-intel = import ./framework/13-inch/13th-gen-intel;
|
framework-13th-gen-intel = import ./framework/13-inch/13th-gen-intel;
|
||||||
framework-12-13th-gen-intel = import ./framework/12-inch/13th-gen-intel;
|
framework-12-13th-gen-intel = import ./framework/12-inch/13th-gen-intel;
|
||||||
framework-intel-core-ultra-series1 = import ./framework/13-inch/intel-core-ultra-series1;
|
framework-intel-core-ultra-series1 = import ./framework/13-inch/intel-core-ultra-series1;
|
||||||
|
framework-intel-core-ultra-series3 = import ./framework/13-inch/intel-core-ultra-series3;
|
||||||
framework-13-7040-amd = import ./framework/13-inch/7040-amd;
|
framework-13-7040-amd = import ./framework/13-inch/7040-amd;
|
||||||
framework-amd-ai-300-series = import ./framework/13-inch/amd-ai-300-series;
|
framework-amd-ai-300-series = import ./framework/13-inch/amd-ai-300-series;
|
||||||
framework-16-7040-amd = import ./framework/16-inch/7040-amd;
|
framework-16-7040-amd = import ./framework/16-inch/7040-amd;
|
||||||
framework-16-amd-ai-300-series = import ./framework/16-inch/amd-ai-300-series;
|
framework-16-amd-ai-300-series = import ./framework/16-inch/amd-ai-300-series;
|
||||||
|
framework-16-amd-ai-300-series-nvidia = import ./framework/16-inch/amd-ai-300-series/nvidia;
|
||||||
framework-desktop-amd-ai-max-300-series = import ./framework/desktop/amd-ai-max-300-series;
|
framework-desktop-amd-ai-max-300-series = import ./framework/desktop/amd-ai-max-300-series;
|
||||||
friendlyarm-nanopc-t4 = import ./friendlyarm/nanopc-t4;
|
friendlyarm-nanopc-t4 = import ./friendlyarm/nanopc-t4;
|
||||||
friendlyarm-nanopi-r5s = import ./friendlyarm/nanopi-r5s;
|
friendlyarm-nanopi-r5s = import ./friendlyarm/nanopi-r5s;
|
||||||
@@ -148,6 +195,9 @@
|
|||||||
gigabyte-b650 = import ./gigabyte/b650;
|
gigabyte-b650 = import ./gigabyte/b650;
|
||||||
gmktec-nucbox-g3-plus = import ./gmktec/nucbox/g3-plus;
|
gmktec-nucbox-g3-plus = import ./gmktec/nucbox/g3-plus;
|
||||||
google-pixelbook = import ./google/pixelbook;
|
google-pixelbook = import ./google/pixelbook;
|
||||||
|
google-brya = import ./google/brya;
|
||||||
|
google-rex = import ./google/rex;
|
||||||
|
gpd-duo = import ./gpd/duo;
|
||||||
gpd-micropc = import ./gpd/micropc;
|
gpd-micropc = import ./gpd/micropc;
|
||||||
gpd-p2-max = import ./gpd/p2-max;
|
gpd-p2-max = import ./gpd/p2-max;
|
||||||
gpd-pocket-3 = import ./gpd/pocket-3;
|
gpd-pocket-3 = import ./gpd/pocket-3;
|
||||||
@@ -163,10 +213,13 @@
|
|||||||
hp-probook-440G5 = import ./hp/probook/440G5;
|
hp-probook-440G5 = import ./hp/probook/440G5;
|
||||||
hp-probook-460G11 = import ./hp/probook/460G11;
|
hp-probook-460G11 = import ./hp/probook/460G11;
|
||||||
hp-laptop-14s-dq2024nf = import ./hp/laptop/14s-dq2024nf;
|
hp-laptop-14s-dq2024nf = import ./hp/laptop/14s-dq2024nf;
|
||||||
|
hp-laptop-15s-fq1xxx = import ./hp/laptop/15s-fq1xxx;
|
||||||
huawei-machc-wa = import ./huawei/machc-wa;
|
huawei-machc-wa = import ./huawei/machc-wa;
|
||||||
hp-notebook-14-df0023 = import ./hp/notebook/14-df0023;
|
hp-notebook-14-df0023 = import ./hp/notebook/14-df0023;
|
||||||
intel-nuc-5i5ryb = import ./intel/nuc/5i5ryb;
|
intel-nuc-5i5ryb = import ./intel/nuc/5i5ryb;
|
||||||
|
intel-nuc-7i3bnb = import ./intel/nuc/7i3bnb;
|
||||||
intel-nuc-8i7beh = import ./intel/nuc/8i7beh;
|
intel-nuc-8i7beh = import ./intel/nuc/8i7beh;
|
||||||
|
intel-nuc-12wshi7 = import ./intel/nuc/12wshi7;
|
||||||
lenovo-ideacentre-k330 = import ./lenovo/ideacentre/k330;
|
lenovo-ideacentre-k330 = import ./lenovo/ideacentre/k330;
|
||||||
lenovo-ideapad-14imh9 = import ./lenovo/ideapad/14imh9;
|
lenovo-ideapad-14imh9 = import ./lenovo/ideapad/14imh9;
|
||||||
lenovo-ideapad-15alc6 = import ./lenovo/ideapad/15alc6;
|
lenovo-ideapad-15alc6 = import ./lenovo/ideapad/15alc6;
|
||||||
@@ -196,12 +249,14 @@
|
|||||||
lenovo-legion-16ithg6 = import ./lenovo/legion/16ithg6;
|
lenovo-legion-16ithg6 = import ./lenovo/legion/16ithg6;
|
||||||
lenovo-legion-16irx8h = import ./lenovo/legion/16irx8h;
|
lenovo-legion-16irx8h = import ./lenovo/legion/16irx8h;
|
||||||
lenovo-legion-16irx9h = import ./lenovo/legion/16irx9h;
|
lenovo-legion-16irx9h = import ./lenovo/legion/16irx9h;
|
||||||
|
lenovo-legion-16iax10h = import ./lenovo/legion/16iax10h;
|
||||||
lenovo-legion-t526amr5 = import ./lenovo/legion/t526amr5;
|
lenovo-legion-t526amr5 = import ./lenovo/legion/t526amr5;
|
||||||
lenovo-legion-y530-15ich = import ./lenovo/legion/15ich;
|
lenovo-legion-y530-15ich = import ./lenovo/legion/15ich;
|
||||||
lenovo-thinkpad = import ./lenovo/thinkpad;
|
lenovo-thinkpad = import ./lenovo/thinkpad;
|
||||||
lenovo-thinkpad-a475 = import ./lenovo/thinkpad/a475;
|
lenovo-thinkpad-a475 = import ./lenovo/thinkpad/a475;
|
||||||
lenovo-thinkpad-e14-amd = import ./lenovo/thinkpad/e14/amd;
|
lenovo-thinkpad-e14-amd = import ./lenovo/thinkpad/e14/amd;
|
||||||
lenovo-thinkpad-e14-intel = import ./lenovo/thinkpad/e14/intel;
|
lenovo-thinkpad-e14-intel = import ./lenovo/thinkpad/e14/intel;
|
||||||
|
lenovo-thinkpad-e14-intel-gen2 = import ./lenovo/thinkpad/e14/intel/gen2;
|
||||||
lenovo-thinkpad-e14-intel-gen4 = import ./lenovo/thinkpad/e14/intel/gen4;
|
lenovo-thinkpad-e14-intel-gen4 = import ./lenovo/thinkpad/e14/intel/gen4;
|
||||||
lenovo-thinkpad-e14-intel-gen6 = import ./lenovo/thinkpad/e14/intel/gen6;
|
lenovo-thinkpad-e14-intel-gen6 = import ./lenovo/thinkpad/e14/intel/gen6;
|
||||||
lenovo-thinkpad-e15-intel = import ./lenovo/thinkpad/e15/intel;
|
lenovo-thinkpad-e15-intel = import ./lenovo/thinkpad/e15/intel;
|
||||||
@@ -214,17 +269,23 @@
|
|||||||
lenovo-thinkpad-l480 = import ./lenovo/thinkpad/l480;
|
lenovo-thinkpad-l480 = import ./lenovo/thinkpad/l480;
|
||||||
lenovo-thinkpad-p1 = import ./lenovo/thinkpad/p1;
|
lenovo-thinkpad-p1 = import ./lenovo/thinkpad/p1;
|
||||||
lenovo-thinkpad-p1-gen3 = import ./lenovo/thinkpad/p1/3th-gen;
|
lenovo-thinkpad-p1-gen3 = import ./lenovo/thinkpad/p1/3th-gen;
|
||||||
|
lenovo-thinkpad-p1-gen5 = import ./lenovo/thinkpad/p1/gen5;
|
||||||
|
lenovo-thinkpad-p1-gen5-nvidia = import ./lenovo/thinkpad/p1/gen5/nvidia;
|
||||||
lenovo-thinkpad-p14s-amd-gen1 = import ./lenovo/thinkpad/p14s/amd/gen1;
|
lenovo-thinkpad-p14s-amd-gen1 = import ./lenovo/thinkpad/p14s/amd/gen1;
|
||||||
lenovo-thinkpad-p14s-amd-gen2 = import ./lenovo/thinkpad/p14s/amd/gen2;
|
lenovo-thinkpad-p14s-amd-gen2 = import ./lenovo/thinkpad/p14s/amd/gen2;
|
||||||
lenovo-thinkpad-p14s-amd-gen3 = import ./lenovo/thinkpad/p14s/amd/gen3;
|
lenovo-thinkpad-p14s-amd-gen3 = import ./lenovo/thinkpad/p14s/amd/gen3;
|
||||||
lenovo-thinkpad-p14s-amd-gen4 = import ./lenovo/thinkpad/p14s/amd/gen4;
|
lenovo-thinkpad-p14s-amd-gen4 = import ./lenovo/thinkpad/p14s/amd/gen4;
|
||||||
lenovo-thinkpad-p14s-amd-gen5 = import ./lenovo/thinkpad/p14s/amd/gen5;
|
lenovo-thinkpad-p14s-amd-gen5 = import ./lenovo/thinkpad/p14s/amd/gen5;
|
||||||
|
lenovo-thinkpad-p14s-amd-gen6 = import ./lenovo/thinkpad/p14s/amd/gen6;
|
||||||
|
lenovo-thinkpad-p14s-intel-gen2 = import ./lenovo/thinkpad/p14s/intel/gen2;
|
||||||
lenovo-thinkpad-p14s-intel-gen3 = import ./lenovo/thinkpad/p14s/intel/gen3;
|
lenovo-thinkpad-p14s-intel-gen3 = import ./lenovo/thinkpad/p14s/intel/gen3;
|
||||||
lenovo-thinkpad-p14s-intel-gen5 = import ./lenovo/thinkpad/p14s/intel/gen5;
|
lenovo-thinkpad-p14s-intel-gen5 = import ./lenovo/thinkpad/p14s/intel/gen5;
|
||||||
|
lenovo-thinkpad-p15v-intel-gen3 = import ./lenovo/thinkpad/p15v/intel/gen3;
|
||||||
lenovo-thinkpad-p16s-amd-gen1 = import ./lenovo/thinkpad/p16s/amd/gen1;
|
lenovo-thinkpad-p16s-amd-gen1 = import ./lenovo/thinkpad/p16s/amd/gen1;
|
||||||
lenovo-thinkpad-p16s-amd-gen2 = import ./lenovo/thinkpad/p16s/amd/gen2;
|
lenovo-thinkpad-p16s-amd-gen2 = import ./lenovo/thinkpad/p16s/amd/gen2;
|
||||||
lenovo-thinkpad-p16s-amd-gen4 = import ./lenovo/thinkpad/p16s/amd/gen4;
|
lenovo-thinkpad-p16s-amd-gen4 = import ./lenovo/thinkpad/p16s/amd/gen4;
|
||||||
lenovo-thinkpad-p16s-intel-gen2 = import ./lenovo/thinkpad/p16s/intel/gen2;
|
lenovo-thinkpad-p16s-intel-gen2 = import ./lenovo/thinkpad/p16s/intel/gen2;
|
||||||
|
lenovo-thinkpad-p16s-intel-gen3 = import ./lenovo/thinkpad/p16s/intel/gen3;
|
||||||
lenovo-thinkpad-p43s = import ./lenovo/thinkpad/p43s;
|
lenovo-thinkpad-p43s = import ./lenovo/thinkpad/p43s;
|
||||||
lenovo-thinkpad-p50 = import ./lenovo/thinkpad/p50;
|
lenovo-thinkpad-p50 = import ./lenovo/thinkpad/p50;
|
||||||
lenovo-thinkpad-p51 = import ./lenovo/thinkpad/p51;
|
lenovo-thinkpad-p51 = import ./lenovo/thinkpad/p51;
|
||||||
@@ -265,6 +326,7 @@
|
|||||||
lenovo-thinkpad-x1-yoga = import ./lenovo/thinkpad/x1/yoga;
|
lenovo-thinkpad-x1-yoga = import ./lenovo/thinkpad/x1/yoga;
|
||||||
lenovo-thinkpad-x1-yoga-7th-gen = import ./lenovo/thinkpad/x1/yoga/7th-gen;
|
lenovo-thinkpad-x1-yoga-7th-gen = import ./lenovo/thinkpad/x1/yoga/7th-gen;
|
||||||
lenovo-thinkpad-x1-yoga-8th-gen = import ./lenovo/thinkpad/x1/yoga/8th-gen;
|
lenovo-thinkpad-x1-yoga-8th-gen = import ./lenovo/thinkpad/x1/yoga/8th-gen;
|
||||||
|
lenovo-thinkpad-x1-yoga-8th-gen-ipu6 = import ./lenovo/thinkpad/x1/yoga/8th-gen/ipu6;
|
||||||
lenovo-thinkpad-x1-2nd-gen = import ./lenovo/thinkpad/x1/2nd-gen;
|
lenovo-thinkpad-x1-2nd-gen = import ./lenovo/thinkpad/x1/2nd-gen;
|
||||||
lenovo-thinkpad-x1-6th-gen = import ./lenovo/thinkpad/x1/6th-gen;
|
lenovo-thinkpad-x1-6th-gen = import ./lenovo/thinkpad/x1/6th-gen;
|
||||||
lenovo-thinkpad-x1-7th-gen = import ./lenovo/thinkpad/x1/7th-gen;
|
lenovo-thinkpad-x1-7th-gen = import ./lenovo/thinkpad/x1/7th-gen;
|
||||||
@@ -304,6 +366,7 @@
|
|||||||
lenovo-yoga-7-14IAH7-hybrid = import ./lenovo/yoga/7/14IAH7/hybrid;
|
lenovo-yoga-7-14IAH7-hybrid = import ./lenovo/yoga/7/14IAH7/hybrid;
|
||||||
lenovo-yoga-7-14ILL10 = import ./lenovo/yoga/7/14ILL10;
|
lenovo-yoga-7-14ILL10 = import ./lenovo/yoga/7/14ILL10;
|
||||||
lenovo-yoga-7-slim-gen8 = import ./lenovo/yoga/7/slim/gen8;
|
lenovo-yoga-7-slim-gen8 = import ./lenovo/yoga/7/slim/gen8;
|
||||||
|
letsnote-cf-lx3 = import ./panasonic/letsnote/cf-lx3;
|
||||||
letsnote-cf-lx4 = import ./panasonic/letsnote/cf-lx4;
|
letsnote-cf-lx4 = import ./panasonic/letsnote/cf-lx4;
|
||||||
linglong-nova-studio = import ./linglong/nova-studio;
|
linglong-nova-studio = import ./linglong/nova-studio;
|
||||||
malibal-aon-s1-intel = import ./malibal/aon/s1;
|
malibal-aon-s1-intel = import ./malibal/aon/s1;
|
||||||
@@ -316,20 +379,30 @@
|
|||||||
microsoft-surface-pro-3 = import ./microsoft/surface-pro/3;
|
microsoft-surface-pro-3 = import ./microsoft/surface-pro/3;
|
||||||
microsoft-surface-pro-9 = import ./microsoft/surface-pro/9;
|
microsoft-surface-pro-9 = import ./microsoft/surface-pro/9;
|
||||||
milkv-pioneer = import ./milkv/pioneer;
|
milkv-pioneer = import ./milkv/pioneer;
|
||||||
|
minisforum-um690 = import ./minisforum/um690;
|
||||||
|
minisforum-um690s = import ./minisforum/um690s;
|
||||||
|
minisforum-um790-pro = import ./minisforum/um790-pro;
|
||||||
minisforum-v3 = import ./minisforum/v3;
|
minisforum-v3 = import ./minisforum/v3;
|
||||||
mnt-reform-rk3588 = import ./mnt/reform/rk3588;
|
mnt-reform-rk3588 = import ./mnt/reform/rk3588;
|
||||||
morefine-m600 = import ./morefine/m600;
|
morefine-m600 = import ./morefine/m600;
|
||||||
msi-b350-tomahawk = import ./msi/b350-tomahawk;
|
msi-b350-tomahawk = import ./msi/b350-tomahawk;
|
||||||
msi-b550-a-pro = import ./msi/b550-a-pro;
|
msi-b550-a-pro = import ./msi/b550-a-pro;
|
||||||
|
msi-b550-tomahawk = import ./msi/b550-tomahawk;
|
||||||
|
msi-gf63 = import ./msi/gf63;
|
||||||
msi-gs60 = import ./msi/gs60;
|
msi-gs60 = import ./msi/gs60;
|
||||||
msi-gl62 = import ./msi/gl62;
|
msi-gl62 = import ./msi/gl62;
|
||||||
msi-gl65-10SDR-492 = import ./msi/gl65/10SDR-492;
|
msi-gl65-10SDR-492 = import ./msi/gl65/10SDR-492;
|
||||||
|
msi-prestige-15-a10sc = import ./msi/prestige/15-a10sc;
|
||||||
|
msi-z370-pc-pro = import ./msi/z370-pc-pro;
|
||||||
nxp-imx8mp-evk = import ./nxp/imx8mp-evk;
|
nxp-imx8mp-evk = import ./nxp/imx8mp-evk;
|
||||||
nxp-imx8mq-evk = import ./nxp/imx8mq-evk;
|
nxp-imx8mq-evk = import ./nxp/imx8mq-evk;
|
||||||
nxp-imx8qm-mek = import ./nxp/imx8qm-mek;
|
nxp-imx8qm-mek = import ./nxp/imx8qm-mek;
|
||||||
|
nxp-imx93-evk = import ./nxp/imx93-evk;
|
||||||
|
ucm-imx95 = import ./compulab/ucm-imx95;
|
||||||
hardkernel-odroid-hc4 = import ./hardkernel/odroid-hc4;
|
hardkernel-odroid-hc4 = import ./hardkernel/odroid-hc4;
|
||||||
hardkernel-odroid-h3 = import ./hardkernel/odroid-h3;
|
hardkernel-odroid-h3 = import ./hardkernel/odroid-h3;
|
||||||
hardkernel-odroid-h4 = import ./hardkernel/odroid-h4;
|
hardkernel-odroid-h4 = import ./hardkernel/odroid-h4;
|
||||||
|
hardkernel-odroid-m1 = import ./hardkernel/odroid-m1;
|
||||||
omen-14-fb0798ng = import ./omen/14-fb0798ng;
|
omen-14-fb0798ng = import ./omen/14-fb0798ng;
|
||||||
omen-15-ce002ns = import ./omen/15-ce002ns;
|
omen-15-ce002ns = import ./omen/15-ce002ns;
|
||||||
omen-15-en0010ca = import ./omen/15-en0010ca;
|
omen-15-en0010ca = import ./omen/15-en0010ca;
|
||||||
@@ -347,10 +420,13 @@
|
|||||||
purism-librem-13v3 = import ./purism/librem/13v3;
|
purism-librem-13v3 = import ./purism/librem/13v3;
|
||||||
purism-librem-15v3 = import ./purism/librem/15v3;
|
purism-librem-15v3 = import ./purism/librem/15v3;
|
||||||
purism-librem-5r4 = import ./purism/librem/5r4;
|
purism-librem-5r4 = import ./purism/librem/5r4;
|
||||||
|
razer-blade-14-RZ09-0530 = import ./razer/blade/14/RZ09-0530;
|
||||||
|
raspberry-pi-1 = import ./raspberry-pi/1;
|
||||||
raspberry-pi-2 = import ./raspberry-pi/2;
|
raspberry-pi-2 = import ./raspberry-pi/2;
|
||||||
raspberry-pi-3 = import ./raspberry-pi/3;
|
raspberry-pi-3 = import ./raspberry-pi/3;
|
||||||
raspberry-pi-4 = import ./raspberry-pi/4;
|
raspberry-pi-4 = import ./raspberry-pi/4;
|
||||||
raspberry-pi-5 = import ./raspberry-pi/5;
|
raspberry-pi-5 = import ./raspberry-pi/5;
|
||||||
|
radxa-rock-3c = import ./radxa/rock-3c;
|
||||||
rock-4c-plus = import ./radxa/rock-4c-plus;
|
rock-4c-plus = import ./radxa/rock-4c-plus;
|
||||||
rock-5b = import ./radxa/rock-5b;
|
rock-5b = import ./radxa/rock-5b;
|
||||||
rock-pi-4 = import ./radxa/rock-pi-4;
|
rock-pi-4 = import ./radxa/rock-pi-4;
|
||||||
@@ -358,6 +434,7 @@
|
|||||||
kobol-helios4 = import ./kobol/helios4;
|
kobol-helios4 = import ./kobol/helios4;
|
||||||
samsung-np900x3c = import ./samsung/np900x3c;
|
samsung-np900x3c = import ./samsung/np900x3c;
|
||||||
slimbook-hero-rpl-rtx = import ./slimbook/hero/rpl-rtx;
|
slimbook-hero-rpl-rtx = import ./slimbook/hero/rpl-rtx;
|
||||||
|
spacemit-k3-pico-itx = import ./spacemit/k3-pico-itx;
|
||||||
starfive-visionfive-v1 = import ./starfive/visionfive/v1;
|
starfive-visionfive-v1 = import ./starfive/visionfive/v1;
|
||||||
starfive-visionfive-2 = import ./starfive/visionfive/v2;
|
starfive-visionfive-2 = import ./starfive/visionfive/v2;
|
||||||
starlabs-starlite-i5 = import ./starlabs/starlite/i5;
|
starlabs-starlite-i5 = import ./starlabs/starlite/i5;
|
||||||
@@ -371,12 +448,16 @@
|
|||||||
system76-galp5-1650 = import ./system76/galp5-1650;
|
system76-galp5-1650 = import ./system76/galp5-1650;
|
||||||
system76-darp6 = import ./system76/darp6;
|
system76-darp6 = import ./system76/darp6;
|
||||||
system76-thelio-mega = import ./system76/thelio-mega;
|
system76-thelio-mega = import ./system76/thelio-mega;
|
||||||
|
system76-galp3 = import ./system76/galp3;
|
||||||
toshiba-swanky = import ./toshiba/swanky;
|
toshiba-swanky = import ./toshiba/swanky;
|
||||||
tuxedo-aura-15-gen1 = import ./tuxedo/aura/15/gen1;
|
tuxedo-aura-15-gen1 = import ./tuxedo/aura/15/gen1;
|
||||||
tuxedo-infinitybook-v4 = import ./tuxedo/infinitybook/v4;
|
tuxedo-infinitybook-v4 = import ./tuxedo/infinitybook/v4;
|
||||||
tuxedo-infinitybook-pro14-gen7 = import ./tuxedo/infinitybook/pro14/gen7;
|
tuxedo-infinitybook-pro14-gen7 = import ./tuxedo/infinitybook/pro14/gen7;
|
||||||
tuxedo-infinitybook-pro14-gen9-amd = import ./tuxedo/infinitybook/pro14/gen9/amd;
|
tuxedo-infinitybook-pro14-gen9-amd = import ./tuxedo/infinitybook/pro14/gen9/amd;
|
||||||
tuxedo-infinitybook-pro14-gen9-intel = import ./tuxedo/infinitybook/pro14/gen9/intel;
|
tuxedo-infinitybook-pro14-gen9-intel = import ./tuxedo/infinitybook/pro14/gen9/intel;
|
||||||
|
tuxedo-infinitybook-pro14-gen10-amd = import ./tuxedo/infinitybook/pro14/gen10/amd;
|
||||||
|
tuxedo-infinitybook-pro15-gen10-amd = import ./tuxedo/infinitybook/pro15/gen10/amd;
|
||||||
|
tuxedo-infinitybook-pro15-gen10-intel = import ./tuxedo/infinitybook/pro15/gen10/intel;
|
||||||
tuxedo-pulse-14-gen3 = import ./tuxedo/pulse/14/gen3;
|
tuxedo-pulse-14-gen3 = import ./tuxedo/pulse/14/gen3;
|
||||||
tuxedo-pulse-15-gen2 = import ./tuxedo/pulse/15/gen2;
|
tuxedo-pulse-15-gen2 = import ./tuxedo/pulse/15/gen2;
|
||||||
xiaomi-redmibook-15-pro-2021 = import ./xiaomi/redmibook/15-pro-2021;
|
xiaomi-redmibook-15-pro-2021 = import ./xiaomi/redmibook/15-pro-2021;
|
||||||
@@ -387,16 +468,16 @@
|
|||||||
common-cpu-amd-zenpower = import ./common/cpu/amd/zenpower.nix;
|
common-cpu-amd-zenpower = import ./common/cpu/amd/zenpower.nix;
|
||||||
common-cpu-amd-raphael-igpu = import ./common/cpu/amd/raphael/igpu.nix;
|
common-cpu-amd-raphael-igpu = import ./common/cpu/amd/raphael/igpu.nix;
|
||||||
common-cpu-intel = import ./common/cpu/intel;
|
common-cpu-intel = import ./common/cpu/intel;
|
||||||
common-gpu-intel-comet-lake =
|
common-gpu-intel-comet-lake = deprecated "992" "common-gpu-intel-comet-lake" (
|
||||||
deprecated "992" "common-gpu-intel-comet-lake"
|
import ./common/gpu/intel/comet-lake
|
||||||
(import ./common/gpu/intel/comet-lake);
|
);
|
||||||
common-cpu-intel-cpu-only = import ./common/cpu/intel/cpu-only.nix;
|
common-cpu-intel-cpu-only = import ./common/cpu/intel/cpu-only.nix;
|
||||||
common-gpu-intel-kaby-lake =
|
common-gpu-intel-kaby-lake = deprecated "992" "common-gpu-intel-kaby-lake" (
|
||||||
deprecated "992" "common-gpu-intel-kaby-lake"
|
import ./common/gpu/intel/kaby-lake
|
||||||
(import ./common/gpu/intel/kaby-lake);
|
);
|
||||||
common-gpu-intel-sandy-bridge =
|
common-gpu-intel-sandy-bridge = deprecated "992" "common-gpu-intel-sandy-bridge" (
|
||||||
deprecated "992" "common-gpu-intel-sandy-bridge"
|
import ./common/gpu/intel/sandy-bridge
|
||||||
(import ./common/gpu/intel/sandy-bridge);
|
);
|
||||||
common-gpu-amd = import ./common/gpu/amd;
|
common-gpu-amd = import ./common/gpu/amd;
|
||||||
common-gpu-amd-sea-islands = import ./common/gpu/amd/sea-islands;
|
common-gpu-amd-sea-islands = import ./common/gpu/amd/sea-islands;
|
||||||
common-gpu-amd-southern-islands = import ./common/gpu/amd/southern-islands;
|
common-gpu-amd-southern-islands = import ./common/gpu/amd/southern-islands;
|
||||||
@@ -407,6 +488,7 @@
|
|||||||
common-gpu-nvidia-nonprime = import ./common/gpu/nvidia;
|
common-gpu-nvidia-nonprime = import ./common/gpu/nvidia;
|
||||||
common-gpu-nvidia-disable = import ./common/gpu/nvidia/disable.nix;
|
common-gpu-nvidia-disable = import ./common/gpu/nvidia/disable.nix;
|
||||||
common-hidpi = import ./common/hidpi.nix;
|
common-hidpi = import ./common/hidpi.nix;
|
||||||
|
common-networking-intel-x550 = import ./common/networking/intel/x550;
|
||||||
common-pc = import ./common/pc;
|
common-pc = import ./common/pc;
|
||||||
common-pc-hdd = import ./common/pc/hdd;
|
common-pc-hdd = import ./common/pc/hdd;
|
||||||
common-pc-laptop = import ./common/pc/laptop;
|
common-pc-laptop = import ./common/pc/laptop;
|
||||||
@@ -415,5 +497,74 @@
|
|||||||
common-pc-laptop-ssd = import ./common/pc/ssd;
|
common-pc-laptop-ssd = import ./common/pc/ssd;
|
||||||
common-pc-ssd = import ./common/pc/ssd;
|
common-pc-ssd = import ./common/pc/ssd;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Add formatter for `nix fmt`
|
||||||
|
formatter = eachSystemFormat (
|
||||||
|
pkgs: _system:
|
||||||
|
(privateInputs.treefmt-nix.lib.evalModule pkgs ./tests/treefmt.nix).config.build.wrapper
|
||||||
|
);
|
||||||
|
|
||||||
|
# Add packages
|
||||||
|
packages = eachSystem (
|
||||||
|
pkgs: system:
|
||||||
|
{
|
||||||
|
run-tests = pkgs.callPackage ./tests/run-tests.nix {
|
||||||
|
inherit self;
|
||||||
|
};
|
||||||
|
|
||||||
|
mnt-reform-kernel-patches = pkgs.callPackage ./mnt/reform/updateKernelPatches.nix { };
|
||||||
|
}
|
||||||
|
// pkgs.lib.optionalAttrs (system == "aarch64-linux") {
|
||||||
|
# Boot images for NXP i.MX boards (aarch64-linux only)
|
||||||
|
ucm-imx95-boot = (pkgs.callPackage ./compulab/ucm-imx95/bsp/ucm-imx95-boot.nix { }).imx95-boot;
|
||||||
|
imx93-boot = (pkgs.callPackage ./nxp/imx93-evk/bsp/imx93-boot.nix { }).imx93-boot;
|
||||||
|
imx8mp-boot = (pkgs.callPackage ./nxp/imx8mp-evk/bsp/imx8mp-boot.nix { }).imx8m-boot;
|
||||||
|
imx8mq-boot = (pkgs.callPackage ./nxp/imx8mq-evk/bsp/imx8mq-boot.nix { }).imx8m-boot;
|
||||||
|
purism-librem-5r4-uboot = pkgs.callPackage ./purism/librem/5r4/u-boot { };
|
||||||
|
# Raspberry Pi kernels (aarch64-linux only)
|
||||||
|
rpi2-kernel = (pkgs.callPackage ./raspberry-pi/common/kernel.nix { rpiVersion = 2; });
|
||||||
|
rpi3-kernel = (pkgs.callPackage ./raspberry-pi/common/kernel.nix { rpiVersion = 3; });
|
||||||
|
rpi4-kernel = (pkgs.callPackage ./raspberry-pi/common/kernel.nix { rpiVersion = 4; });
|
||||||
|
rpi5-kernel = (pkgs.callPackage ./raspberry-pi/common/kernel.nix { rpiVersion = 5; });
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
# Hydra jobset for Raspberry Pi kernels
|
||||||
|
hydraJobs = {
|
||||||
|
raspberry-pi-kernels = eachSystem (
|
||||||
|
pkgs: system:
|
||||||
|
pkgs.lib.optionalAttrs (system == "aarch64-linux") {
|
||||||
|
inherit (self.packages.${system})
|
||||||
|
rpi2-kernel
|
||||||
|
rpi3-kernel
|
||||||
|
rpi4-kernel
|
||||||
|
rpi5-kernel
|
||||||
|
;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
# Add checks for `nix run .#run-tests`
|
||||||
|
checks = eachSystem (
|
||||||
|
pkgs: system:
|
||||||
|
let
|
||||||
|
treefmtEval = privateInputs.treefmt-nix.lib.evalModule pkgs ./tests/treefmt.nix;
|
||||||
|
nixosTests = import ./tests/nixos-tests.nix {
|
||||||
|
inherit
|
||||||
|
self
|
||||||
|
privateInputs
|
||||||
|
system
|
||||||
|
pkgs
|
||||||
|
;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
pkgs.lib.optionalAttrs (self.formatter ? ${system}) {
|
||||||
|
formatting = treefmtEval.config.build.check self;
|
||||||
|
}
|
||||||
|
// {
|
||||||
|
raspberry-pi-config-txt = pkgs.callPackage ./tests/config-txt-tests.nix { };
|
||||||
|
}
|
||||||
|
// nixosTests
|
||||||
|
);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
"xhci_pci"
|
"xhci_pci"
|
||||||
"ahci"
|
"ahci"
|
||||||
"nvme"
|
"nvme"
|
||||||
"usb_storage"
|
"usb-storage"
|
||||||
"sd_mod"
|
"sd_mod"
|
||||||
"rtsx_pci_sdmmc"
|
"rtsx_pci_sdmmc"
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -12,3 +12,22 @@ $ fwupdmgr update
|
|||||||
```
|
```
|
||||||
|
|
||||||
- [Latest Update](https://fwupd.org/lvfs/devices/work.frame.Laptop12.RPL.BIOS.firmware)
|
- [Latest Update](https://fwupd.org/lvfs/devices/work.frame.Laptop12.RPL.BIOS.firmware)
|
||||||
|
|
||||||
|
## Touchscreen support in initrd (for unl0kr)
|
||||||
|
|
||||||
|
To unlock your LUKS disk encryption with an onscreen touch keyboard, you can use unl0kr.
|
||||||
|
|
||||||
|
This module will automatically included the necessary kernel modules in initrd to make touchpad and touchscreen work when `boot.initrd.unl0kr.enable = true`.
|
||||||
|
|
||||||
|
Example configuration:
|
||||||
|
|
||||||
|
```nix
|
||||||
|
{
|
||||||
|
boot.initrd.systemd.enable = true;
|
||||||
|
boot.initrd.unl0kr.enable = true;
|
||||||
|
|
||||||
|
boot.initrd.luks.devices."cryptroot" = {
|
||||||
|
device = "/dev/disk/by-uuid/YOUR-UUID-HERE";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -9,5 +9,15 @@
|
|||||||
# before soc_button_array. Otherwise the tablet mode gpio doesn't work.
|
# before soc_button_array. Otherwise the tablet mode gpio doesn't work.
|
||||||
# If correctly loaded, dmesg should show
|
# If correctly loaded, dmesg should show
|
||||||
# input: gpio-keys as /devices/platform/INT33D3:00
|
# input: gpio-keys as /devices/platform/INT33D3:00
|
||||||
boot.initrd.kernelModules = [ "pinctrl_tigerlake" ];
|
boot.initrd.kernelModules = [
|
||||||
|
"pinctrl_tigerlake"
|
||||||
|
]
|
||||||
|
# Additional modules for touchscreen/touchpad in initrd (for unl0kr on-screen keyboard)
|
||||||
|
++ lib.optionals config.boot.initrd.unl0kr.enable [
|
||||||
|
"intel_lpss_pci"
|
||||||
|
"i2c_hid_acpi"
|
||||||
|
"i2c_hid"
|
||||||
|
"hid_multitouch"
|
||||||
|
"hid_generic"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
@@ -3,7 +3,6 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/ssd
|
../../../common/pc/ssd
|
||||||
../../bluetooth.nix
|
|
||||||
../../kmod.nix
|
../../kmod.nix
|
||||||
../../framework-tool.nix
|
../../framework-tool.nix
|
||||||
];
|
];
|
||||||
|
|||||||
Loaded 100 of 349 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user