Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix sysinfo reading is not reliable #1

Open
Brutus5000 opened this issue Feb 3, 2022 · 1 comment
Open

nix sysinfo reading is not reliable #1

Brutus5000 opened this issue Feb 3, 2022 · 1 comment

Comments

@Brutus5000
Copy link

I tested your code and wondered why no system info is showing for me, where a similar application does.
As it turns out both my Arch Desktop as well as my NixOs server both do not provide lshw and required su for dmidecode.

As I was looking for replacing some C++ code, this is how my "reference" application does it:
https://github.com/FAForever/uid/blob/master/machine_info_linux.cpp
(in general it's parsing things individually from /sys files)

@marirs
Copy link
Owner

marirs commented Sep 3, 2024

I'll look into it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants