docs: simplify hardware-configuration

This commit is contained in:
a-kenji
2024-05-07 21:37:25 +02:00
parent 9ab5a9507d
commit fd00a941dc

View File

@@ -148,11 +148,9 @@ Adding or configuring a new machine requires two simple steps:
1. Generate a `hardware-configuration.nix` for your target computer
```bash
ssh root@<target-computer> nixos-generate-config --no-filesystems --show-hardware-config > hardware-configuration.nix
ssh root@<target-computer> nixos-generate-config --no-filesystems --show-hardware-config > machines/jon/hardware-configuration.nix
```
2. Move the generated file to `machines/jon/hardware-configuration.nix`.
### Initialize the facts
!!! Info