From 348d8693f6a647ccd32b4b35ccaf280919609a3f Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Tue, 7 Mar 2023 17:25:04 +0100 Subject: [PATCH] remove james for time being --- hosts/toaster/network.nix | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/hosts/toaster/network.nix b/hosts/toaster/network.nix index a2d1316..91450bd 100644 --- a/hosts/toaster/network.nix +++ b/hosts/toaster/network.nix @@ -30,36 +30,16 @@ systemd.network = { enable = true; - # wait-online.ignoredInterfaces = [ "wlan0" "enp53s0" ]; - - # Interfaces on the machine - netdevs."10-james" = { - netdevConfig = { - Name = "james"; - Kind = "bond"; - }; - bondConfig = { - Mode = "active-backup"; - PrimaryReselectPolicy = "always"; - MIIMonitorSec = "1s"; - }; - }; - networks."10-ether-bond" = { + networks."10-ether" = { matchConfig.MACAddress = "e8:80:88:2f:c6:70"; networkConfig = { - Bond = "james"; - PrimarySlave = true; + DHCP = "yes"; + IPv6AcceptRA = true; }; }; - networks."10-wlan-bond" = { + networks."10-wlan" = { # matchConfig.MACAddress = "04:7b:cb:2a:aa:8c"; matchConfig.Name = "wlan0"; - networkConfig = { - Bond = "james"; - }; - }; - networks."10-james-bond" = { - matchConfig.Name = "james"; networkConfig = { DHCP = "yes"; IPv6AcceptRA = true;