about summary refs log tree commit diff
path: root/home/wm/gammastep/default.nix
blob: 4530126beed6c096cc0db7b431cfa892b5e71f11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ 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;
      };
    };
  };
}