Update readme with better information for running nixos-anywhere

Without this I was getting errors like:

> error: flake 'flake:nixos-anywhere' does not provide attribute 'packages.x86_64-linux.nixosConfigurations."digitalocean".config.system.build.diskoScript', 'legacyPackages.x86_64-linux.nixosConfigurations."digitalocean".config.system.build.diskoScript' or 'nixosConfigurations."digitalocean".config.system.build.diskoScript'

I'm not sure why.
This commit is contained in:
Eli Ribble 2025-07-21 15:55:30 +00:00
parent e09993401b
commit 40ab79ca74

View file

@ -45,7 +45,8 @@ $ digitalocean/create-droplet.sh
### Convert to NixOS with nixos-anywhere
```
$ nix run github:nix-community/nixos-anywhere -- --flake nixos-anywhere#digitalocean --target-host root@1.2.3.4
$ cd nixos-anywhere
$ nix run github:nix-community/nixos-anywhere -- --flake ./#digitalocean --target-host root@1.2.3.4
```
This will take a while, maybe 20 minutes, but after you'll have a fully-functioning NixOS system with the correct SSH keys.