numtide / nixos-facter

Declarative hardware configuration for NixOS [maintainer=@numtide]
https://numtide.github.io/nixos-facter/
Other
141 stars 3 forks source link

Compare cpu entries in hardware with /proc/cpuinfo #79

Closed brianmcgee closed 2 months ago

brianmcgee commented 2 months ago

Ensure we are capturing comparable information in our report.

brianmcgee commented 2 months ago

hwinfo is parsing /proc/cpuinfo already, but there are a few 'newer' fields which should be added, such as:

I think, for the time being, we are capturing the most important and relevant attributes across architectures. If we hit a point writing NixOS modules and find ourselves needing one of the above, we could address the differences then.

Thoughts @zimbatm @Mic92 ?

Mic92 commented 2 months ago

I think core id / cpu cores is the most important one, I would start with these if you attempt to make a pull request and add the other ones later.