1
0
vcp-bula-nixfiles/hosts/router/101-net-uplink-a.nix
2022-07-23 16:46:03 +02:00

30 lines
536 B
Nix

{ config, pkgs, ...}:
{
networking.vlans."net-uplink-a" = {
id = 101;
interface = "ens18";
};
services.pppd = {
peers.uplink-a = {
config = ''
plugin rp-pppoe.so net-uplink-a
user "002742928961551138009163#0001@t-online.de"
ifname ppp-uplink-a
persist
maxfail 0
holdoff 5
noipdefault
lcp-echo-interval 20
lcp-echo-failure 3
mtu 1492
hide-password
nodefaultroute
+ipv6
debug
'';
};
};
}