nixpkgs/nixos/doc/manual/administration/maintenance-mode.section.md

292 B

Maintenance Mode

You can enter rescue mode by running:

# systemctl rescue

This will eventually give you a single-user root shell. Systemd will stop (almost) all system services. To get out of maintenance mode, just exit from the rescue shell.