moby: linux-armbian kernel: use enableCommonConfig instead of copying the nixpkgs config into kernelPatches

This commit is contained in:
2024-09-13 16:18:27 +00:00
parent 8b3e413cae
commit f3edeca237

View File

@@ -28,7 +28,7 @@ linux_latest.override {
autoModules = withFullConfig;
preferBuiltin = withFullConfig;
enableCommonConfig = false; #< common nix config enabled manually below
enableCommonConfig = withNixpkgsConfig;
kernelPatches = patches.megous.series ++
# with patches.megous; [
@@ -388,12 +388,12 @@ linux_latest.override {
MODEM_POWER = yes;
};
}
] ++ lib.optionals withNixpkgsConfig [
{
name = "nixpkgs-config";
patch = null;
extraStructuredConfig = linux_latest.commonStructuredConfig;
}
# ] ++ lib.optionals withNixpkgsConfig [
# {
# name = "nixpkgs-config";
# patch = null;
# extraStructuredConfig = linux_latest.commonStructuredConfig;
# }
] ++ lib.optionals usePmosConfig [
{
name = "postmarketos-config";