forked from mirrors/nixpkgs
nixos/geoclue2: wait for network to be up when wifi provider is enabled
This commit is contained in:
parent
1bbd743145
commit
ee0b8a7eaa
|
@ -216,6 +216,7 @@ in
|
|||
# we can't be part of a system service, and the agent should
|
||||
# be okay with the main service coming and going
|
||||
wantedBy = [ "default.target" ];
|
||||
after = lib.optionals cfg.enableWifi [ "network-online.target" ];
|
||||
unitConfig.ConditionUser = "!@system";
|
||||
serviceConfig = {
|
||||
Type = "exec";
|
||||
|
|
Loading…
Reference in a new issue