diff options
author | Bernardo Meurer <bernardo@meurer.org> | 2022-08-09 23:15:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-09 23:15:22 -0700 |
commit | 4bd7ee8870cdac9ebc12bb5ce2431875b2bf481c (patch) | |
tree | 8b579f939627570b876561d4470d00bceecad3eb /nixos | |
parent | 906c03f5505dd075b97c03b0291ebef05bf05206 (diff) | |
parent | ee0b8a7eaa96a0b4462870c2367aa96121d565bf (diff) |
Merge pull request #185301 from lovesegfault/geoclue-wifi-wait
Diffstat (limited to 'nixos')
-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 58bebd9bd46d6..a9712b962ffd9 100644 --- a/nixos/modules/services/desktops/geoclue2.nix +++ b/nixos/modules/services/desktops/geoclue2.nix @@ -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"; |