Thinkfan improvements
This commit is contained in:
parent
801d3626d7
commit
3bfbd935fc
|
|
@ -24,7 +24,17 @@ in {
|
|||
services.logind.settings.Login = {
|
||||
HandlePowerKey = "suspend";
|
||||
};
|
||||
services.throttled.enable = true;
|
||||
# 'throttled' raises PL1/PL2 to 44W, but this machine is a Core Ultra 7 155U
|
||||
# with a 15W spec sustained power. Holding it at 44W drives the chassis sensor
|
||||
# (acpitz) past its 109C critical trip, which makes the kernel do a hardware
|
||||
# protection shutdown. Leave the firmware's own power limits alone.
|
||||
services.throttled.enable = false;
|
||||
|
||||
# thermald refuses to run on ThinkPads exposing thinkpad_acpi/dytc_lapmode,
|
||||
# because the platform's DPTF firmware owns thermal management there. It exits
|
||||
# immediately at boot, so enabling it only produces noise in the journal.
|
||||
services.thermald.enable = lib.mkForce false;
|
||||
|
||||
services.thinkfan.enable = true;
|
||||
services.thinkfan.settings = {
|
||||
sensors = [
|
||||
|
|
@ -60,7 +70,8 @@ in {
|
|||
[2 50 60]
|
||||
[3 56 68]
|
||||
[5 64 78]
|
||||
[7 76 95]
|
||||
[7 76 90]
|
||||
["level disengaged" 85 32767]
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -53,9 +53,6 @@
|
|||
hardware.trackpoint.enable = lib.mkDefault true;
|
||||
hardware.trackpoint.emulateWheel = lib.mkDefault config.hardware.trackpoint.enable;
|
||||
hardware.trackpoint.device = "TPPS/2 Synaptics TrackPoint";
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
zfs = pkgs.zfs_unstable;
|
||||
};
|
||||
boot.kernelPackages = pkgs.linuxPackages;
|
||||
boot.zfs.forceImportRoot = false;
|
||||
hardware.firmware = with pkgs; [
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
{pkgs, ...}: {
|
||||
services.udev.packages = [pkgs.yubikey-personalization];
|
||||
programs.appimage.enable = true;
|
||||
programs.appimage.binfmt = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue