mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-06 09:58:47 +08:00
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
This commit is contained in:
32
microsoft/surface/common/repos.nix
Normal file
32
microsoft/surface/common/repos.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ fetchFromGitHub }:
|
||||
|
||||
{
|
||||
linux-surface = fetchFromGitHub {
|
||||
owner = "linux-surface";
|
||||
repo = "linux-surface";
|
||||
rev = "8995c6b3b4fb659397f4ebc760c6ac8b5efc5488";
|
||||
sha256 = "sha256-r7nbW0WKmvw7mMZL1BzuFwgwftyN5FIfP5xLDiQMEiI=";
|
||||
};
|
||||
|
||||
# This is the owner and repo for the pre-patched kernel from the "linux-surface" project:
|
||||
linux-surface-kernel = { rev, sha256 }:
|
||||
fetchFromGitHub {
|
||||
owner = "linux-surface";
|
||||
repo = "kernel";
|
||||
inherit rev sha256;
|
||||
};
|
||||
|
||||
ath10k-firmware = fetchFromGitHub {
|
||||
owner = "kvalo";
|
||||
repo = "ath10k-firmware";
|
||||
rev = "c987e38cbdb90dcb4e477d5dd21de66c77996435";
|
||||
sha256 = "16a67baxlga8vb43zbby2s7kpp4488vczg3manmr9g3wxnhhb9n3";
|
||||
};
|
||||
|
||||
surface-go-ath10k-firmware_backup = fetchFromGitHub {
|
||||
owner = "mexisme";
|
||||
repo = "linux-surface_ath10k-firmware";
|
||||
rev = "74e5409e699383d6ca2bc4da4a8433d16f3850b1";
|
||||
sha256 = "169vgvxpgad9anmchs22fj5qm6ahzjfdnwhd8pc280q705vx6pjk";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user