diff --git a/NixOS.md b/NixOS.md index 2719e64..615767c 100644 --- a/NixOS.md +++ b/NixOS.md @@ -436,6 +436,15 @@ runtime dependencies of firefox-121.0.1: ## Nix profiles +### Switch to previous system profile + +https://tldr.inbrowser.app/pages/linux/nixos-rebuild + +```shell +sudo nixos-rebuild switch --rollback boot +sudo reboot +``` + ### List system profiles Not sure why 432 is marked as current. It is the default generation that gets activated on next boot. The currently active generation is, however, 429.