From b1d19fcc98a8d2139d394cc724744c60cc6d7d8f Mon Sep 17 00:00:00 2001
From: Myned <dev@bjork.tech>
Date: Sun, 6 Apr 2025 02:06:52 -0500
Subject: [PATCH] fw-fanctrl: modify curve

---
 options/custom/services/fw-fanctrl.nix | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/options/custom/services/fw-fanctrl.nix b/options/custom/services/fw-fanctrl.nix
index 950252f..e2c2ea6 100644
--- a/options/custom/services/fw-fanctrl.nix
+++ b/options/custom/services/fw-fanctrl.nix
@@ -13,13 +13,13 @@ in {
     programs.fw-fanctrl = {
       enable = true;
 
-      # https://github.com/TamtamHero/fw-fanctrl/blob/packaging/nix/config.json
-      #?? fw-fanctrl --reload
+      # https://github.com/TamtamHero/fw-fanctrl/blob/packaging/nix/doc/configuration.md
+      #?? fw-fanctrl reload
       config = {
         defaultStrategy = "custom";
 
         strategies.custom = {
-          fanSpeedUpdateFrequency = 5; # Seconds
+          fanSpeedUpdateFrequency = 10; # Seconds
           movingAverageInterval = 30; # Seconds
           speedCurve = let
             curve = temp: speed: {inherit temp speed;};
@@ -27,10 +27,10 @@ in {
             (curve 0 0) # Always active
             (curve 40 20)
             (curve 50 30)
-            (curve 60 40)
-            (curve 70 50)
-            (curve 80 60)
-            #!! Max fan speed of 60%
+            (curve 60 35)
+            (curve 70 40)
+            (curve 80 50)
+            #!! Max fan speed of 50%
           ];
         };
       };