mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-23 19:21:40 +02:00
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:
parent
f1400460ab
commit
e2b4ba85ea
@ -212,6 +212,23 @@ in
|
|||||||
wireless.enable = false;
|
wireless.enable = false;
|
||||||
wireguard.enable = true;
|
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;
|
firewall.checkReversePath = mkForce false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user