about summary refs log tree commit diff
path: root/users/tazjin/nixos/tverskoy/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-03-21T03·05+0200
committertazjin <mail@tazj.in>2021-03-21T13·06+0000
commit07d99a30e264a00b12adf6e34270abed3c732e7f (patch)
treeeac7ccb0835b50c0d5eb9280df3c6a8e82e42dd0 /users/tazjin/nixos/tverskoy/default.nix
parent13a43a63928569f2eaf36b4401079e97452de57e (diff)
feat(tazjin/tverskoy): Enable redshift & geoclue2 r/2306
... also nuke that Bluetooth headset daemon, it doesn't work anyways.

Change-Id: Iee884046a2bf2718767442ec62b2f731e14e39e8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2624
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to '')
-rw-r--r--users/tazjin/nixos/tverskoy/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix
index 395ff6bdbe..a7b611c711 100644
--- a/users/tazjin/nixos/tverskoy/default.nix
+++ b/users/tazjin/nixos/tverskoy/default.nix
@@ -76,7 +76,6 @@ in lib.fix(self: {
     cpu.amd.updateMicrocode = true;
     enableRedistributableFirmware = true;
     bluetooth.enable = true;
-    bluetooth.hsphfpd.enable = true;
   };
 
   networking = {
@@ -130,8 +129,7 @@ in lib.fix(self: {
       pulse.enable = true;
     };
 
-    # redshift.enable = true;
-
+    redshift.enable = true;
     blueman.enable = true;
 
     xserver = {
@@ -156,6 +154,9 @@ in lib.fix(self: {
     };
   };
 
+  # Automatically detect location to use for redshift
+  location.provider = "geoclue2";
+
   # Do not restart the display manager automatically
   systemd.services.display-manager.restartIfChanged = lib.mkForce false;