From b85c34422a481420c9d325e22b6230efc33c81bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 13 Dec 2024 13:25:41 +0100 Subject: [PATCH] document installing nixos configuration variants --- src/nixos-anywhere.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/nixos-anywhere.sh b/src/nixos-anywhere.sh index 75572591..545a23f4 100755 --- a/src/nixos-anywhere.sh +++ b/src/nixos-anywhere.sh @@ -67,7 +67,10 @@ Usage: nixos-anywhere [options] [] Options: * -f, --flake - set the flake to install the system from. + set the flake to install the system from. i.e. + nixos-anywhere --flake .#mymachine + Also supports variants: + nixos-anywhere --flake .#nixosConfigurations.mymachine.config.virtualisation.vmVariant * --target-host specified the SSH target host to deploy onto. * -i