wireguard: remove dependency on ip-up.target

It was deprecated and removed from all modules in the tree by #18319.

The wireguard module PR (#17933) was still in the review at the time and
the deprecated usage managed to slip inside.
wip/yesman
lbonn 8 years ago
parent fa4212e763
commit 288e75c5f9
  1. 3
      nixos/modules/services/networking/wireguard.nix

@ -151,7 +151,8 @@ let
nameValuePair "wireguard-${name}"
{
description = "WireGuard Tunnel - ${name}";
wantedBy = [ "ip-up.target" ];
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;

Loading…
Cancel
Save