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

This commit is contained in:
Andre committed 2025-04-10 20:37:04 -04:00
1 parent de6fc55511
commit 8141742b12
9 files changed
+228 -87

No files matched your search

@@ -3,14 +3,13 @@
fetchurl,
buildLinux,
linuxPackagesFor,
repos,
}:
let
inherit (builtins) elem;
inherit (lib) recurseIntoAttrs types versions;
repos = pkgs.callPackage ../repos.nix {};
linuxPackage =
{ url ? "mirror://kernel/linux/kernel/v${versions.major version}.x/linux-${version}.tar.xz",
sha256 ? null,