commit 45dfe6a706b350f1c85320f6774e774df39d6ae7
parent 9b48c78fafe6cd174e4a124111507fbf61120744
Author: Chris <chris@echoz.io>
Date: Thu, 18 Dec 2025 14:23:48 +0100
feat: configure new modem for tp
Diffstat:
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/hosts/tp/default.nix b/hosts/tp/default.nix
@@ -1,5 +1,7 @@
{
+ pkgs,
modulesPath,
+
sec,
user,
...
@@ -17,6 +19,20 @@
hostName = "tp";
hostId = "4a2e8151";
networkmanager.enable = true;
+ modemmanager = {
+ enable = true;
+ fccUnlockScripts = [
+ {
+ id = "2c7c:030a";
+ path = "${pkgs.modemmanager}/share/ModemManager/fcc-unlock.available.d/2c7c:030a";
+ }
+ ];
+ };
+ };
+
+ systemd.services.ModemManager = {
+ enable = true;
+ wantedBy = [ "multi-user.target" "network.target" ];
};
boot = {