Warning - generating hardware config ruins host

This commit is contained in:
Eli Ribble 2025-09-29 22:47:55 +00:00
parent fc4a7519b0
commit 1275e4d6aa

View file

@ -54,6 +54,9 @@ Generate the hardware configuration
```
$ cd nixos-anywhere
$ nix run github:nix-community/nixos-anywhere -- --flake ./#digitalocean --generate-hardware-config nixos-generate-config ./nocix/hardware-configuration --target-host root@1.2.3.4
```
This apparently destroys the operating system. I'm not sure why.
```
$ cd nixos-anywhere
$ nix run github:nix-community/nixos-anywhere -- --flake ./#digitalocean --target-host root@1.2.3.4