mirror of
https://github.com/xddxdd/nix-cachyos-kernel.git
synced 2026-07-03 19:18:07 +02:00
Remove v2 variants and add BORE v3/v4/zen4 variants (#50)
This commit is contained in:
parent
d34749b472
commit
8bbc225e11
@ -196,6 +196,8 @@
|
||||
cachyos-latest-lto = mkSystem "linuxPackages-cachyos-latest-lto";
|
||||
cachyos-lts = mkSystem "linuxPackages-cachyos-lts";
|
||||
cachyos-lts-lto = mkSystem "linuxPackages-cachyos-lts-lto";
|
||||
cachyos-bore = mkSystem "linuxPackages-cachyos-bore";
|
||||
cachyos-bore-lto = mkSystem "linuxPackages-cachyos-bore-lto";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@ -17,18 +17,12 @@ let
|
||||
in
|
||||
builtins.listToAttrs (
|
||||
builtins.map (v: lib.nameValuePair v.pname v) [
|
||||
# Latest kernel, provide all LTO/CPU arch variants
|
||||
# Latest kernel, provide all LTO and v3/v4/zen4 arch variants
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-latest";
|
||||
inherit (linuxSources.latest) version src;
|
||||
configVariant = "linux-cachyos";
|
||||
})
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-latest-x86_64-v2";
|
||||
inherit (linuxSources.latest) version src;
|
||||
configVariant = "linux-cachyos";
|
||||
processorOpt = "x86_64-v2";
|
||||
})
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-latest-x86_64-v3";
|
||||
inherit (linuxSources.latest) version src;
|
||||
@ -53,13 +47,6 @@ builtins.listToAttrs (
|
||||
configVariant = "linux-cachyos";
|
||||
lto = "thin";
|
||||
})
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-latest-lto-x86_64-v2";
|
||||
inherit (linuxSources.latest) version src;
|
||||
configVariant = "linux-cachyos";
|
||||
lto = "thin";
|
||||
processorOpt = "x86_64-v2";
|
||||
})
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-latest-lto-x86_64-v3";
|
||||
inherit (linuxSources.latest) version src;
|
||||
@ -88,12 +75,6 @@ builtins.listToAttrs (
|
||||
inherit (linuxSources.lts) version src;
|
||||
configVariant = "linux-cachyos-lts";
|
||||
})
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-lts-x86_64-v2";
|
||||
inherit (linuxSources.lts) version src;
|
||||
configVariant = "linux-cachyos-lts";
|
||||
processorOpt = "x86_64-v2";
|
||||
})
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-lts-x86_64-v3";
|
||||
inherit (linuxSources.lts) version src;
|
||||
@ -118,13 +99,6 @@ builtins.listToAttrs (
|
||||
configVariant = "linux-cachyos-lts";
|
||||
lto = "thin";
|
||||
})
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-lts-lto-x86_64-v2";
|
||||
inherit (linuxSources.lts) version src;
|
||||
configVariant = "linux-cachyos-lts";
|
||||
lto = "thin";
|
||||
processorOpt = "x86_64-v2";
|
||||
})
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-lts-lto-x86_64-v3";
|
||||
inherit (linuxSources.lts) version src;
|
||||
@ -147,6 +121,66 @@ builtins.listToAttrs (
|
||||
processorOpt = "zen4";
|
||||
})
|
||||
|
||||
# BORE variant
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-bore";
|
||||
inherit (linuxSources.latest) version src;
|
||||
configVariant = "linux-cachyos-bore";
|
||||
cpusched = "bore";
|
||||
})
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-bore-x86_64-v3";
|
||||
inherit (linuxSources.latest) version src;
|
||||
configVariant = "linux-cachyos-bore";
|
||||
cpusched = "bore";
|
||||
processorOpt = "x86_64-v3";
|
||||
})
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-bore-x86_64-v4";
|
||||
inherit (linuxSources.latest) version src;
|
||||
configVariant = "linux-cachyos-bore";
|
||||
cpusched = "bore";
|
||||
processorOpt = "x86_64-v4";
|
||||
})
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-bore-zen4";
|
||||
inherit (linuxSources.latest) version src;
|
||||
configVariant = "linux-cachyos-bore";
|
||||
cpusched = "bore";
|
||||
processorOpt = "zen4";
|
||||
})
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-bore-lto";
|
||||
inherit (linuxSources.latest) version src;
|
||||
configVariant = "linux-cachyos-bore";
|
||||
lto = "thin";
|
||||
cpusched = "bore";
|
||||
})
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-bore-lto-x86_64-v3";
|
||||
inherit (linuxSources.latest) version src;
|
||||
configVariant = "linux-cachyos-bore";
|
||||
lto = "thin";
|
||||
cpusched = "bore";
|
||||
processorOpt = "x86_64-v3";
|
||||
})
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-bore-lto-x86_64-v4";
|
||||
inherit (linuxSources.latest) version src;
|
||||
configVariant = "linux-cachyos-bore";
|
||||
lto = "thin";
|
||||
cpusched = "bore";
|
||||
processorOpt = "x86_64-v4";
|
||||
})
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-bore-lto-zen4";
|
||||
inherit (linuxSources.latest) version src;
|
||||
configVariant = "linux-cachyos-bore";
|
||||
lto = "thin";
|
||||
cpusched = "bore";
|
||||
processorOpt = "zen4";
|
||||
})
|
||||
|
||||
# Additional CachyOS provided variants
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-bmq";
|
||||
@ -161,19 +195,6 @@ builtins.listToAttrs (
|
||||
lto = "thin";
|
||||
cpusched = "bmq";
|
||||
})
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-bore";
|
||||
inherit (linuxSources.latest) version src;
|
||||
configVariant = "linux-cachyos-bore";
|
||||
cpusched = "bore";
|
||||
})
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-bore-lto";
|
||||
inherit (linuxSources.latest) version src;
|
||||
configVariant = "linux-cachyos-bore";
|
||||
lto = "thin";
|
||||
cpusched = "bore";
|
||||
})
|
||||
(mkCachyKernel {
|
||||
pname = "linux-cachyos-deckify";
|
||||
inherit (linuxSources.latest) version src;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user