[Nix-dev] So, i've bricked my remote server, but have access to hard drive

Alexander Ried groxxda at gmail.com
Sat Oct 29 18:28:32 CEST 2016


Hi,
If you use nixos-rebuild test, a simple reboot will recover from such
errors:
https://nixos.org/nixos/manual/#sec-changing-config

If it's already bricked there are multiple options:
If you can boot from the HD on another system you can use
nixos-rebuild switch --rollback

If booting is not an option, you can change the bootloader manually and set
the default entry to a previous configuration, but that depends on the
bootloader you use.
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20161029/139955bb/attachment.html>


More information about the nix-dev mailing list