Nixos-rebuild: Difference between revisions
Mention nixos-rebuild-ng and --use-substitutes for remote hosts |
Correct position of references and categories |
||
| (One intermediate revision by the same user not shown) | |||
| Line 121: | Line 121: | ||
* Add the resulting derivation to the system profile in <code>/nix/var/nix/profiles</code>, i. e. create a new generation in the system profile. | * Add the resulting derivation to the system profile in <code>/nix/var/nix/profiles</code>, i. e. create a new generation in the system profile. | ||
* Add the new generation to the bootloader menu as the new default and activate it. If you've manually built the system derivation, this can also be done with <code>result/bin/switch-to-configuration switch</code>. | * Add the new generation to the bootloader menu as the new default and activate it. If you've manually built the system derivation, this can also be done with <code>result/bin/switch-to-configuration switch</code>. | ||
== See also == | |||
* [https://nixcademy.com/posts/nixos-rebuild/ Magic Deployments with nixos-rebuild, Nixcademy] | |||
* [https://nixcademy.com/posts/nixos-rebuild-remote-deployment/ Remote Deployments with nixos-rebuild, Nixcademy] | |||
== References == | |||
<references /> | |||
[[Category:NixOS]] | [[Category:NixOS]] | ||