about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-18 09:30:27 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-18 09:30:39 -0800
commit504f9c200ea56784df9602d5bb9d3c4638cf2701 (patch)
treeb205b1f2474334183611d17c2213abbc54b52551
parentsystem: add locale and security (diff)
downloadworld-504f9c200ea56784df9602d5bb9d3c4638cf2701.tar.gz
gammastep: use lat/long from locale
Diffstat (limited to '')
-rw-r--r--users/fcuny/desktop/sway/gammastep.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/fcuny/desktop/sway/gammastep.nix b/users/fcuny/desktop/sway/gammastep.nix
index 44e31a4..6a1387f 100644
--- a/users/fcuny/desktop/sway/gammastep.nix
+++ b/users/fcuny/desktop/sway/gammastep.nix
@@ -3,8 +3,8 @@
 {
   services.gammastep = {
     enable = true;
-    latitude = "37.8715";
-    longitude = "-122.2730";
+    latitude = config.location.latitude;
+    longitude = config.location.longitude;
     temperature = {
       day = 5000;
       night = 3700;