moby: linux-armbian kernel: use enableCommonConfig
instead of copying the nixpkgs config into kernelPatches
This commit is contained in:
@@ -28,7 +28,7 @@ linux_latest.override {
|
|||||||
autoModules = withFullConfig;
|
autoModules = withFullConfig;
|
||||||
preferBuiltin = withFullConfig;
|
preferBuiltin = withFullConfig;
|
||||||
|
|
||||||
enableCommonConfig = false; #< common nix config enabled manually below
|
enableCommonConfig = withNixpkgsConfig;
|
||||||
|
|
||||||
kernelPatches = patches.megous.series ++
|
kernelPatches = patches.megous.series ++
|
||||||
# with patches.megous; [
|
# with patches.megous; [
|
||||||
@@ -388,12 +388,12 @@ linux_latest.override {
|
|||||||
MODEM_POWER = yes;
|
MODEM_POWER = yes;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
] ++ lib.optionals withNixpkgsConfig [
|
# ] ++ lib.optionals withNixpkgsConfig [
|
||||||
{
|
# {
|
||||||
name = "nixpkgs-config";
|
# name = "nixpkgs-config";
|
||||||
patch = null;
|
# patch = null;
|
||||||
extraStructuredConfig = linux_latest.commonStructuredConfig;
|
# extraStructuredConfig = linux_latest.commonStructuredConfig;
|
||||||
}
|
# }
|
||||||
] ++ lib.optionals usePmosConfig [
|
] ++ lib.optionals usePmosConfig [
|
||||||
{
|
{
|
||||||
name = "postmarketos-config";
|
name = "postmarketos-config";
|
||||||
|
Reference in New Issue
Block a user