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:
Alyssa Ross 2025-06-24 12:41:55 +02:00
parent 43558d56a7
commit d735743b39
No known key found for this signature in database
GPG Key ID: 5B459184230FF0A2
2 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,6 @@ let
socatPort = 1234;
createAX25Node = nodeId: {
boot.kernelPackages = pkgs.linuxPackages_ham;
boot.kernelModules = [ "ax25" ];
networking.firewall.allowedTCPPorts = [ socatPort ];

View File

@ -398,6 +398,10 @@ let
# Enable debugfs for wireless drivers
CFG80211_DEBUGFS = yes;
MAC80211_DEBUGFS = yes;
# HAM radio
HAMRADIO = yes;
AX25 = module;
}
// lib.optionalAttrs (stdenv.hostPlatform.system == "aarch64-linux") {
# Not enabled by default, hides modules behind it