From aa4db869084b3f7503b652cd654ba83d4fb70619 Mon Sep 17 00:00:00 2001 From: albert Date: Tue, 12 Nov 2024 12:42:54 +0100 Subject: [PATCH] Testing geoclue --- home-manager/common/desktops/plasma6/default.nix | 4 ++-- nixos/common/desktops/plasma6/default.nix | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/home-manager/common/desktops/plasma6/default.nix b/home-manager/common/desktops/plasma6/default.nix index e6e4c9ed..265ebd41 100644 --- a/home-manager/common/desktops/plasma6/default.nix +++ b/home-manager/common/desktops/plasma6/default.nix @@ -32,8 +32,8 @@ ''; }; settings = { - lat = 35.67; - lng = 135.06; + lat = 52.23; + lng = 21.01; dbusserver = true; geoclue = true; }; diff --git a/nixos/common/desktops/plasma6/default.nix b/nixos/common/desktops/plasma6/default.nix index 599957d2..a75574ee 100644 --- a/nixos/common/desktops/plasma6/default.nix +++ b/nixos/common/desktops/plasma6/default.nix @@ -4,6 +4,11 @@ # ./set-darkmode-service.nix ]; + services.geoclue2 = { + enable = true; + submitData = true; + }; + # Enable sound with pipewire. security.rtkit.enable = true; services.pipewire = {