microsoft/surface: add kernel switching for LTS and latest kernels

This commit is contained in:
Andre
2025-04-10 20:37:04 -04:00
parent de6fc55511
commit 8141742b12
9 changed files with 228 additions and 87 deletions

View File

@@ -1,7 +1,14 @@
{ stdenv, lib, pkgs, firmwareLinuxNonfree, ... }:
let
repos = pkgs.callPackage ../../../common/repos.nix {};
repos = pkgs.callPackage {
surface-go-ath10k-firmware_backup = lib.fetchFromGitHub {
owner = "mexisme";
repo = "linux-surface_ath10k-firmware";
rev = "74e5409e699383d6ca2bc4da4a8433d16f3850b1";
sha256 = "169vgvxpgad9anmchs22fj5qm6ahzjfdnwhd8pc280q705vx6pjk";
};
} {};
killernetworking_firmware = repos.surface-go-ath10k-firmware_backup + "/K1535_Debian";
in stdenv.mkDerivation {