Skip to content

Commit b85c344

Browse files
committed
document installing nixos configuration variants
1 parent 653f13c commit b85c344

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/nixos-anywhere.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ Usage: nixos-anywhere [options] [<ssh-host>]
6767
Options:
6868
6969
* -f, --flake <flake_uri>
70-
set the flake to install the system from.
70+
set the flake to install the system from. i.e.
71+
nixos-anywhere --flake .#mymachine
72+
Also supports variants:
73+
nixos-anywhere --flake .#nixosConfigurations.mymachine.config.virtualisation.vmVariant
7174
* --target-host <ssh-host>
7275
specified the SSH target host to deploy onto.
7376
* -i <identity_file>

0 commit comments

Comments
 (0)