mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
netclient: add network-online dependency to get rid of warning (#371276)
This commit is contained in:
commit
291fe081dc
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ in
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = [ cfg.package ];
|
environment.systemPackages = [ cfg.package ];
|
||||||
systemd.services.netclient = {
|
systemd.services.netclient = {
|
||||||
|
wants = [ "network-online.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
description = "Netclient Daemon";
|
description = "Netclient Daemon";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue