diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2021-07-19 22:15:01 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2021-07-19 22:15:01 -0400 |
commit | 690eac86301abecded09c1899569393a00b08d5e (patch) | |
tree | 166cf6bb2dc58948362f3c007e76a43a90c51d28 /config | |
parent | fe260d301053e24a7bda942cf46533c7af349a99 (diff) |
add bond
Diffstat (limited to 'config')
-rw-r--r-- | config/router.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/router.nix b/config/router.nix index 2a3db17..362bec9 100644 --- a/config/router.nix +++ b/config/router.nix @@ -22,6 +22,14 @@ in { }; }) [ 10 30 100 255 ]); + networking.bonds.bond0 = { + interfaces = [ "eno1" ]; + driverOptions = { + miimon = 1000; + mode = "balance-rr"; + }; + }; + systemd.services.update-dynamic-dns = { description = "Update dynamic dns records"; path = with pkgs; [ bash dnsutils nettools gawk iproute ]; |