summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2026-03-17 00:43:15 +0100
committerMel <mel@rnrd.eu>2026-03-20 23:52:34 +0100
commitf93545e1939d63d3b51ce34199d4bfedf64b79b5 (patch)
treee04b79e2d1373affa27d5287f59db9e146d0bd40
parentba45d857652b6cfbe9fe4a3006d8e5ea2ff17050 (diff)
downloadminerals-f93545e1939d63d3b51ce34199d4bfedf64b79b5.tar.zst
minerals-f93545e1939d63d3b51ce34199d4bfedf64b79b5.zip
Fix RTL8125 networkd link configuration override match config and naming
Signed-off-by: Mel <mel@rnrd.eu>
-rw-r--r--machines/wolfram/devices.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/machines/wolfram/devices.nix b/machines/wolfram/devices.nix
index df65f76..21860a7 100644
--- a/machines/wolfram/devices.nix
+++ b/machines/wolfram/devices.nix
@@ -86,8 +86,13 @@
# we disable most forms of offloading to the chip here, instead handling them
# in our own kernel. this fixes most of the issues.
links."10-rtl8125-hardware-offloading" = {
- matchConfig.Name = "enp7s0";
+ matchConfig.Driver = "r8125"; # match by driver to prevent udev renaming issues
linkConfig = {
+ # keep naming behavior consistent with defaults
+ NamePolicy = "keep kernel database onboard slot path";
+ MACAddressPolicy = "persistent";
+
+ # kill hardware offloading for this chipset
ReceiveChecksumOffload = false; # rx off
TransmitChecksumOffload = false; # tx off
TCPSegmentationOffload = false; # tso off