diff options
author | nin <nineinchnade@gmail.com> | 2017-03-07 16:27:15 +0100 |
---|---|---|
committer | nin <nineinchnade@gmail.com> | 2017-03-07 16:27:15 +0100 |
commit | 2edd8ca37b5c134b697315fd7ab603807760e6d6 (patch) | |
tree | 4fa4df81774907b797d04707028406788d7297e1 /makefu/3modules | |
parent | 01868340e25ffb05ea8b784c5cdf47c251157dfb (diff) | |
parent | c05db2409061f721ba454f4bf79e635ee13a6f11 (diff) |
Merge remote-tracking branch 'prism/newest'
Diffstat (limited to 'makefu/3modules')
-rw-r--r-- | makefu/3modules/umts.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/makefu/3modules/umts.nix b/makefu/3modules/umts.nix index 91ac13755..86669945a 100644 --- a/makefu/3modules/umts.nix +++ b/makefu/3modules/umts.nix @@ -26,7 +26,7 @@ let Dial Command = ATDT Modem = ${cfg.modem-device} Baud = 460800 - Init1 = AT+CGDCONT=1,"IP","pinternet.interkom.de","",0,0 + Init1 = AT+CGDCONT=1,"IP","${config.makefu.umts.apn}","",0,0 Init2 = ATZ Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ISDN = 0 @@ -54,6 +54,13 @@ let to avoid race conditions. ''; }; + apn = mkOption { + default = "pinternet.interkom.de"; + type = types.str; + description = '' + apn to use for dailing + ''; + }; }; imp = { |