phone: Ensure 4G connection on initial build

This is a huge step towards using the phone as a phone without having to
worry about using Phosh long-term. This could potentially lead to an
extremely minimal phone in the future that has improved performance for
simple tasks.
This commit is contained in:
Donovan Glover 2024-08-12 20:02:56 -04:00
parent f1400460ab
commit e2b4ba85ea
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -212,6 +212,23 @@ in
wireless.enable = false;
wireguard.enable = true;
networkmanager.ensureProfiles.profiles = {
mobile = {
connection = {
id = "4G";
type = "gsm";
};
gsm.apn = "NXTGENPHONE";
ipv4.method = "auto";
ipv6 = {
addr-gen-mode = "default";
method = "auto";
};
};
};
firewall.checkReversePath = mkForce false;
};