about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--users/tazjin/nixos/modules/laptop.nix4
-rw-r--r--users/tazjin/nixos/tverskoy/default.nix2
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";