nixos-rebuild
Reconfigure a NixOS machine.
=> More information.
- Build and switch to the new configuration, making it the boot default:
sudo nixos-rebuild switch
- Build and switch to the new configuration, making it the boot default and naming the boot entry:
sudo nixos-rebuild switch -p {name}
- Build and switch to the new configuration, making it the boot default and installing updates:
sudo nixos-rebuild switch --upgrade
- Rollback changes to the configuration, switching to the previous generation:
sudo nixos-rebuild switch --rollback
- Build the new configuration and make it the boot default without switching to it:
sudo nixos-rebuild boot
- Build and activate the new configuration, but don't make a boot entry (for testing purposes):
sudo nixos-rebuild test
- Build the configuration and open it in a virtual machine:
sudo nixos-rebuild build-vm
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
=> CC-BY
Proxy Information
- Original URL
- gemini://freeshell.de/tldr/nixos-rebuild.gmi
- Status Code
- Success (20)
- Meta
text/gemini;lang=en-GB
- Capsule Response Time
- 113.195459 milliseconds
- Gemini-to-HTML Time
- 0.368821 milliseconds
This content has been proxied by September (3851b).