nixos/geoclue2: make system service wait on network-online

In ee0b8a7eaa we made the user service wait on network-online, but
forgot about the system service. We need them _both_ to wait when the
wifi source is enabled.
This commit is contained in:
Bernardo Meurer 2022-11-09 16:50:01 +00:00
parent 60762c6576
commit 6678a7ecb7
No known key found for this signature in database

View File

@ -200,6 +200,7 @@ in
};
systemd.services.geoclue = {
after = lib.optionals cfg.enableWifi [ "network-online.target" ];
# restart geoclue service when the configuration changes
restartTriggers = [
config.environment.etc."geoclue/geoclue.conf".source