diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-13 13:15:07 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-13 13:15:07 -0800 |
commit | bd1372cb58217bb4d77406dae9cbf88aa5744195 (patch) | |
tree | 2436edf67ed7a8f78747955dbbc84d26e9dae7cc /users/fcuny | |
parent | sway: need custom unit file for swayidle (diff) | |
download | world-bd1372cb58217bb4d77406dae9cbf88aa5744195.tar.gz |
sway: add gammastep configuration
Similar to redshift, but for wayland.
Diffstat (limited to '')
-rw-r--r-- | users/fcuny/desktop/sway/default.nix | 1 | ||||
-rw-r--r-- | users/fcuny/desktop/sway/gammastep.nix | 13 |
2 files changed, 14 insertions, 0 deletions
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; + }; + }; +} |