dotfiles/overlays/linux/bpi-r4.nix
magic_rb bf78a7d618
hela: update kernel
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-11-09 17:05:11 +01:00

38 lines
826 B
Nix

{
buildLinux,
fetchFromGitHub,
lib,
...
} @ args: (buildLinux (args
// {
version = "6.11-bpi-r4";
modDirVersion = "6.11.0-bpi-r4";
src = fetchFromGitHub {
owner = "frank-w";
repo = "BPI-Router-Linux";
rev = "7a99830e634e841ea97796c35bbe0cf8e038ad9f";
hash = "sha256-6ng5eY8yM01asQjyF6IE1UGuZ6KeEsH2bwkVKwgx1xg=";
};
defconfig = "mt7988a_bpi-r4_defconfig";
autoModules = false;
structuredExtraConfig = with lib.kernel; {
NETFILTER_NETLINK_LOG = module;
NF_CONNTRACK_BRIDGE = module;
BRIDGE_NETFILTER = module;
NFT_BRIDGE_META = module;
NFT_BRIDGE_REJECT = module;
NETFILTER_FAMILY_BRIDGE = yes;
MT7921_COMMON = module;
MT7921E = module;
NFT_LOG = module;
};
extraMeta.branch = "6.11-main";
}))