diff options
author | Profpatsch <mail@profpatsch.de> | 2017-02-23 16:47:30 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2017-02-23 16:48:06 +0100 |
commit | ac8da8796649e463b7d31dad6bfc95f01008c787 (patch) | |
tree | a62b50123116d6c434784e972f1b015d9779a71d /machines | |
parent | 5fc82e7210bb8925770f8496defe624a4c1c35d9 (diff) |
machines/katara: bonding is my fetish
New-style bond wifi & ethernet, default to the faster ethernet if plugged in.
Diffstat (limited to 'machines')
-rw-r--r-- | machines/profpatsch/katara.nix | 11 |
1 files changed, 11 insertions, 0 deletions
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 |