linux: allow to omit the common-config.nix

+6
+6
pkgs/os-specific/linux/kernel/generic.nix
··· 25 25 # Additional make flags passed to kbuild 26 26 , extraMakeFlags ? [] 27 27 28 + , # enables the options in ./common-config.nix; if `false` then only 29 + # `structuredExtraConfig` is used 30 + enableCommonConfig ? true 31 + 28 32 , # kernel intermediate config overrides, as a set 29 33 structuredExtraConfig ? {} 30 34 ··· 183 187 moduleStructuredConfig = (lib.evalModules { 184 188 modules = [ 185 189 module 190 + ] ++ lib.optionals enableCommonConfig [ 186 191 { settings = commonStructuredConfig; _file = "pkgs/os-specific/linux/kernel/common-config.nix"; } 192 + ] ++ [ 187 193 { settings = structuredExtraConfig; _file = "structuredExtraConfig"; } 188 194 ] 189 195 ++ structuredConfigFromPatches