that works, thank you!
do you also know of a way to activate specialisations without having the config (e.g. the flake with the nixosConfiguration) on the machine?
I tried that before, but when trying to go back to the other specialisation, the /run/current-system/specialisation directory was empty…
I thought that was not the correct way to do it, but when switching specialisations using nixos-rebuild --specialisation, /run/current/system/specialisation is empty too, so I guess it is intended (makes sense tbh, the specialisation does not have a sub-specialisation)
the activation scripts for the specialisations run, but there seems to be a difference between activate and switch-to-configuration that I have yet to understand… I’ll post an update here once I figure it out - thanks all of you for the answers so far
that’s what I was looking for, thanks! the specialisations listed there don’t change when activating a new one
and in /nix/var/nix/profiles/system I can use switch-to-configuration, which seems to work better than activate when it comes to e.g. replacing config files