~ruther/nixos-config

ref: 3f71d78f3f8add16b7e76f7be604808dcbb35bba nixos-config/modules/services/redshift.nix -rw-r--r-- 336 bytes
3f71d78f — Rutherther Use custom doom emacs setup instead of nix-community/nix-doom-emacs[1;5D 1 year, 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
#  Screen color temperature changer
#
{ config, lib, pkgs, ...}:

{
  config = lib.mkIf (config.xsession.enable) {      # Only evaluate code if using X11
    services = {
      redshift = {
        enable = true;
        temperature.night = 3000;
        latitude = 50.2332933;
        longitude = 14.3225926;
      };
    };
  }; 
}
Do not follow this link