about summary refs log tree commit diff
path: root/nixos/modules/services/networking/wicd.nix
diff options
context:
space:
mode:
authorAlexander Ried <ried@mytum.de>2016-09-12 16:29:15 +0200
committerAlexander Ried <ried@mytum.de>2016-09-13 11:19:22 +0200
commit9819cdc71a796fa89825baf463f96cf51672de18 (patch)
tree44f5359a5d1f9a150c650af785e003b89fa45405 /nixos/modules/services/networking/wicd.nix
parent3ada966bd579b63b2259b97018520e94cf9a4489 (diff)
downloadnixlib-9819cdc71a796fa89825baf463f96cf51672de18.tar
nixlib-9819cdc71a796fa89825baf463f96cf51672de18.tar.gz
nixlib-9819cdc71a796fa89825baf463f96cf51672de18.tar.bz2
nixlib-9819cdc71a796fa89825baf463f96cf51672de18.tar.lz
nixlib-9819cdc71a796fa89825baf463f96cf51672de18.tar.xz
nixlib-9819cdc71a796fa89825baf463f96cf51672de18.tar.zst
nixlib-9819cdc71a796fa89825baf463f96cf51672de18.zip
wicd: get closer to upstream service definition
taken from
http://bazaar.launchpad.net/~wicd-devel/wicd/experimental/view/head:/other/wicd.service
Diffstat (limited to 'nixos/modules/services/networking/wicd.nix')
-rw-r--r--nixos/modules/services/networking/wicd.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/wicd.nix b/nixos/modules/services/networking/wicd.nix
index 9e5a437b4856..03c6bd28aaba 100644
--- a/nixos/modules/services/networking/wicd.nix
+++ b/nixos/modules/services/networking/wicd.nix
@@ -26,7 +26,9 @@ with lib;
     environment.systemPackages = [pkgs.wicd];
 
     systemd.services.wicd = {
-      after = [ "network-interfaces.target" ];
+      after = [ "network-pre.target" ];
+      before = [ "network.target" ];
+      wants = [ "network.target" ];
       wantedBy = [ "multi-user.target" ];
       script = "${pkgs.wicd}/sbin/wicd -f";
     };