mirror of
https://codeberg.org/mart-w/nixos-x13s.git
synced 2024-11-09 17:44:48 +01:00
31 lines
696 B
Nix
31 lines
696 B
Nix
{ lib, pkgs, ... }:
|
|
let
|
|
sources = import ../npins;
|
|
|
|
linux_x13s_pkg =
|
|
{ version, buildLinux, ... }@args:
|
|
buildLinux (
|
|
args
|
|
// {
|
|
modDirVersion = version;
|
|
|
|
kernelPatches = (args.kernelPatches or [ ]) ++ [ ];
|
|
extraMeta.branch = lib.versions.majorMinor version;
|
|
}
|
|
);
|
|
in
|
|
rec {
|
|
linux_jhovold = linux_jhovold_6_9;
|
|
|
|
linux_jhovold_6_9 = pkgs.callPackage linux_x13s_pkg {
|
|
src = sources.linux-jhovold;
|
|
version = "6.9.0-rc2";
|
|
defconfig = "johan_defconfig";
|
|
};
|
|
|
|
pd-mapper = pkgs.callPackage ./pd-mapper { inherit qrtr; };
|
|
qrtr = pkgs.callPackage ./qrtr { };
|
|
|
|
"x13s/extra-firmware" = pkgs.callPackage ./extra-firmware.nix { };
|
|
}
|