{
  config,
  lib,
  ...
}: {
  options.dotfiles.inputs.home-manager.services.gammastep = {
    enable = lib.dotfiles.mkEnableOption;

    latitude = lib.dotfiles.mkInterfaceOption {
      default = 50.0;
      description = "services.gammastep.latitude";
      type = lib.types.float;
    };

    longitude = lib.dotfiles.mkInterfaceOption {
      default = 6.0;
      description = "services.gammastep.longitude";
      type = lib.types.float;
    };
  };

  config = let
    cfg = config.dotfiles.inputs.home-manager.services.gammastep;
  in
    lib.mkIf cfg.enable {
      services.gammastep = {
        inherit (cfg) latitude longitude;
        enable = true;
      };
    };
}
