3446218455
Note: not the actual initial commit. I swear I will stop repeatedly force pushing to this single commit eventually ok.
29 lines
547 B
Nix
29 lines
547 B
Nix
{ 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";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|