Merge pull request #12086 from bmorphism/master

thinkfan levels option to control actuation points

+17 -7
+17 -7
nixos/modules/services/hardware/thinkfan.nix
··· 43 43 44 44 sensor ${cfg.sensor} (0, 10, 15, 2, 10, 5, 0, 3, 0, 3) 45 45 46 - (0, 0, 55) 47 - (1, 48, 60) 48 - (2, 50, 61) 49 - (3, 52, 63) 50 - (6, 56, 65) 51 - (7, 60, 85) 52 - (127, 80, 32767) 46 + ${cfg.levels} 53 47 ''; 54 48 55 49 in { ··· 71 65 Sensor used by thinkfan 72 66 ''; 73 67 }; 68 + 69 + levels = mkOption { 70 + default = '' 71 + (0, 0, 55) 72 + (1, 48, 60) 73 + (2, 50, 61) 74 + (3, 52, 63) 75 + (6, 56, 65) 76 + (7, 60, 85) 77 + (127, 80, 32767) 78 + ''; 79 + description ='' 80 + Sensor used by thinkfan 81 + ''; 82 + }; 83 + 74 84 75 85 }; 76 86