3 ms·
I'm not exactly sure what you mean. NixOS doesn't have, like, a profile switcher to let you switch between work mode and play mode on the same PC. At least not
by hamandcheese 3y ago
I'm not exactly sure what you mean. NixOS doesn't have, like, a profile switcher to let you switch between work mode and play mode on the same PC. At least not out of the box.
But if you mean distinct computers, then that's just three distinct configs. And it's easy to factor out common bits and use it in all three configs, since you configure things using Nix-the-language.
And if you mean all three at the same time on one PC, that's exactly what I do with my home server.
- ElectricalUnion 3y ago> NixOS doesn't have, like, a profile switcher to let you switch between work mode and play mode on the same PC. I thought that `sudo nixos-rebuild switch` was supposed to do exactly that; swap from whatever "state" your PC is on to the result of the nix expresison on "/etc/nixos/configuration.nix"
- hamandcheese 3y agoYes, that is how you update your system. But it would be very unusual to constantly switch between two long-lived configs. I don't see why it wouldn't work, though.