nixos/geoclue2: wait for network to be up when wifi provider is enabled
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user