Depends on whether there are any changes to the PR if it merges. Currently it would not be enabled by default, so you wouldn’t see any changes and have to switch to using the new option manually.
If you’re using NixOS stable, you won’t have to consider this at all until the next release (November/December), at which point the release notes should tell you if the PR merged and whether the setting is enabled by default. Even if that’s missed, you’ll just see the messages twice, or nix will tell you there’s a conflict if the activation script names overlap.
Where is this mentioned? I don’t see anything in the README or git commit history that implies this. (Nor do I see an explanation of the syntax to use without flakes.)
EDIT: I guess it’s only shown within the tool for now.
Usage: nh os build [OPTIONS] [INSTALLABLE] [-- <EXTRA_ARGS>...]
Arguments:
[INSTALLABLE]
Which installable to use.
Nix accepts various kinds of installables:
[FLAKEREF[#ATTRPATH]]
Flake reference with an optional attribute path.
[env: NH_FLAKE=]
-f, --file <FILE> [ATTRPATH]
Path to file with an optional attribute path.
[env: NH_FILE=]
[env: NH_ATTR=]
-e, --expr <EXPR> [ATTRPATH]
Nix expression with an optional attribute path.
[PATH]
Path or symlink to a /nix/store path
[EXTRA_ARGS]...
Extra arguments passed to nix build
There are also these useful (but unfortunately easy to miss) instructions:
For flakes, the command is nh os switch /path/to/flake
For a classical configuration: nh os switch -f '<nixpkgs/nixos>', or nh os switch -f '<nixpkgs/nixos>' -- -I nixos-config=/path/to/configuration.nix if using a different location than the default.
The home-manager commands likely work similarly, but I actually use a flake there, so I haven’t tested them.