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:
parent
60762c6576
commit
6678a7ecb7
@ -200,6 +200,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.geoclue = {
|
systemd.services.geoclue = {
|
||||||
|
after = lib.optionals cfg.enableWifi [ "network-online.target" ];
|
||||||
# restart geoclue service when the configuration changes
|
# restart geoclue service when the configuration changes
|
||||||
restartTriggers = [
|
restartTriggers = [
|
||||||
config.environment.etc."geoclue/geoclue.conf".source
|
config.environment.etc."geoclue/geoclue.conf".source
|
||||||
|
Loading…
Reference in New Issue
Block a user