From 8cfd97c9b5d17b790b21aa5ba15d0934528a3e0e Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 31 Jan 2022 23:45:30 -0800 Subject: feat(wpcarro/redshift): Support redshift (again) 🎉 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Autosubmit: wpcarro Tested-by: BuildkiteCI --- users/wpcarro/nixos/marcus/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- cgit 1.4.1