From c50f14fb1c4b3398f1e0008b8c7264e0d338d4cb Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 10 May 2022 16:17:03 +0200 Subject: feat(tazjin/laptop): Enable geoclue2 for redshift & localtime Change-Id: I716e67ae32072de998c6f4e970b9dd34c5a92032 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5567 Reviewed-by: tazjin Autosubmit: tazjin Tested-by: BuildkiteCI --- users/tazjin/nixos/modules/laptop.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'users/tazjin/nixos/modules/laptop.nix') diff --git a/users/tazjin/nixos/modules/laptop.nix b/users/tazjin/nixos/modules/laptop.nix index 9a4a095b26..da277dd3d6 100644 --- a/users/tazjin/nixos/modules/laptop.nix +++ b/users/tazjin/nixos/modules/laptop.nix @@ -2,8 +2,10 @@ { ... }: { - # Automatically detect location to use for redshift + # Automatically detect location for redshift & timezone settings. + services.geoclue2.enable = true; location.provider = "geoclue2"; + services.localtime.enable = true; # Enable power-saving features. services.tlp.enable = true; -- cgit 1.4.1