linux/common-config: enable AX25
This will allow dropping the linuxPackages_ham variant. Fedora sets these in their default kernel, so I don't anticipate any problem with us doing the same. Tested building linux_5_4, linux, and linux_latest on x86_64.
This commit is contained in:
parent
43558d56a7
commit
d735743b39
@ -7,7 +7,6 @@ let
|
|||||||
socatPort = 1234;
|
socatPort = 1234;
|
||||||
|
|
||||||
createAX25Node = nodeId: {
|
createAX25Node = nodeId: {
|
||||||
boot.kernelPackages = pkgs.linuxPackages_ham;
|
|
||||||
boot.kernelModules = [ "ax25" ];
|
boot.kernelModules = [ "ax25" ];
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ socatPort ];
|
networking.firewall.allowedTCPPorts = [ socatPort ];
|
||||||
|
@ -398,6 +398,10 @@ let
|
|||||||
# Enable debugfs for wireless drivers
|
# Enable debugfs for wireless drivers
|
||||||
CFG80211_DEBUGFS = yes;
|
CFG80211_DEBUGFS = yes;
|
||||||
MAC80211_DEBUGFS = yes;
|
MAC80211_DEBUGFS = yes;
|
||||||
|
|
||||||
|
# HAM radio
|
||||||
|
HAMRADIO = yes;
|
||||||
|
AX25 = module;
|
||||||
}
|
}
|
||||||
// lib.optionalAttrs (stdenv.hostPlatform.system == "aarch64-linux") {
|
// lib.optionalAttrs (stdenv.hostPlatform.system == "aarch64-linux") {
|
||||||
# Not enabled by default, hides modules behind it
|
# Not enabled by default, hides modules behind it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user