Template:evaluate

Revision as of 19:50, 27 October 2024 by SigmaSquadron (talk | contribs) (Adds support for recommending the `boot` and `test` subcommands for `nixos-rebuild`. Does nothing if the editor doesn't specifically request the non-standard actions.)


About

This template is used to remind end-users that they need to rebuild for the changes to take effect. Optionally, you may define the action being suggested.

Usage

Default Evaluate Box:

{{Evaluate}}

Boot Evaluate Box:

{{Evaluate|boot}}


Test Evaluate Box:

{{Evaluate|test}}

Example

Default Evaluate Box:

🟆︎
Tip: In order to affect your NixOS system by your nix-language-specific changes you must first evaluate it:
$ nixos-rebuild switch --use-remote-sudo

Boot Evaluate Box:

🟆︎
Tip: In order to affect your NixOS system by your nix-language-specific changes you must first evaluate it:
$ nixos-rebuild boot --use-remote-sudo
Then, reboot:
$ systemctl reboot

Test Evaluate Box:

🟆︎
Tip: In order to affect your NixOS system by your nix-language-specific changes you must first evaluate it:
$ nixos-rebuild test --use-remote-sudo
Remember: any changes evaluated through nixos-rebuild test will not persist upon reboot.