docs: simplify hardware-configuration

This commit is contained in:
a-kenji
2024-05-07 21:37:25 +02:00
parent 64bc1bde3b
commit dd99a3e821

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 1. Generate a `hardware-configuration.nix` for your target computer
```bash ```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 ### Initialize the facts
!!! Info !!! Info