This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / 2configs / ppp / x220-modem.nix
505 B 32 lines
1{ pkgs, ... }: { 2 3 # usage: pppd call x220 4 5 environment.etc."ppp/peers/x220".text = '' 6 /dev/ttyACM2 7 921600 8 crtscts 9 defaultroute 10 holdoff 10 11 lock 12 maxfail 0 13 noauth 14 nodetach 15 noipdefault 16 passive 17 persist 18 usepeerdns 19 connect "${pkgs.ppp}/bin/chat -f ${pkgs.writeText "default.chat" '' 20 ABORT "BUSY" 21 ABORT "NO CARRIER" 22 REPORT CONNECT 23 "" "ATDT*99#" 24 CONNECT 25 ''}" 26 ''; 27 28 environment.systemPackages = [ 29 pkgs.ppp 30 ]; 31 32}