Add config for Librem 5

This commit is contained in:
Alexander Bantyev
2023-02-14 02:23:27 +04:00
committed by Jörg Thalheim
parent 50dc4ef928
commit 9070d2340c
12 changed files with 424 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
{ buildLinux, fetchFromGitLab, ... }@args:
buildLinux (args // rec {
defconfig = "librem5_defconfig";
version = "6.1.10-librem5";
modDirVersion = version;
src = fetchFromGitLab {
domain = "source.puri.sm";
owner = "Librem5";
repo = "linux";
rev = "pureos/6.1.10pureos1";
hash = "sha256-Cc16vMUcJ/a2k3zMynqZ99t1LyTSs7EXKdNGF6OTS1s=";
};
kernelPatches = [ ];
} // args.argsOverride or { })

View File

@@ -0,0 +1,4 @@
final: prev: {
linuxPackages_librem5_6_1_10 = final.linuxPackagesFor (final.callPackage ./6.1.10.nix { });
linuxPackages_librem5 = final.linuxPackages_librem5_6_1_10;
}