diff options
author | Vincent Ambo <mail@tazj.in> | 2022-05-10T14·17+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-05-10T15·03+0000 |
commit | c50f14fb1c4b3398f1e0008b8c7264e0d338d4cb (patch) | |
tree | 4eaa10d6020459133e68206b516ab605da12b95d | |
parent | c07f11bd806da0ca5caf5055d446e8a348d4b6d8 (diff) |
feat(tazjin/laptop): Enable geoclue2 for redshift & localtime r/4050
Change-Id: I716e67ae32072de998c6f4e970b9dd34c5a92032 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5567 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
-rw-r--r-- | users/tazjin/nixos/modules/laptop.nix | 4 | ||||
-rw-r--r-- | users/tazjin/nixos/tverskoy/default.nix | 2 |
2 files changed, 3 insertions, 3 deletions
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"; |