about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2016-09-10 20:18:51 +0200
committerAlexander Ried <ried@mytum.de>2016-09-13 11:19:22 +0200
commit768b333dc1d5d90a38ebe7c4fb576b1345379c40 (patch)
treec0557a5938a3e5232d26b0762bc5ca184bf1bfbf
parent795defaae0664fe8315f0baed19c8c7a9cabe8d0 (diff)
downloadnixlib-768b333dc1d5d90a38ebe7c4fb576b1345379c40.tar
nixlib-768b333dc1d5d90a38ebe7c4fb576b1345379c40.tar.gz
nixlib-768b333dc1d5d90a38ebe7c4fb576b1345379c40.tar.bz2
nixlib-768b333dc1d5d90a38ebe7c4fb576b1345379c40.tar.lz
nixlib-768b333dc1d5d90a38ebe7c4fb576b1345379c40.tar.xz
nixlib-768b333dc1d5d90a38ebe7c4fb576b1345379c40.tar.zst
nixlib-768b333dc1d5d90a38ebe7c4fb576b1345379c40.zip
tinc service: remove use of network-interfaces.target
-rw-r--r--nixos/modules/services/networking/tinc.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/tinc.nix b/nixos/modules/services/networking/tinc.nix
index 8da0f817ae2a..d4fa6ad4540b 100644
--- a/nixos/modules/services/networking/tinc.nix
+++ b/nixos/modules/services/networking/tinc.nix
@@ -149,8 +149,8 @@ in
       ("tinc.${network}")
       ({
         description = "Tinc Daemon - ${network}";
-        wantedBy = [ "network.target" ];
-        after = [ "network-interfaces.target" ];
+        wantedBy = [ "multi-user.target" ];
+        after = [ "network.target" ];
         path = [ data.package ];
         restartTriggers = [ config.environment.etc."tinc/${network}/tinc.conf".source ]
           ++ mapAttrsToList (host: _ : config.environment.etc."tinc/${network}/hosts/${host}".source) data.hosts;