aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 08c66f8..7398ad6 100644
--- a/README.md
+++ b/README.md
@@ -27,3 +27,14 @@ nix run nix-darwin -- switch --flake .
Finally, switch the default shell via `chsh`, and set it to `/run/current-system/sw/bin/fish`.
Best to reboot to complete the installation.
+
+## Steps for a new droplet on DigitalOcean
+
+Start by creating a droplet using Debian. Create a new host configuration.
+
+Once the droplet is provisioned, we can use `nixos-anywhere` to convert the droplet to a NixOS installation.
+```sh
+nix run github:nix-community/nixos-anywhere -- --flake .#<host> --target-host root@<IP>
+```
+
+Once the host reboots, check that it's converted to NixOS by running `uname -a`.