liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 97670788782e17d9e8922b3201a6514ad961e884
parent d760c2d27b1c4b8e6ea8c40abea54ff3975d453f
Author: Daniel Barlow <dan@telent.net>
Date:   Thu,  8 Aug 2024 19:24:58 +0100

add the example used in the video

Diffstat:
Mexamples/router-with-l2tp.nix | 12+++---------
1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/examples/router-with-l2tp.nix b/examples/router-with-l2tp.nix @@ -1,3 +1,6 @@ +# A demonstration config for a home/soho router with PPPoE upstream +# and fallback to an L2TP tunnel over a USB WWAN device + { config, pkgs, @@ -46,11 +49,8 @@ in rec { imports = [ ../modules/wwan ../modules/network - # ../modules/vlan ../modules/ssh ../modules/usb.nix - # ../modules/watchdog - # ../modules/mount ../modules/ppp ../modules/round-robin ../modules/health-check @@ -178,12 +178,6 @@ in rec { ''; }; - # services.ntp = svc.ntp.build { - # pools = { "pool.ntp.org" = ["iburst"]; }; - # makestep = { threshold = 1.0; limit = 3; }; - # dependencies = with config.services; [ defaultroute4 defaultroute6 ]; - # }; - users.root = rsecrets.root; programs.busybox.options = {