Hello, how can I rollback to my 38 generation, and also set that generation to be the default?
sudo /nix/var/nix/profiles/system-38-link/bin/switch-to-configuration switch
switch-to-configuration can take many of the same actions as nixos-rebuild:
check: run pre-switch checks and exit
switch: make the configuration the boot default and activate now
boot: make the configuration the boot default
test: activate the configuration, but don't make it the boot default
dry-activate: show what would be done if this configuration were activated
5 Likes