wicd: get closer to upstream service definition

taken from
http://bazaar.launchpad.net/~wicd-devel/wicd/experimental/view/head:/other/wicd.service
This commit is contained in:
Alexander Ried 2016-09-12 16:29:15 +02:00
parent 3ada966bd5
commit 9819cdc71a
1 changed files with 3 additions and 1 deletions

View File

@ -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";
};