infra/nix/home-manager/programs/redshift.nix

31 lines
580 B
Nix
Raw Normal View History

{
pkgs,
config,
...
}: let
passwords = import ../../variables/passwords.crypt.nix;
in {
services.gammastep = {
enable = true;
2024-10-13 20:16:50 +02:00
provider = "manual";
enableVerboseLogging = true;
inherit (passwords.location.stefan) longitude latitude;
temperature = {
2024-10-13 20:16:50 +02:00
# day = 6700;
day = 3000;
night = 3000;
};
tray = true;
settings = {
2024-10-13 20:16:50 +02:00
general = {
adjustment-method = "wayland";
};
gammastep = {
2024-10-13 20:16:50 +02:00
# brightness-day = 1.0;
brightness-day = 0.5;
brightness-night = 0.5;
};
};
};
}