mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 11:08:28 +00:00
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
|
# we can't be part of a system service, and the agent should
|
||||||
# be okay with the main service coming and going
|
# be okay with the main service coming and going
|
||||||
wantedBy = [ "default.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
|
after = lib.optionals cfg.enableWifi [ "network-online.target" ];
|
||||||
unitConfig.ConditionUser = "!@system";
|
unitConfig.ConditionUser = "!@system";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "exec";
|
Type = "exec";
|
||||||
|
Loading…
Reference in New Issue
Block a user