Hi, guys, I have packaged PCI driver for https://github.com/xmm7360/xmm7360-pci/ which is a WWAN modem card for most of the ThinkPad Laptops.
I also included a nixosModule which helps you to easily set up the service.
Usage:
netkit.xmm7360 = {
enable = true;
autoStart = true;
config = {
mycard = {
apn = "3gnet"; #your APN here
nodefaultroute = false; # Setup default route so laptop uses 4G LTE when Wi-Fi is unavailable
noresolv = true; # Don't contaminate my DNS config
};
};
package = pkgs.xmm7360-pci_latest;
};
Despite being a hacky driver & toolkit, it works quite well with aid from systemd management.
Tested on nixos-unstable on X1 Carbon 7th Gen.