summaryrefslogtreecommitdiffstats
path: root/systems
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-24 02:10:36 +0000
committertv <tv@krebsco.de>2026-11-24 03:12:57 +0000
commit21f33d3d8ccab1ac149835963e4687aadd8d3b05 (patch)
tree020169c5dc6307082c0c154628d88bac87e175e2 /systems
parentcd34485557244f4a9682aca24abc614d4bb3fd71 (diff)
networkd: prefer ethernet
Diffstat (limited to 'systems')
-rw-r--r--systems/leg/config.nix9
-rw-r--r--systems/zoppo/config.nix1
2 files changed, 10 insertions, 0 deletions
diff --git a/systems/leg/config.nix b/systems/leg/config.nix
index f533049a..8b2d0a9c 100644
--- a/systems/leg/config.nix
+++ b/systems/leg/config.nix
@@ -107,6 +107,15 @@
networking.interfaces.prime1.useDHCP = true;
networking.interfaces.dong4.useDHCP = true;
+ hrm.network.interfaces = {
+ eth1.medium = "ethernet";
+ eth2.medium = "ethernet";
+ lindy1.medium = "ethernet";
+ lindy2.medium = "ethernet";
+ prime1.medium = "ethernet";
+ dong4.medium = "ethernet";
+ };
+
networking.wireless.enable = true;
networking.wireless.interfaces = [
"wlan0"
diff --git a/systems/zoppo/config.nix b/systems/zoppo/config.nix
index 657718db..c2c14755 100644
--- a/systems/zoppo/config.nix
+++ b/systems/zoppo/config.nix
@@ -43,6 +43,7 @@
# wwp0s20f0u5, which kernel names would turn into wwan0.
networking.usePredictableInterfaceNames = true;
networking.interfaces.eno1.useDHCP = true;
+ hrm.network.interfaces.eno1.medium = "ethernet";
networking.wireless.enable = false;