From 729bbb35f2255e13e39d7af1127c5d846fc58a86 Mon Sep 17 00:00:00 2001 From: Fabian Hauser Date: Sun, 17 Apr 2022 10:19:00 +0200 Subject: [PATCH] Switch from redshift to gammastep --- defaults/desktop/desktop-environment.nix | 1 - home/fhauser/applications/default.nix | 2 +- home/fhauser/applications/{redshift.nix => gammastep.nix} | 6 +++--- 3 files changed, 4 insertions(+), 5 deletions(-) rename home/fhauser/applications/{redshift.nix => gammastep.nix} (61%) diff --git a/defaults/desktop/desktop-environment.nix b/defaults/desktop/desktop-environment.nix index 5bf16fd..8d9d795 100644 --- a/defaults/desktop/desktop-environment.nix +++ b/defaults/desktop/desktop-environment.nix @@ -4,7 +4,6 @@ [ # Utilities freetype feh - redshift lxappearance ] ++ [ # Networking gnome.networkmanager-openconnect diff --git a/home/fhauser/applications/default.nix b/home/fhauser/applications/default.nix index f6b97d9..2049c3a 100644 --- a/home/fhauser/applications/default.nix +++ b/home/fhauser/applications/default.nix @@ -14,12 +14,12 @@ ./waybar.nix ./psql.nix ./mako.nix - ./redshift.nix ./alacritty.nix ./shell.nix ./swaylock.nix ./kanshi.nix ./sway.nix + ./gammastep.nix ]; services = { diff --git a/home/fhauser/applications/redshift.nix b/home/fhauser/applications/gammastep.nix similarity index 61% rename from home/fhauser/applications/redshift.nix rename to home/fhauser/applications/gammastep.nix index 7439e07..062dc30 100644 --- a/home/fhauser/applications/redshift.nix +++ b/home/fhauser/applications/gammastep.nix @@ -1,8 +1,8 @@ { pkgs, ... }: { - services.redshift = { + services.gammastep = { enable = true; - package = pkgs.redshift-wlr; - settings.redshift.brightness-night = "0.9"; + settings.general.brightness-night = "0.9"; + temperature.day = 6300; temperature.night = 5500;