nixos/udev: harmonize extraRules example
Use the same sample as in https://wiki.debian.org/NetworkInterfaceNames, which includes the `ACTION=="add"` condition.
This commit is contained in:
parent
addcb4a04a
commit
80b0997499
|
@ -205,7 +205,7 @@ in
|
|||
extraRules = mkOption {
|
||||
default = "";
|
||||
example = ''
|
||||
KERNEL=="eth*", ATTR{address}=="00:1D:60:B9:6D:4F", NAME="my_fast_network_card"
|
||||
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1D:60:B9:6D:4F", KERNEL=="eth*", NAME="my_fast_network_card"
|
||||
'';
|
||||
type = types.lines;
|
||||
description = ''
|
||||
|
|
Loading…
Reference in a new issue