chore: untrack machine-specific hardware-configuration.nix

This commit is contained in:
2026-08-06 00:00:15 +07:00
parent ca023da655
commit c297755e2c
3 changed files with 3 additions and 28 deletions
+2 -2
View File
@@ -45,9 +45,9 @@ git clone <repo-url> ~/nixos-config
cd ~/nixos-config
```
### 4. Replace the hardware config
### 4. Provide the hardware config
The `hardware-configuration.nix` inside `hosts/nixos/` is machine-specific. Replace it with your own:
`hardware-configuration.nix` is machine-specific and not tracked in git. Copy the one generated by the NixOS installer:
```bash
cp /etc/nixos/hardware-configuration.nix ~/nixos-config/hosts/nixos/hardware-configuration.nix