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:
parent
3ada966bd5
commit
9819cdc71a
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue