nix-config/modules/home-manager/redshift.nix
2025-07-17 21:47:19 +01:00

19 lines
364 B
Nix

{ config, lib, ... }:
let
cfg = config.features.desktop.redshift;
inherit (lib) mkEnableOption mkIf;
in
{
options.features.desktop.redshift = {
enable = mkEnableOption "Enable redshift";
};
config = mkIf cfg.enable {
services.redshift.enable = true;
services.redshift.latitude = "51.58";
services.redshift.longitude = "-2.99";
};
}