diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-12 14:36:53 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-12 14:36:53 -0800 |
commit | 70493a95a1fc78c268f69e8a5a7326584612beda (patch) | |
tree | b99e2b290571a6efc6a77564af7c5fb0a391ae77 | |
parent | home-manager: fix a few typos (diff) | |
download | world-70493a95a1fc78c268f69e8a5a7326584612beda.tar.gz |
home-manager: add redshift
-rw-r--r-- | users/fcuny/desktop/default.nix | 5 | ||||
-rw-r--r-- | users/fcuny/desktop/redshift.nix | 13 |
2 files changed, 16 insertions, 2 deletions
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; + }; + }; +} |