Install NixOS on Hetzner Cloud: Difference between revisions
Oldhomemovie (talk | contribs) mNo edit summary |
Oldhomemovie (talk | contribs) mNo edit summary |
||
Line 182: | Line 182: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
The NixOS on Hetzner is installed! Let's do a few more steps to customize the installation. | The NixOS on Hetzner is installed! Let's do a few more steps to customize the installation. | ||
#Copy flake files onto the server. Run:<syntaxhighlight lang="shell"> | #Copy flake files onto the server. Run:<syntaxhighlight lang="shell"> | ||
scp -r /tmp/my-first-flake eugene@0.0.0.0:~/ | scp -r /tmp/my-first-flake eugene@0.0.0.0:~/ | ||
</syntaxhighlight> | </syntaxhighlight>'''Note''': again, replace <code>0.0.0.0</code> with an IP address obtained via <code>hcloud server ip my-hetzner-vm</code>. | ||
#Using <code>neovim</code> editor on the VM, modify <code>configuration.nix</code> to include a package containing Elixir programming language runtime for <code>eugene</code> user. Run:<syntaxhighlight lang="shell"> | #Using <code>neovim</code> editor on the VM, modify <code>configuration.nix</code> to include a package containing Elixir programming language runtime for <code>eugene</code> user. Run:<syntaxhighlight lang="shell"> | ||
nvim my-first-flake/my-vms/my-hetzner-vm/configuration.nix | nvim my-first-flake/my-vms/my-hetzner-vm/configuration.nix |