mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-21 08:59:20 +03:00
nixos/geoclue2: wait for network to be up when wifi provider is enabled
This commit is contained in:
parent
1bbd743145
commit
ee0b8a7eaa
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue