{ config, lib, pkgs, ... }:

with lib;

let
  cfg = config.services.gammastep;
in
{
  config = mkIf cfg.enable {
    services.gammastep = {
      provider = "manual";
      temperature = {
        day = 6500;
        night = 1800;
      };
      settings.general = {
        dusk-time = "21:00-23:00";
        dawn-time = "06:00-07:00";
        fade = 1;
        adjustment-method = "wayland";
      };
    };
  };
}
