diff options
Diffstat (limited to 'nixos/modules/services/desktops/geoclue2.nix')
-rw-r--r-- | nixos/modules/services/desktops/geoclue2.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/desktops/geoclue2.nix b/nixos/modules/services/desktops/geoclue2.nix index a9712b962ffd..b04f46c26a56 100644 --- a/nixos/modules/services/desktops/geoclue2.nix +++ b/nixos/modules/services/desktops/geoclue2.nix @@ -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 |