nixos/networking: network.target depends on netdev service directly (#421010)

Changed files
+10
nixos
+10
nixos/modules/tasks/network-interfaces-scripted.nix
···
bindsTo = optional (!config.boot.isContainer) "dev-net-tun.device";
after = optional (!config.boot.isContainer) "dev-net-tun.device" ++ [ "network-pre.target" ];
wantedBy = [
"network-setup.service"
(subsystemDevice i.name)
];
···
{
description = "Bridge Interface ${n}";
wantedBy = [
"network-setup.service"
(subsystemDevice n)
];
···
{
description = "Open vSwitch Interface ${n}";
wantedBy = [
"network-setup.service"
(subsystemDevice n)
]
···
{
description = "Bond Interface ${n}";
wantedBy = [
"network-setup.service"
(subsystemDevice n)
];
···
{
description = "MACVLAN Interface ${n}";
wantedBy = [
"network-setup.service"
(subsystemDevice n)
];
···
{
description = "FOU endpoint ${n}";
wantedBy = [
"network-setup.service"
(subsystemDevice n)
];
···
{
description = "IPv6 in IPv4 Tunnel Interface ${n}";
wantedBy = [
"network-setup.service"
(subsystemDevice n)
];
···
{
description = "IP in IP Tunnel Interface ${n}";
wantedBy = [
"network-setup.service"
(subsystemDevice n)
];
···
{
description = "GRE Tunnel Interface ${n}";
wantedBy = [
"network-setup.service"
(subsystemDevice n)
];
···
{
description = "VLAN Interface ${n}";
wantedBy = [
"network-setup.service"
(subsystemDevice n)
];
···
bindsTo = optional (!config.boot.isContainer) "dev-net-tun.device";
after = optional (!config.boot.isContainer) "dev-net-tun.device" ++ [ "network-pre.target" ];
wantedBy = [
+
"network.target"
"network-setup.service"
(subsystemDevice i.name)
];
···
{
description = "Bridge Interface ${n}";
wantedBy = [
+
"network.target"
"network-setup.service"
(subsystemDevice n)
];
···
{
description = "Open vSwitch Interface ${n}";
wantedBy = [
+
"network.target"
"network-setup.service"
(subsystemDevice n)
]
···
{
description = "Bond Interface ${n}";
wantedBy = [
+
"network.target"
"network-setup.service"
(subsystemDevice n)
];
···
{
description = "MACVLAN Interface ${n}";
wantedBy = [
+
"network.target"
"network-setup.service"
(subsystemDevice n)
];
···
{
description = "FOU endpoint ${n}";
wantedBy = [
+
"network.target"
"network-setup.service"
(subsystemDevice n)
];
···
{
description = "IPv6 in IPv4 Tunnel Interface ${n}";
wantedBy = [
+
"network.target"
"network-setup.service"
(subsystemDevice n)
];
···
{
description = "IP in IP Tunnel Interface ${n}";
wantedBy = [
+
"network.target"
"network-setup.service"
(subsystemDevice n)
];
···
{
description = "GRE Tunnel Interface ${n}";
wantedBy = [
+
"network.target"
"network-setup.service"
(subsystemDevice n)
];
···
{
description = "VLAN Interface ${n}";
wantedBy = [
+
"network.target"
"network-setup.service"
(subsystemDevice n)
];