Merge pull request 'docs: simplify hardware-configuration' (#1326) from a-kenji-docs-patch-5 into main

This commit is contained in:
clan-bot
2024-05-07 19:40:06 +00:00

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