nixos/networking: fix wlanInterfaces udev rule (#467088)

This commit is contained in:
Michele Guerini Rocco
2025-12-06 14:12:26 +00:00
committed by GitHub
+1 -1
View File
@@ -1926,7 +1926,7 @@ in
# Udev attributes for systemd to name the device and to create a .device target.
systemdAttrs =
n:
''NAME:="${n}", ENV{INTERFACE}="${n}", ENV{SYSTEMD_ALIAS}="/sys/subsystem/net/devices/${n}", TAG+="systemd"'';
''NAME:="${n}", ENV{ID_NET_NAME}="${n}", ENV{SYSTEMD_ALIAS}="/sys/subsystem/net/devices/${n}", TAG+="systemd"'';
in
flip (concatMapStringsSep "\n") (attrNames wlanDeviceInterfaces) (
device: