1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 19:39:42 +01:00
Commit graph

203 commits

Author SHA1 Message Date
mexisme
ee8fef4149 Use the module assertions option, instead
- Assertion (failure) when trying to use microsoft/surface/default.nix
2023-01-11 01:39:03 +13:00
mexisme
9d4505d4e1 Update README 2023-01-11 01:39:03 +13:00
mexisme
f00dee1fdf Remove the "deprecated" module
- It makes more sense to error-out and provide information on how to update.
2023-01-11 00:29:15 +13:00
mexisme
157a74d8a4 "old" --> "deprecated" 2023-01-11 00:29:15 +13:00
mexisme
1e0872458b Merge remote-tracking branch 'upstream/master' into microsoft/surface/specialisation/common-files 2023-01-10 22:29:13 +13:00
mexisme
c1580f8d81
Update warning message
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-01-10 22:03:38 +13:00
mexisme
663ed7df79 Merge branch 'microsoft/surface/specialisation/common-files' into microsoft/surface/specialisation/surface-go 2023-01-10 17:31:02 +13:00
mexisme
9491d40621 README.md 2023-01-10 17:29:15 +13:00
mexisme
cd560b1ec3 README.md 2023-01-10 17:29:15 +13:00
mexisme
c52e0880de Add warning when importing microsoft/surface/ from now on 2023-01-10 17:29:15 +13:00
mexisme
cca1f04705 Move the last of the code into ./microsoft/common/old 2023-01-10 17:29:15 +13:00
mexisme
5b27563b02 Extract "surface-control" management into new option-enabled module 2023-01-10 17:29:15 +13:00
mexisme
b8f4e97171 Extract IPTSd management into new option-enabled module 2023-01-10 17:29:15 +13:00
mexisme
391211b351 Extract _actually_ common code out of microsoft/surface/default.nix 2023-01-10 17:29:15 +13:00
mexisme
7ff6c2fd67 Doc comment 2023-01-10 17:29:15 +13:00
mexisme
bd17dc4706 Move files around...
- "kernel" and "repos.nix" --> "common/"
- "firmware/surface-go/ath10k" --> "surface-go/firmware/ath10k"
- Update where "kernel", "firmware/surface-go" and "repos.nix" can be found
2023-01-10 17:29:13 +13:00
mexisme
210e621c62 Create model specialisation for MS Surface Go 2023-01-10 17:17:07 +13:00
mexisme
36f3e30fff README.md 2023-01-10 16:57:32 +13:00
mexisme
330cdaa125 README.md 2023-01-10 16:55:23 +13:00
mexisme
fb5ac77207 Add warning when importing microsoft/surface/ from now on 2023-01-10 16:35:25 +13:00
mexisme
ab0c9fe7ce Move the last of the code into ./microsoft/common/old 2023-01-10 16:33:49 +13:00
mexisme
f0835cb45c Extract "surface-control" management into new option-enabled module 2023-01-10 16:06:55 +13:00
mexisme
0ce988ea8a Extract IPTSd management into new option-enabled module 2023-01-10 16:06:55 +13:00
mexisme
51122e95a1 Extract _actually_ common code out of microsoft/surface/default.nix 2023-01-10 16:06:55 +13:00
mexisme
5e6d5f2d88 Doc comment 2023-01-10 15:38:47 +13:00
mexisme
03df3d2d53 Move files around...
- "kernel" and "repos.nix" --> "common/"
- "firmware/surface-go/ath10k" --> "surface-go/firmware/ath10k"
- Update where "kernel", "firmware/surface-go" and "repos.nix" can be found
2023-01-10 15:38:47 +13:00
mexisme
51e3be9885 Remove kernel 6.0.11 from MS Surface profile 2023-01-10 12:41:58 +13:00
mexisme
05bbf0f040 Update the rev. and sha256 of linux-surface repo to match latest "master" 2023-01-10 12:21:51 +13:00
mexisme
321d5ec9f7 Add kernel 6.1.3 2023-01-10 12:21:51 +13:00
mexisme
9020a320f5 Install kernel 6.0.17 by default 2023-01-09 23:45:16 +13:00
mexisme
0ee9d61fa6 Update the rev. and sha256 of linux-surface repo to match latest "master" 2023-01-09 23:44:36 +13:00
mexisme
800786f11d Add Kernel 6.0.17 2023-01-09 23:05:15 +13:00
Jörg Thalheim
03c6d15152 treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
mexisme
cd76050824 Update for code refactor 2022-12-05 17:51:33 +13:00
mexisme
560e4f2ecf Merge branch 'microsoft/surface/refactor-kernel-code' into microsoft/surface/kernel-6.0.11 2022-12-05 17:44:37 +13:00
mexisme
be728899cf Tidy-up 2022-12-05 17:42:40 +13:00
mexisme
e84ab22523 Extract the kernel patches out 2022-12-05 17:38:21 +13:00
mexisme
e37520e48b Rearrange the kernels to make them self-defining 2022-12-05 17:32:25 +13:00
mexisme
f99c9d5b1f Tidy-up 2022-12-05 16:04:11 +13:00
mexisme
d2b7a0fb9a Kernel 6.0.11 for MS Surface Devices 2022-12-05 14:40:24 +13:00
mexisme
76c6688e86 Merge branch 'microsoft/surface/refactor-kernel-code' into microsoft/surface/kernel-6.0.11 2022-12-05 13:41:07 +13:00
mexisme
b01a6d58df Remove obsolete file 2022-12-05 13:38:14 +13:00
mexisme
87597ab307 Remove obsolete files 2022-12-05 13:37:20 +13:00
mexisme
33d17074a3 Merge branch 'microsoft/surface/refactor-kernel-code' into microsoft/surface/kernel-6.0.11 2022-12-05 13:36:23 +13:00
mexisme
52dd282ee3 Merge branch 'up/master' into microsoft/surface/refactor-kernel-code 2022-12-05 12:18:27 +13:00
mexisme
3ad53f12b1 Merge branch 'up/master' into microsoft/surface/kernel-6.0.11 2022-12-05 12:00:56 +13:00
Christoph Charles
250d6991c9 surface/kernel: 5.16.11 -> 5.19.17 2022-12-04 17:34:44 +01:00
mexisme
87adbffa11 Fix-ups 2022-11-29 00:00:31 +13:00
mexisme
a51973c994 Add linux-surface patches for 5.19.2 2022-11-28 23:43:50 +13:00
mexisme
d93d29bdc9 Add-back linux-surface/linux-surface repo, for easy access to the kernel patches 2022-11-28 23:42:41 +13:00
mexisme
5d0ade6958 Add-back linux-surface/linux-surface repo, for easy access to the kernel patches 2022-11-28 23:21:34 +13:00
mexisme
50ce82cc84 Fix for unexpected recursion error
Might be related to how these packages access "pkgs" ?
2022-11-28 22:26:47 +13:00
mexisme
3de7b6e0c5 Use the newly refactored code 2022-11-28 20:37:07 +13:00
mexisme
158f86bb32 DRY the MS Surface kernel module 2022-11-28 20:37:07 +13:00
mexisme
35e317a280 Use new repos.linux-surface-kernel function 2022-11-28 20:37:07 +13:00
mexisme
b32b188154 Convert the repos.linux-surface-kernel set to a function 2022-11-28 20:37:07 +13:00
kiana-S
3e4d52da0a
surface/kernel: 5.13.4 -> 5.16.11 2022-03-04 13:41:15 +01:00
Mason Mackaman
b633d393e2 Refactor ath10k-replace to no longer need an outputHash
The outputHash would change and frequently cause this to not work. This
gets around the issue by using the built version firmwareLinuxNonfree as
a source instead of trying to patch it directly.
2022-02-20 12:23:14 -05:00
Jörg Thalheim
5e720c70a8 microsoft/surface: enable redistributable firmware 2022-02-02 09:49:37 +01:00
Jörg Thalheim
b9fb6c76d1 microsoft/surface: just inline hardware_configuration
Everything in nixos-hardware should be hardware configuration after all.
2022-02-02 09:49:37 +01:00
Philipp Dargel
70409005dd
microsoft/surface: add serial dev bus config 2021-11-17 07:34:41 +01:00
mexisme
12cced4eeb Fix outputHash 2021-08-25 16:57:46 +12:00
mexisme
286e778ab5 Fix source repo for MS Surface ATH10k Firmware image 2021-08-25 12:11:57 +12:00
Devin Singh
c8cbe52953
linux_surface 5.10.19->5.13.4 2021-08-02 13:34:29 -05:00
Tom Bereknyei
2bc0b595b5 surface: add iptsd 2021-05-27 18:41:26 +00:00
Sandro
bbb03cc6fe
Remove usage of stdenv.lib 2021-04-01 21:24:49 +02:00
Winter
6075b4d856 fix import 2021-03-22 16:48:20 -04:00
Winter
bf19677a5f nixfmt 2021-03-17 15:46:55 -04:00
Winter
007f1d8a07
Merge branch 'master' into surface-control 2021-03-17 15:45:28 -04:00
Winter
d3cd9a2229 microsoft-surface: add surface-control 2021-03-14 22:11:17 -04:00
mexisme
bfbb77e8f1 Use fetchFromGitHub instead of fetchgit 2021-03-06 22:48:50 +13:00
mexisme
523d8efb5d Should have used HTTP instead of SSH 2021-03-06 22:24:34 +13:00
mexisme
91162d3f17 Merge branch 'up/master' into microsoft/surface/firmware-surface-go 2021-03-06 22:18:02 +13:00
mexisme
94f7c2cb9c Mark as done 2021-03-06 20:56:06 +13:00
mexisme
920bffdfbc Disable some modules that aren't yet fully supported by the patches 2021-03-06 17:58:57 +13:00
mexisme
be4115ae23 Update the module options 2021-03-06 17:49:59 +13:00
mexisme
61210f5e44 Update to kernel 5.10.19
- Add kernel 5.10.19 and latest linux-surface patches
- Remove kernel 5.10.2

commit 7250b8cbb4
Author: mexisme <wildjim+dev@kiwinet.org>
Date:   Fri Feb 5 08:38:10 2021 +1300

commit 90b210dfee
Author: mexisme <wildjim+dev@kiwinet.org>
Date:   Fri Feb 5 08:37:41 2021 +1300

commit bbb5dec0e3
Author: mexisme <wildjim+dev@kiwinet.org>
Date:   Tue Feb 2 23:58:51 2021 +1300

commit bde79616d2
Author: mexisme <wildjim+dev@kiwinet.org>
Date:   Tue Feb 2 23:58:35 2021 +1300

commit be5b9c91ac
Author: mexisme <wildjim+dev@kiwinet.org>
Date:   Tue Feb 2 23:57:54 2021 +1300
2021-03-06 17:37:13 +13:00
mexisme
98d19435d0 Rename cfg option from "enable" --> "replace"
- Allows for @qzed's kernel patch: 22ef83836c
2021-03-06 15:38:17 +13:00
mexisme
128b64dada Relative path of repos not updated correctly 2021-03-06 11:28:12 +13:00
mexisme
6972d78ffb Remove (obsolete) Surface Go QCA6174 K1535 firmware binary 2021-03-06 11:07:43 +13:00
mexisme
e274b742e1 Use the ath10k QCA6174 K1535 firmware backup repo, instead 2021-03-05 08:33:27 +13:00
mexisme
4f6aad61b6 Update linux-surface/linux-surface Rev & SHA256 2021-02-27 22:41:53 +13:00
mexisme
9e7cd653f9 Fix repo source for K1535 2021-02-27 22:37:38 +13:00
mexisme
311c6bf0ef Ref to backup repo for Surface Go firmware 2021-02-27 22:37:38 +13:00
mexisme
e901e80233 Remove obsolete repo ref 2021-02-27 22:37:38 +13:00
mexisme
4bbf156238 Update README 2021-02-27 22:37:38 +13:00
mexisme
f8c3b6e50e Move a modprobe option for Surface Go Wifi device (ath10k) into that specific derivative 2021-02-23 17:59:34 +13:00
mexisme
eb2721b3f1 A few more details about using K1535 WiFi firmware 2021-02-23 17:48:50 +13:00
mexisme
a9b2d0e3f1 Update to a clearer directory-structure 2021-02-23 12:40:08 +13:00
mexisme
be2f416029 Update TODO.org 2021-02-09 17:19:58 +13:00
mexisme
72002dabdc Update README.md 2021-02-09 17:17:27 +13:00
mexisme
08076a7b73 Add initial metadata attribute for the additional source 2021-02-07 15:53:09 +13:00
mexisme
f9378480c0 Fix the output hash for the additional source 2021-02-07 15:52:22 +13:00
mexisme
080c44106f A temporary hack to install the Surface Go firmware 2021-02-07 13:31:26 +13:00
mexisme
9a35571829 Interim version of trying to update Surface Go Wifi in-place
- Can't seem to d/l the K1535 board firmware directly from Killer Networking?
2021-02-07 00:55:27 +13:00
Winter
d6a1231181
Add the Microsoft Surface configuration to flakes.nix (#226)
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2021-02-02 21:21:59 +00:00
mexisme
a0d8383c42
Port of linux-surface/linux-surface Kernel patches to NixOS (#221) 2021-01-23 06:36:37 +00:00
Yegor Timoshenko
d1d99eb158
treewide: mark things that have to be done 2017-12-25 22:07:47 +00:00
Yegor Timoshenko
3743ae21f5
treewide: only ever set unmergable options via lib.mkDefault
Also extract documentation from raspberry-pi/2/ profile.
2017-12-24 15:13:25 +00:00
Yegor Timoshenko
3c9f432a71 treewide: modules -> profiles, separate dirs, list in README (#29)
Enforce proper naming: all paths are lowercase and hyphen-separated,
if there's a line of models (aspire, macbook-pro, thinkpad) it becomes
a subdirectory. Documentation for profiles is moved to README files in
respective directories.

Add an Org mode table that lists all available profiles and their paths.

Instead of fetching repo locally, use a Nix channel. Making hardware
profiles read-only should improve quality and amount of participation
long-term.
2017-12-22 17:17:00 +00:00
Mateusz Czapliński
54e7857eaf microsoft/hyper-v: add forgotten overcommit_memory 2017-03-24 18:05:08 +01:00
Mateusz Czapliński
6874b73d55 add guide for running NixOS as Hyper-V guest 2017-03-24 17:49:14 +01:00
Emery Hemingway
fe0e5b767e import https://nixos.org/wiki/Microsoft_Surface_Pro_3
Fixes https://github.com/NixOS/nixpkgs/issues/13167
2016-02-26 11:42:57 +01:00