From 98bcfc6806de70133128d8d833398d7196bae0b4 Mon Sep 17 00:00:00 2001 From: workflow <4farlion@gmail.com> Date: Sat, 19 Oct 2024 22:32:59 +0100 Subject: [PATCH] fix(redshift): remove automatic location provider Mozilla discontinued its gelocation service, used by Geoclue2 as default See: https://github.com/NixOS/nixpkgs/issues/321121 --- configuration.nix | 1 - home/redshift.nix | 6 +++++- system/screens.nix | 4 ---- 3 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 system/screens.nix diff --git a/configuration.nix b/configuration.nix index ba7e235..ef45cce 100644 --- a/configuration.nix +++ b/configuration.nix @@ -23,7 +23,6 @@ in { ./system/performance.nix ./system/power.nix ./system/printing.nix - ./system/screens.nix ./system/security.nix ./system/steam.nix ./system/stylix diff --git a/home/redshift.nix b/home/redshift.nix index ba6b75c..7b06e84 100644 --- a/home/redshift.nix +++ b/home/redshift.nix @@ -2,7 +2,11 @@ services.redshift = { enable = true; - provider = "geoclue2"; + # Until Mozilla is fixed, fetch from https://www.geonames.org/ + latitude = 38.74724; + longitude = -9.24526; + + provider = "manual"; tray = true; }; } diff --git a/system/screens.nix b/system/screens.nix deleted file mode 100644 index 3fc3e60..0000000 --- a/system/screens.nix +++ /dev/null @@ -1,4 +0,0 @@ -{...}: { - # For redshift - services.geoclue2.enable = true; -}