Specialisation: Difference between revisions
imported>Anoadragon453 m fix typo in Previously |
imported>Benjaminl Mention the --specialisation flag for nixos-rebuild |
||
| Line 63: | Line 63: | ||
TODO: how to use grub submenus | TODO: how to use grub submenus | ||
== | == Runtime activation == | ||
Taking the <code>chani</code> specialisation from our example, we can activate it at runtime (comparable to <code>nixos-rebuild switch</code>), by running <code>/nix/var/nix/profiles/system/specialisation/chani/bin/switch-to-configuration switch</code>. | Taking the <code>chani</code> specialisation from our example, we can activate it at runtime (comparable to <code>nixos-rebuild switch</code>), by running <code>/nix/var/nix/profiles/system/specialisation/chani/bin/switch-to-configuration switch</code>. <code>nixos-rebuild switch</code> also supports a <code>--specalisation</code> flag, which we can use like this: <code>nixos-rebuild switch --specialisation chani</code>. | ||
== Further reading == | == Further reading == | ||