summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2016-09-11 08:16:55 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2016-09-11 08:16:55 +0200
commit5c38882f38daada4704b8f0efe9e1b5a01fcfa41 (patch)
treeb9ecdc9620efb481f6c9a53c4bb8f655779c4ca4 /nixos/modules
parentc58654e2b78e7d3ae97ba96c80ceb3f96236e463 (diff)
downloadnixpkgs-5c38882f38daada4704b8f0efe9e1b5a01fcfa41.tar
nixpkgs-5c38882f38daada4704b8f0efe9e1b5a01fcfa41.tar.gz
nixpkgs-5c38882f38daada4704b8f0efe9e1b5a01fcfa41.tar.bz2
nixpkgs-5c38882f38daada4704b8f0efe9e1b5a01fcfa41.tar.lz
nixpkgs-5c38882f38daada4704b8f0efe9e1b5a01fcfa41.tar.xz
nixpkgs-5c38882f38daada4704b8f0efe9e1b5a01fcfa41.tar.zst
nixpkgs-5c38882f38daada4704b8f0efe9e1b5a01fcfa41.zip
toxvpn service: doesn't require online network
Tested that it detects network changes quickly.
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/networking/toxvpn.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/toxvpn.nix b/nixos/modules/services/networking/toxvpn.nix
index c38424c8e27..911836fdee4 100644
--- a/nixos/modules/services/networking/toxvpn.nix
+++ b/nixos/modules/services/networking/toxvpn.nix
@@ -25,8 +25,8 @@ with lib;
     systemd.services.toxvpn = {
       description = "toxvpn daemon";
 
-      requires = [ "network-online.target" ]; # consider replacing by NetworkManager-wait-online.service
       wantedBy = [ "multi-user.target" ];
+      after = [ "network.target" ];
 
       preStart = ''
         mkdir -p /run/toxvpn || true