about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-12 14:36:53 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-12 14:36:53 -0800
commit70493a95a1fc78c268f69e8a5a7326584612beda (patch)
treeb99e2b290571a6efc6a77564af7c5fb0a391ae77 /users
parenthome-manager: fix a few typos (diff)
downloadworld-70493a95a1fc78c268f69e8a5a7326584612beda.tar.gz
home-manager: add redshift
Diffstat (limited to 'users')
-rw-r--r--users/fcuny/desktop/default.nix5
-rw-r--r--users/fcuny/desktop/redshift.nix13
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;
+    };
+  };
+}