nixos/modules/desktop/gammastep.nix

19 lines
523 B
Nix
Raw Normal View History

2023-08-25 01:02:54 +02:00
{ home-manager, ... }: {
# Gammestep automatically adjusts the screen's colour temperature. It's
# basically redshift for Wayland.
# https://gitlab.com/chinstrap/gammastep
# https://nixos.wiki/wiki/Gammastep
home-manager.users.caspervk = {
services.gammastep = {
enable = true;
dawnTime = "06:00";
2023-10-01 22:31:01 +02:00
duskTime = "22:00";
2023-08-25 01:02:54 +02:00
temperature = {
day = 6500; # default upstream but not in nixpkgs, neutral
night = 4500; # default upstream but not in nixpkgs
};
};
};
}