mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01: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;
|
||||
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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user