diff options
author | lassulus <lassulus@lassul.us> | 2017-09-19 20:28:12 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-09-19 20:35:28 +0200 |
commit | 358ff6da9c9b7b2ae574f759a8af6266ce642baa (patch) | |
tree | d8b4b51ab2cd07d8b1316d245e5ba9282bdb61b4 /lass/3modules/umts.nix | |
parent | 0e11d7af9981c0b24f52c9d15b8b107a8d78b17f (diff) |
l umts: fix connection
Diffstat (limited to 'lass/3modules/umts.nix')
-rw-r--r-- | lass/3modules/umts.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lass/3modules/umts.nix b/lass/3modules/umts.nix index c93c65ad2..207278440 100644 --- a/lass/3modules/umts.nix +++ b/lass/3modules/umts.nix @@ -61,6 +61,7 @@ let ''; wvdial-defaults = '' + [Dialer Defaults] Modem = ${cfg.modem} ${cfg.initstrings} Modem Type = Analog Modem @@ -70,6 +71,7 @@ let Password = ${cfg.password} Stupid Mode = 1 Idle Seconds = 0 + PPPD Path = ${pkgs.ppp}/bin/pppd ''; imp = { @@ -77,6 +79,10 @@ let umts = "sudo ${umts-bin}/bin/umts"; }; + environment.systemPackages = [ + pkgs.ppp + ]; + security.sudo.extraConfig = '' lass ALL= (root) NOPASSWD: ${umts-bin}/bin/umts ''; |