From 7e0f7e16eb659c84a5a3dddca2e8589d5880343d Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sat, 27 Nov 2021 16:53:22 +0100 Subject: [PATCH] enable redshift --- common/common.nix | 6 ++++++ common/desktop.nix | 3 +++ 2 files changed, 9 insertions(+) diff --git a/common/common.nix b/common/common.nix index 223bdc3..808c859 100644 --- a/common/common.nix +++ b/common/common.nix @@ -16,6 +16,12 @@ efi.canTouchEfiVariables = true; }; + # The rough location + location = { + latitude = 46.948; + longitude = 7.447; + }; + # Set your time zone. time.timeZone = "Europe/Zurich"; diff --git a/common/desktop.nix b/common/desktop.nix index 57071d3..a929c8f 100644 --- a/common/desktop.nix +++ b/common/desktop.nix @@ -20,6 +20,9 @@ services = { autorandr.enable = true; printing.enable = true; + redshift = { + enable = true; + }; }; # Enable the X11 windowing system.