From 26d0900dfa275d24ea7695623369889f62476033 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Wed, 21 Aug 2024 22:34:08 +0200 Subject: [PATCH] docs: restore system --- NixOS.md | 9 +++++++++ 1 file changed, 9 insertions(+) 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.