git.iko.soy/typeable/nixpkgs
on master help sign in
Fix filename for udev network interface rules

From http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ You disable the assignment of fixed names, so that the unpredictable kernel names are used again. For this, simply mask udev's rule file for the default policy: ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules (since v209: this file was called 80-net-name-slot.rules in release v197 through v208)

commitee0f81de5ef04d8ef54041e022c25f820bbb7bc1 authorTino Breddin <tino@daogames.com> dateSun 30 Nov 2014, 10:37 (12 years ago) parente5d92d4
2 files changed+1−1
nixos/modules/services/hardware/80-net-name-slot.rules → nixos/modules/services/hardware/80-net-setup-link.rules nixos/modules/services/hardware/udev.nix+1−1
nixos/modules/services/hardware/80-net-name-slot.rules → nixos/modules/services/hardware/80-net-setup-link.rulesrenamed

The content is the same.

nixos/modules/services/hardware/udev.nix+1−1
@@ -88,7 +88,7 @@ let
8888 done
8989
9090 ${optionalString config.networking.usePredictableInterfaceNames ''
91− cp ${./80-net-name-slot.rules} $out/80-net-name-slot.rules
91+ cp ${./80-net-setup-link.rules} $out/80-net-setup-link.rules
9292 ''}
9393
9494 # If auto-configuration is disabled, then remove