summaryrefslogtreecommitdiff
path: root/hosts/toaster/network.nix
diff options
context:
space:
mode:
authorGrigory Shipunov2023-03-07 17:25:04 +0100
committerGrigory Shipunov2023-03-07 17:25:04 +0100
commit348d8693f6a647ccd32b4b35ccaf280919609a3f (patch)
tree14a21bed8f7c2d26accc3c960007d619840f9c74 /hosts/toaster/network.nix
parentf1495b288d73115e07012eb4866f360b83004cab (diff)
remove james for time being
Diffstat (limited to 'hosts/toaster/network.nix')
-rw-r--r--hosts/toaster/network.nix28
1 files 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,37 +30,17 @@
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;
};