I want to set up a homeserver, however I currently don´t own any Hardware that I could use to install a Server on. What I do currently have is some spare time and my Laptop.
My Question is:
Can I setup the whole server enviroment in a VM on my Laptop and save it as some portable config? When I do have server hardware I just want to get it up and running quickly.
Thanks in advance


I definitely recommend nix. In fact, I prototyped my NixOS server in a VM and then committed my config to a git repository to clone on the real server later