summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-01-23 21:07:04 +0100
committerlassulus <lassulus@lassul.us>2021-01-23 21:12:57 +0100
commit1a79d3865e250904507c18d9376ef708e9a6bda8 (patch)
tree9ca240f9df4e74e57a3ee8a71cd2d51d22ad6f08
parentda975dabdd29fa795b07a6c6a9a3155f3505c4c5 (diff)
l styx.r: set interface names
-rw-r--r--lass/1systems/styx/physical.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/lass/1systems/styx/physical.nix b/lass/1systems/styx/physical.nix
index a3899f87d..ae0cdf489 100644
--- a/lass/1systems/styx/physical.nix
+++ b/lass/1systems/styx/physical.nix
@@ -31,4 +31,9 @@
nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
+
+ services.udev.extraRules = ''
+ SUBSYSTEM=="net", ATTR{address}=="3c:7c:3f:7e:e2:39", NAME="et0"
+ SUBSYSTEM=="net", ATTR{address}=="00:e0:4c:78:91:50", NAME="int0"
+ '';
}