Merge pull request #104734 from ju1m/fix-udev
nixos/network-interfaces: fix typo in udev rule syntax
commit91f1d7e40503777cd24823b3899da4f50b12318e
authorRyan Mulligan <ryan@ryantm.com>
dateTue 24 Nov 2020, 05:44 (6 years ago)
parent0fb14ea2263fa5
nixos/modules/tasks/network-interfaces.nix+1−1
@@ -1246,7 +1246,7 @@ in
12461246 '';
12471247
12481248 # Udev attributes for systemd to name the device and to create a .device target.
1249− systemdAttrs = n: ''NAME:="${n}", ENV{INTERFACE}:="${n}", ENV{SYSTEMD_ALIAS}:="/sys/subsystem/net/devices/${n}", TAG+="systemd"'';
1249+ systemdAttrs = n: ''NAME:="${n}", ENV{INTERFACE}="${n}", ENV{SYSTEMD_ALIAS}="/sys/subsystem/net/devices/${n}", TAG+="systemd"'';
12501250 in
12511251 flip (concatMapStringsSep "\n") (attrNames wlanDeviceInterfaces) (device:
12521252 let