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 +++- users/tazjin/nixos/tverskoy/default.nix | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'users/tazjin') diff --git a/users/tazjin/nixos/modules/laptop.nix b/users/tazjin/nixos/modules/laptop.nix index 9a4a095b26a4..da277dd3d636 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; diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix index 732225875712..a1248c6c5dbd 100644 --- a/users/tazjin/nixos/tverskoy/default.nix +++ b/users/tazjin/nixos/tverskoy/default.nix @@ -138,8 +138,6 @@ lib.fix (self: { }; }; - time.timeZone = "Africa/Cairo"; - systemd.user.services.lieer-tazjin = { description = "Synchronise mail@tazj.in via lieer"; script = "${pkgs.lieer}/bin/gmi sync"; -- cgit 1.4.1