From ac8da8796649e463b7d31dad6bfc95f01008c787 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Thu, 23 Feb 2017 16:47:30 +0100 Subject: machines/katara: bonding is my fetish New-style bond wifi & ethernet, default to the faster ethernet if plugged in. --- machines/profpatsch/katara.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'machines') diff --git a/machines/profpatsch/katara.nix b/machines/profpatsch/katara.nix index cceaee0c..d97f7d26 100644 --- a/machines/profpatsch/katara.nix +++ b/machines/profpatsch/katara.nix @@ -63,6 +63,17 @@ in { userControlled.enable = true; }; + networking.bonds = { + wifiAndEthernet = { + interfaces = [ "wlp3s0" "enp0s25" ]; + driverOptions = { + miimon = "100"; + primary = "enp0s25"; + mode = "active-backup"; + }; + }; + }; + ########### # Packages -- cgit 1.4.1