Command-Line Help for wire
This document contains the help content for the wire command-line program.
Command Overview:
wire
a tool to deploy nixos systems
Usage: wire [OPTIONS] <COMMAND>
Subcommands:
apply— Deploy nodesbuild— Build nodes offlineinspect— Inspect hive
Options:
-v,--verbose— Increase logging verbosity-q,--quiet— Decrease logging verbosity--path <PATH>[alias:flake] — Path or flake referenceDefault value:
/build/doc--no-progress— Hide progress bars.Defaults to true if stdin does not refer to a tty (unix pipelines, in CI).
Default value:
true--non-interactive— Never accept user input.Defaults to true if stdin does not refer to a tty (unix pipelines, in CI).
Default value:
true--show-trace— Show trace logsDefault value:
false
wire apply
Deploy nodes
Usage: wire apply [OPTIONS] [GOAL]
Arguments:
<GOAL>Default value:
switchPossible values:
switch: Make the configuration the boot default and activate nowbuild: Build the configuration & push the resultspush: Copy the system derivation to the remote hostskeys: Push deployment keys to the remote hostsboot: Activate the system profile on next boottest: Activate the configuration, but don't make it the boot defaultdry-activate: Show what would be done if this configuration were activated
Options:
-o,--on <NODE | @TAG |->— List of literal node names, a literal-, or@prefixed tags.-will read additional values from stdin, separated by whitespace. Any-implies--non-interactive.-p,--parallel <PARALLEL>Default value:
10-n,--no-keys— Skip key uploads. noop when [GOAL] = KeysDefault value:
false-a,--always-build-local <NODE>— Overrides deployment.buildOnTarget-r,--reboot— Reboot the nodes after activationDefault value:
false-s,--substitute-on-destination— Enable--substitute-on-destinationin Nix subcommandsDefault value:
true--handle-unreachable <HANDLE_UNREACHABLE>— How to handle an unreachable node in the ping step.This only effects the ping step. wire will still fail the node if it becomes unreachable after activation
Default value:
fail-nodePossible values:
ignore,fail-node--ssh-accept-host— Unconditionally accept SSH host keys [!!]Sets
StrictHostKeyCheckingtono. Vulnerable to man-in-the-middle attacks, use with caution.Default value:
false
wire build
Build nodes offline
This is distinct from wire apply build, as it will not ping or push the result, making it useful for CI.
Additionally, you may partition the build jobs into buckets.
Usage: wire build [OPTIONS]
Options:
-o,--on <NODE | @TAG |->— List of literal node names, a literal-, or@prefixed tags.-will read additional values from stdin, separated by whitespace. Any-implies--non-interactive.-p,--parallel <PARALLEL>Default value:
10-P,--partition <PARTITION>— Partition builds into buckets.In the format of
current/total, where 1 <= current <= total.Default value:
1/1
wire inspect
Inspect hive
Usage: wire inspect [OPTIONS] [SELECTION]
Command Alias: show
Arguments:
<SELECTION>Default value:
fullPossible values:
full: Output all data wire has on the entire hivenames: Only output a list of node names
Options:
-j,--json— Return in JSON formatDefault value:
false
This document was generated automatically by clap-markdown.