mirror of
https://codeberg.org/mart-w/nixos-x13s.git
synced 2024-11-09 01:24:48 +01:00
31 lines
732 B
Nix
31 lines
732 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 = pkgs.callPackage linux_x13s_pkg {
|
|
src = sources.linux-jhovold;
|
|
version = "6.10.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 { };
|
|
|
|
uncompressed-firmware = pkgs.callPackage ./uncompressed-firmware.nix { };
|
|
}
|