mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	Add-back linux-surface/linux-surface repo, for easy access to the kernel patches
This commit is contained in:
		@@ -1,11 +1,19 @@
 | 
			
		||||
{ lib, pkgs, fetchFromGitHub, fetchurl }: {
 | 
			
		||||
  linux-surface-kernel = fetchFromGitHub {
 | 
			
		||||
{ fetchFromGitHub, fetchurl }: {
 | 
			
		||||
  linux-surface = fetchFromGitHub {
 | 
			
		||||
    owner = "linux-surface";
 | 
			
		||||
    repo = "kernel";
 | 
			
		||||
    rev = "db94c89f56d6ceae03ca3802e11197f48e6c539f";
 | 
			
		||||
    sha256 = "0c58ri0i9gdb4w7l361pnkvq6ap17kmgnxngh0bcdmgn4dc88wx2";
 | 
			
		||||
    repo = "linux-surface";
 | 
			
		||||
    rev = "6d0fa58a6eadda44b35a3c5e60db2ed0fa0c101e";
 | 
			
		||||
    sha256 = "sha256-Jf6DN/pZaGIk58pA+CUylpl09Wi4vA3vKZC60b3WcOg=";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # 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";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user