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

@ -8,7 +8,6 @@
./gtk.nix
./media/handbrake.nix
./node.nix
./redshift.nix
./starship.nix
./zsh
];

View file

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