diff options
author | William Carroll <wpcarro@gmail.com> | 2022-02-01T07·45-0800 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-02-01T07·49+0000 |
commit | 8cfd97c9b5d17b790b21aa5ba15d0934528a3e0e (patch) | |
tree | b5309e0573c7c1f9b56249e86495ba409b1955d0 | |
parent | 7b29f3c7f2447930a68f9fcce3aa84dbc7da9437 (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
-rw-r--r-- | users/wpcarro/nixos/marcus/default.nix | 6 |
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; |