From bd1372cb58217bb4d77406dae9cbf88aa5744195 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 13 Feb 2022 13:15:07 -0800 Subject: sway: add gammastep configuration Similar to redshift, but for wayland. --- users/fcuny/desktop/sway/default.nix | 1 + users/fcuny/desktop/sway/gammastep.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 users/fcuny/desktop/sway/gammastep.nix (limited to 'users') diff --git a/users/fcuny/desktop/sway/default.nix b/users/fcuny/desktop/sway/default.nix index f765363..737e5e6 100644 --- a/users/fcuny/desktop/sway/default.nix +++ b/users/fcuny/desktop/sway/default.nix @@ -5,6 +5,7 @@ ./waybar.nix ./sway-idle.nix ./wofi.nix + ./gammastep.nix ]; home.packages = [ diff --git a/users/fcuny/desktop/sway/gammastep.nix b/users/fcuny/desktop/sway/gammastep.nix new file mode 100644 index 0000000..44e31a4 --- /dev/null +++ b/users/fcuny/desktop/sway/gammastep.nix @@ -0,0 +1,13 @@ +{ config, lib, pkgs, ... }: + +{ + services.gammastep = { + enable = true; + latitude = "37.8715"; + longitude = "-122.2730"; + temperature = { + day = 5000; + night = 3700; + }; + }; +} -- cgit 1.4.1