added nixos-facter to generate hardware report

This commit is contained in:
Aleksandr Lebedev 2024-12-18 23:16:00 +01:00
parent 940ec2f0ec
commit 6599e23992
6 changed files with 7697 additions and 4 deletions

View file

@ -10,6 +10,15 @@ Rebuild system
nh os switch
~~~
Generate hardware report
~~~
sudo nix run \
--option experimental-features "nix-command flakes" \
--option extra-substituters https://numtide.cachix.org \
--option extra-trusted-public-keys numtide.cachix.org-1:2ps1kLBUWjxIneOy1Ik6cQjb41X0iXVXeHigGmycPPE= \
github:numtide/nixos-facter -- -o facter.json
~~~
## Install system
Assuming that you're in nixos installer
~~~