Merge pull request 'docs: simplify hardware-configuration' (#1326) from a-kenji-docs-patch-5 into main
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user