mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-03 14:33:29 +01:00
microsoft/surface: add kernel switching for LTS and latest kernels
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user