diff options
author | aszlig <aszlig@nix.build> | 2022-09-26 19:06:02 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2022-09-26 19:15:22 +0200 |
commit | 5b3146b5a6fcce81e28bc55ffd1c7d2fbf2e892f (patch) | |
tree | 0dbbbec0a52e9453ffba0546e75fbcd2444d21c5 /machines/aszlig/slylandro.nix | |
parent | 819689caa0687cc91a538fc27ce51a4e7c653e33 (diff) |
slylandro: Switch location provider to geoclue2
I do have location.latitude and location.longitude set in my workstation profile, but since Slylandro is a laptop that frequently changes location it makes sense to automate this in a way that I don't need to manually set the location every time I switch places. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'machines/aszlig/slylandro.nix')
-rw-r--r-- | machines/aszlig/slylandro.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/machines/aszlig/slylandro.nix b/machines/aszlig/slylandro.nix index 9b729581..2698028f 100644 --- a/machines/aszlig/slylandro.nix +++ b/machines/aszlig/slylandro.nix @@ -35,6 +35,8 @@ networking.wireless.enable = lib.mkForce true; networking.interfaces.bond0.useDHCP = true; + location.provider = "geoclue2"; + # This is because the "primary" option below is only supported for the # scripted networking configuration. systemd.network.networks."40-enp1s0" = { |