summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/router.nix8
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 ];