diff options
author | lbonn <bonnans.l@gmail.com> | 2016-11-30 23:54:14 +0100 |
---|---|---|
committer | lbonn <bonnans.l@gmail.com> | 2016-12-01 00:11:16 +0100 |
commit | 288e75c5f9c45062f7401f40d11b0c04199eca4c (patch) | |
tree | 735e1f76bdc96c86b35bd405ee4acea2d4c61042 | |
parent | fa4212e76340ca2d8b855a00d33aa90c15df7b94 (diff) | |
download | nixlib-288e75c5f9c45062f7401f40d11b0c04199eca4c.tar nixlib-288e75c5f9c45062f7401f40d11b0c04199eca4c.tar.gz nixlib-288e75c5f9c45062f7401f40d11b0c04199eca4c.tar.bz2 nixlib-288e75c5f9c45062f7401f40d11b0c04199eca4c.tar.lz nixlib-288e75c5f9c45062f7401f40d11b0c04199eca4c.tar.xz nixlib-288e75c5f9c45062f7401f40d11b0c04199eca4c.tar.zst nixlib-288e75c5f9c45062f7401f40d11b0c04199eca4c.zip |
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.
-rw-r--r-- | nixos/modules/services/networking/wireguard.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/wireguard.nix b/nixos/modules/services/networking/wireguard.nix index 35918e42b402..52dd5502147e 100644 --- a/nixos/modules/services/networking/wireguard.nix +++ b/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; |