1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

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

View file

@ -26,7 +26,9 @@ with lib;
environment.systemPackages = [pkgs.wicd]; environment.systemPackages = [pkgs.wicd];
systemd.services.wicd = { systemd.services.wicd = {
after = [ "network-interfaces.target" ]; after = [ "network-pre.target" ];
before = [ "network.target" ];
wants = [ "network.target" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
script = "${pkgs.wicd}/sbin/wicd -f"; script = "${pkgs.wicd}/sbin/wicd -f";
}; };