diff options
author | lassulus <lassulus@lassul.us> | 2021-01-23 21:07:04 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-01-23 21:12:57 +0100 |
commit | 1a79d3865e250904507c18d9376ef708e9a6bda8 (patch) | |
tree | 9ca240f9df4e74e57a3ee8a71cd2d51d22ad6f08 /lass | |
parent | da975dabdd29fa795b07a6c6a9a3155f3505c4c5 (diff) |
l styx.r: set interface names
Diffstat (limited to 'lass')
-rw-r--r-- | lass/1systems/styx/physical.nix | 5 |
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" + ''; } |