Commit 23c81659b5 didn't get the configure flag quite right. According to https://github.com/htop-dev/htop/blob/main/configure.ac#L671, it's `--enable-sensors`, not `--with-sensors`.
I tested this out locally with
```
programs.htop = {
enable = true;
package = pkgs.htop.overrideAttrs (prev: {
configureFlags = [
"--enable-unicode"
"--sysconfdir=/etc"
"--enable-affinity"
"--enable-capabilities"
"--enable-delayacct"
"--enable-sensors"
];
});
};
```