mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 17:38:41 +08:00
microsoft/surface: add kernel switching for LTS and latest kernels
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user