dotfiles/modules/home/graphical/wayland/gammastep.nix

29 lines
547 B
Nix
Raw Normal View History

{ config, lib, ... }:
let
cfg = config.my.graphical.wayland.gammastep;
in {
options.my.graphical.wayland.gammastep = {
enable = lib.mkEnableOption null;
};
config = lib.mkIf cfg.enable {
services.gammastep = {
enable = true;
provider = "geoclue2";
temperature = {
day = 6500;
night = 3000;
};
dawnTime = "7:30-8:00";
duskTime = "22:00-23:00";
settings = {
general = {
fade = 1;
adjustment-method = "wayland";
};
};
};
};
}