about summary refs log tree commit diff
path: root/home/wm/gammastep/default.nix
blob: 0a9c68478125803032ffbcf2eae35eec166c5b3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ config, lib, pkgs, ... }:
let isEnabled = config.my.home.wm.windowManager == "sway";
in {
  config = lib.mkIf isEnabled {
    services.gammastep = {
      enable = true;
      #TODO: this needs to come from locale.nix
      latitude = 37.8715;
      longitude = -122.273;
      temperature = {
        day = 5000;
        night = 3700;
      };
    };
  };
}