From 9099ee2a454eaa94f5bf7e164e9f2617280a4450 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 12 Mar 2022 07:25:48 +0000 Subject: [PATCH] swann: only rename physical interfaces --- ops/nixos/swann/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ops/nixos/swann/default.nix b/ops/nixos/swann/default.nix index 74076495f2..e8641bc472 100644 --- a/ops/nixos/swann/default.nix +++ b/ops/nixos/swann/default.nix @@ -202,10 +202,10 @@ in { }; my.ip.tailscale = "100.102.224.95"; services.udev.extraRules = '' - ATTR{address}=="e4:3a:6e:16:07:62", NAME="en-virginmedia" - ATTR{address}=="e4:3a:6e:16:07:63", NAME="en-ee" - ATTR{address}=="e4:3a:6e:16:07:64", NAME="en-gnet" - ATTR{address}=="e4:3a:6e:16:07:67", NAME="en-general" + ATTR{address}=="e4:3a:6e:16:07:62", DRIVERS=="?*", NAME="en-virginmedia" + ATTR{address}=="e4:3a:6e:16:07:63", DRIVERS=="?*", NAME="en-ee" + ATTR{address}=="e4:3a:6e:16:07:64", DRIVERS=="?*", NAME="en-gnet" + ATTR{address}=="e4:3a:6e:16:07:67", DRIVERS=="?*", NAME="en-general" ''; boot.kernel.sysctl = { "net.ipv4.ip_forward" = "1";