mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-05 02:23:07 +03:00
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 = {
|
||||
after = lib.optionals cfg.enableWifi [ "network-online.target" ];
|
||||
# restart geoclue service when the configuration changes
|
||||
restartTriggers = [
|
||||
config.environment.etc."geoclue/geoclue.conf".source
|
||||
|
Loading…
Reference in New Issue
Block a user