dot

NixOS dotfiles
git clone https://git.echoz.io/dot.git
Log | Files | Refs

commit 05c39c36779619be4fe338e65810890f69c2c8d4
parent 7050785c2341fa550ccb49a4b0ed4770bb35694e
Author: Chris <chris@echoz.io>
Date:   Thu,  5 Mar 2026 20:40:26 +0100

feat(hosts/tp): set up wwan

Diffstat:
Mhosts/tp/default.nix | 19++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/hosts/tp/default.nix b/hosts/tp/default.nix @@ -19,7 +19,24 @@ networking = { hostName = "tp"; hostId = "4a2e8151"; - networkmanager.enable = true; + + networkmanager = { + enable = true; + ensureProfiles.profiles.wwan = { + connection = { + id = "wwan"; + type = "gsm"; + interface-name = "cdc-wdm0"; + }; + gsm.apn = "internet"; + ipv4.method = "auto"; + ipv6 = { + method = "auto"; + addr-gen-mode = "stable-privacy"; + }; + }; + }; + modemmanager = { enable = true; fccUnlockScripts = [