network-interface service: tuntap ifs have netdev services
This commit is contained in:
parent
76a3c30471
commit
741770c99a
|
@ -49,7 +49,8 @@ in
|
|||
deviceDependency = dev:
|
||||
# Use systemd service if we manage device creation, else
|
||||
# trust udev when not in a container
|
||||
if (hasAttr dev cfg.bridges) ||
|
||||
if (hasAttr dev (filterAttrs (k: v: v.virtual) cfg.interfaces)) ||
|
||||
(hasAttr dev cfg.bridges) ||
|
||||
(hasAttr dev cfg.bonds) ||
|
||||
(hasAttr dev cfg.macvlans) ||
|
||||
(hasAttr dev cfg.sits) ||
|
||||
|
|
Loading…
Reference in a new issue