Move redshift configuration

This commit is contained in:
Oliver Davies 2025-07-27 23:27:36 +01:00
parent e86ee0fce1
commit 96b431de55
4 changed files with 8 additions and 51 deletions

View file

@ -1,31 +0,0 @@
{ 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;
};
};
};
}