about summary refs log tree commit diff
path: root/users/wpcarro/nixos
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-02-01T07·45-0800
committerclbot <clbot@tvl.fyi>2022-02-01T07·49+0000
commit8cfd97c9b5d17b790b21aa5ba15d0934528a3e0e (patch)
treeb5309e0573c7c1f9b56249e86495ba409b1955d0 /users/wpcarro/nixos
parent7b29f3c7f2447930a68f9fcce3aa84dbc7da9437 (diff)
feat(wpcarro/redshift): Support redshift (again) 🎉 r/3732
So it turns out that there's a NixOS *and* a home-manager module for
redshift. While I couldn't get the NixOS module to WAI, the home-manager version
seems to work just fine.

I'm hard-coding the lat/lon for now, because I still can't get "geoclue2" to
work, but I'm not interested in debugging that at the moment.

Change-Id: I7b44df44dc845ec3ad49e649019df459fc0bca56
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5154
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/wpcarro/nixos')
-rw-r--r--users/wpcarro/nixos/marcus/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/users/wpcarro/nixos/marcus/default.nix b/users/wpcarro/nixos/marcus/default.nix
index 45f397450d44..1957070dfc45 100644
--- a/users/wpcarro/nixos/marcus/default.nix
+++ b/users/wpcarro/nixos/marcus/default.nix
@@ -138,6 +138,12 @@ in
       backend = "glx";
     };
 
+    services.redshift = {
+      enable = true;
+      latitude = 37.4223931;
+      longitude = -122.0864016;
+    };
+
     services.dunst.enable = true;
     xdg.configFile."dunst/dunstrc" = {
       source = wpcarro.dotfiles.dunstrc;