about summary refs log tree commit diff
path: root/nixos/modules/services/networking/wicd.nix
diff options
context:
space:
mode:
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 9e5a437b48569..03c6bd28aaba9 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";
     };