1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-23 10:09:44 +01:00

Convert the repos.linux-surface-kernel set to a function

This commit is contained in:
mexisme 2022-11-28 20:00:53 +13:00
parent 0099253ad0
commit b32b188154

View file

@ -1,9 +1,10 @@
{ lib, pkgs, fetchFromGitHub, fetchurl }: {
linux-surface-kernel = fetchFromGitHub {
# 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";
rev = "db94c89f56d6ceae03ca3802e11197f48e6c539f";
sha256 = "0c58ri0i9gdb4w7l361pnkvq6ap17kmgnxngh0bcdmgn4dc88wx2";
inherit rev sha256;
};
ath10k-firmware = fetchFromGitHub {