|
@ -64,6 +64,8 @@ The ~nixos-rebuild~ command updates the system so that it corresponds to the con |
|
|
| build | Build the new configuration, without activation, nor adding it to the boot menu | |
|
|
| build | Build the new configuration, without activation, nor adding it to the boot menu | |
|
|
| build-vm | Build a script that starts a virtual machine with the desired configuration | |
|
|
| build-vm | Build a script that starts a virtual machine with the desired configuration | |
|
|
|
|
|
|
|
|
|
|
|
After making changes to the configuration the ~switch~ command will build and activate a new configuration. |
|
|
|
|
|
|
|
|
#+BEGIN_SRC shell |
|
|
#+BEGIN_SRC shell |
|
|
# Build and activate a new configuration. |
|
|
# Build and activate a new configuration. |
|
|
sudo nixos-rebuild switch --flake $FLAKE#$HOSTNAME |
|
|
sudo nixos-rebuild switch --flake $FLAKE#$HOSTNAME |
|
|