nix-config/hosts/t490/services/redshift.nix
Oliver Davies 54b43e4203
All checks were successful
/ check (push) Successful in 1m21s
Remove features
2025-05-03 16:50:27 +01:00

31 lines
440 B
Nix

{ config, lib, ... }:
with lib;
let
cfg = config.redshift;
in
{
options.redshift.enable = mkEnableOption "Enable redshift";
config = mkIf cfg.enable {
location = {
latitude = 51.48;
longitude = -3.17;
};
services.redshift = {
enable = true;
brightness = {
day = "1";
night = "1";
};
temperature = {
day = 5500;
night = 3700;
};
};
};
}