Skip to content

Commit

Permalink
thinkfan at t14: assign more sensors
Browse files Browse the repository at this point in the history
  • Loading branch information
adomixaszvers committed Nov 8, 2023
1 parent e3e43ad commit b3fe8cc
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion nixos/t14/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,30 @@
};
users.users.root.passwordFile = config.sops.secrets."root/password".path;

services.xserver.libinput.enable = true;
services = {
xserver.libinput.enable = true;
thinkfan = {
sensors = [
{
type = "tpacpi";
query = "/proc/acpi/ibm/thermal";
indices = [ 0 ];
}
{
name = "amdgpu";
query = "/sys/class/hwmon";
type = "hwmon";
indices = [ 1 ];
}
{
name = "nvme";
query = "/sys/class/hwmon";
type = "hwmon";
indices = [ 1 ];
}
];
};
};

system.stateVersion = "22.05"; # Did you read the comment?

Expand Down

0 comments on commit b3fe8cc

Please sign in to comment.