From 5b3146b5a6fcce81e28bc55ffd1c7d2fbf2e892f Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 26 Sep 2022 19:06:02 +0200 Subject: 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 --- machines/aszlig/slylandro.nix | 2 ++ 1 file changed, 2 insertions(+) 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" = { -- cgit 1.4.1