diff options
Diffstat (limited to 'home-manager/config/gammastep/default.nix')
-rw-r--r-- | home-manager/config/gammastep/default.nix | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/home-manager/config/gammastep/default.nix b/home-manager/config/gammastep/default.nix index fd6a76b8..6090921b 100644 --- a/home-manager/config/gammastep/default.nix +++ b/home-manager/config/gammastep/default.nix @@ -1,14 +1,19 @@ { - config, lib, + nixosConfig, ... -}: { +}: let + temp = + if nixosConfig.soispha.laptop.enable + then 2000 + else 1300; +in { services.gammastep = { enable = true; settings = { general = { - temp-day = lib.mkForce 1300; - temp-night = lib.mkForce 1300; + temp-day = lib.mkForce temp; + temp-night = lib.mkForce temp; gamma = "0.8:0.8:0.8"; fade = 0; adjustment-method = "wayland"; |