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;
|
||||
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";
|
||||
|
Reference in New Issue
Block a user