dotfiles/modules/services/redshift.nix

18 lines
301 B
Nix
Raw Normal View History

2022-07-15 13:11:54 +02:00
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.my.services.redshift;
in
{
2022-10-15 20:00:09 +02:00
options.my.services.redshift.enable = mkEnableOption "redshift";
2022-07-15 13:11:54 +02:00
config = lib.mkIf cfg.enable {
services.redshift.enable = true;
location = {
latitude = 52.3;
longitude = 12.4;
};
};
}