git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit288e75c5f9c45062f7401f40d11b0c04199eca4c authorlbonn <bonnans.l@gmail.com> dateWed 30 Nov 2016, 23:54 (10 years ago) parentfa4212e
1 file changed+2−1
nixos/modules/services/networking/wireguard.nix+2−1
nixos/modules/services/networking/wireguard.nix+2−1
@@ -151,7 +151,8 @@ let
151151 nameValuePair "wireguard-${name}"
152152 {
153153 description = "WireGuard Tunnel - ${name}";
154− wantedBy = [ "ip-up.target" ];
154+ after = [ "network.target" ];
155+ wantedBy = [ "multi-user.target" ];
155156 serviceConfig = {
156157 Type = "oneshot";
157158 RemainAfterExit = true;