nixos/modules/desktop/gammastep.nix

19 lines
525 B
Nix
Raw Permalink Normal View History

2024-03-05 22:57:41 +01:00
{home-manager, ...}: {
2023-08-25 01:02:54 +02:00
# Gammestep automatically adjusts the screen's colour temperature. It's
# basically redshift for Wayland.
# https://gitlab.com/chinstrap/gammastep
2024-06-27 20:37:34 +02:00
# https://wiki.nixos.org/wiki/Gammastep
2023-08-25 01:02:54 +02:00
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
};
};
};
}