add the example used in the video
This commit is contained in:
parent
d760c2d27b
commit
9767078878
@ -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,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
@ -46,11 +49,8 @@ in rec {
|
|||||||
imports = [
|
imports = [
|
||||||
../modules/wwan
|
../modules/wwan
|
||||||
../modules/network
|
../modules/network
|
||||||
# ../modules/vlan
|
|
||||||
../modules/ssh
|
../modules/ssh
|
||||||
../modules/usb.nix
|
../modules/usb.nix
|
||||||
# ../modules/watchdog
|
|
||||||
# ../modules/mount
|
|
||||||
../modules/ppp
|
../modules/ppp
|
||||||
../modules/round-robin
|
../modules/round-robin
|
||||||
../modules/health-check
|
../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;
|
users.root = rsecrets.root;
|
||||||
|
|
||||||
programs.busybox.options = {
|
programs.busybox.options = {
|
||||||
|
Loading…
Reference in New Issue
Block a user