about summary refs log tree commit diff
path: root/users/tazjin/nixos/modules/laptop.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-05-10T14·17+0200
committerclbot <clbot@tvl.fyi>2022-05-10T15·03+0000
commitc50f14fb1c4b3398f1e0008b8c7264e0d338d4cb (patch)
tree4eaa10d6020459133e68206b516ab605da12b95d /users/tazjin/nixos/modules/laptop.nix
parentc07f11bd806da0ca5caf5055d446e8a348d4b6d8 (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
Diffstat (limited to 'users/tazjin/nixos/modules/laptop.nix')
-rw-r--r--users/tazjin/nixos/modules/laptop.nix4
1 files changed, 3 insertions, 1 deletions
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;