Currently, my self-hosted applications are deployed manually on a VPS that use Ubuntu 20.04. I want to use NixOS instead, and bought another VPS for that. On that VPS, nixos-infect was installed, but there are works needed to fully migrate from the old VPS to the new one.
Even though NixOS was ready on machine B, we need manual steps to add a non-root user. Should this be automated somehow?
The initialization also requires a "fixed" SSH key (users.users.root.openssh.authorizedKeys.keys=...) to be login-able, which is cumbersome. Is there a better way to do this?
Currently, my self-hosted applications are deployed manually on a VPS that use Ubuntu 20.04. I want to use NixOS instead, and bought another VPS for that. On that VPS,
nixos-infect
was installed, but there are works needed to fully migrate from the old VPS to the new one.