From 70493a95a1fc78c268f69e8a5a7326584612beda Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 12 Feb 2022 14:36:53 -0800 Subject: home-manager: add redshift --- users/fcuny/desktop/default.nix | 5 +++-- users/fcuny/desktop/redshift.nix | 13 +++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 users/fcuny/desktop/redshift.nix (limited to 'users/fcuny/desktop') diff --git a/users/fcuny/desktop/default.nix b/users/fcuny/desktop/default.nix index 860daa6..0b9c0a2 100644 --- a/users/fcuny/desktop/default.nix +++ b/users/fcuny/desktop/default.nix @@ -3,12 +3,13 @@ { imports = [ ./browser.nix + ./gtk.nix ./i3.nix ./media.nix + ./redshift.nix ./terminal.nix - ./gtk.nix - ./xdg.nix ./trust + ./xdg.nix ]; home.packages = [ diff --git a/users/fcuny/desktop/redshift.nix b/users/fcuny/desktop/redshift.nix new file mode 100644 index 0000000..41559cd --- /dev/null +++ b/users/fcuny/desktop/redshift.nix @@ -0,0 +1,13 @@ +{ config, lib, pkgs, ... }: + +{ + services.redshift = { + enable = true; + latitude = "37.8715"; + longitude = "-122.2730"; + temperature = { + day = 5000; + night = 3700; + }; + }; +} -- cgit 1.4.1