Merge pull request 'install: correctly pass nix options to nixos-anywhere' (#3989) from nixos-anywhere-options into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3989
This commit is contained in:
Mic92
2025-06-17 11:49:13 +00:00

View File

@@ -134,6 +134,10 @@ def install_machine(opts: InstallOptions) -> None:
if opts.debug: if opts.debug:
cmd.append("--debug") cmd.append("--debug")
# Add nix options to nixos-anywhere
cmd.extend(opts.nix_options)
cmd.append(host.target) cmd.append(host.target)
if opts.use_tor: if opts.use_tor:
# nix copy does not support tor socks proxy # nix copy does not support tor socks proxy