So I have been following NixOS developement and I think I’m ready to jump right in with Nix as my main operating system.
Tho I need to know how to migrate a couple of things:
Can I copy my Flatpak directory and just use it on my new operating system? (i know this sounds really stupid as flatpaks are supposed to run any distro but are runtimes included with packages like that too?)
I’m asking this coz Flathub is censored in my stupid country for some reason and downloading all these flatpaks would be a nightmare for me. Better mention the tool I use to get access to free internet is itself a flatpak and this is the source of the problem.
Can I use Doom Emacs on NixOS without any problems?
How can I migrate my windows virtualbox vm over there? is it possible?
I don’t use arch btw, I use a normie and comfy Pop_OS setup right now.
Uhhhh, what a fascinating use case. This is probably a question for flatpak forums.
Short of that, I believe in theory, yes you can. Be careful with what exactly you copy over, flatpaks are installed in multiple different directories (there’s at least system-wide vs user, and data vs images). Maybe try it out before you wipe your old drive.
“Without any problems” is a strong statement. For the most part you should be able to just install emacs and then doom-emacs as usual and broadly everything will work™, but you may have some issues with packages expecting things to be in /usr/bin and /bin, which don’t exist on NixOS.
Precompiled language servers won’t work either, since ld-linux.so is not in its usual place. You’ll want to install such from their nix packages, and figure out how to get the lsp implementation you use to support them (eglot works much better than lsp-mode if you don’t want to use their language server installation mechanism IME).