As title says. Obviously I could setup different virtual machines or spend the time and install all the DEs in one VM if it is even possible without breaking the OS. I’m wondering if there is an already made iso or something that installs all the maintained DEs for trying.
As in, build a NixOS VM that’s otherwise the exact same as your current system but with a different DE enabled.
nixos-rebuild build-vm
That’s a really cool feature
wow. I gotta check out nixos. That is incredible. Do you happen to know if fedora silverbue or any of the other immutable distros do this, or is this something specific to nixos?
Guix might also be able to do this but I don’t think the others can.
This relies on NixOS’ declarative configuration which Silverbluae and the like do not have; they are configured imperatively.
I did some research yesterday and it looks like silver blue has some rebase command that does something similar. Universal Blue is using that to make it easy to switch between DEs, netting a very similar result!
Thanks for explaining. I’ve come across build-vm and I should really try it out. Rebooting just to roll back isn’t fun
Well, you can roll back with a switch too; no reboot required.
The VM protects you from accidental state modification however (i.e. programs enabled by some DE by default writing their config files everwhere) and its ephemeral nature makes a few things easier.
I’ve had some changes where I had to logout after a switch, so this should help sometimes.