install: correctly pass nix options to nixos-anywhere
The nix_options were collected but never passed to the nixos-anywhere command. This fix adds the options to the command before the target host argument.
This commit is contained in:
@@ -134,6 +134,10 @@ def install_machine(opts: InstallOptions) -> None:
|
||||
|
||||
if opts.debug:
|
||||
cmd.append("--debug")
|
||||
|
||||
# Add nix options to nixos-anywhere
|
||||
cmd.extend(opts.nix_options)
|
||||
|
||||
cmd.append(host.target)
|
||||
if opts.use_tor:
|
||||
# nix copy does not support tor socks proxy
|
||||
|
||||
Reference in New Issue
Block a user