Skip to content

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 nodes
  • inspect — Inspect hive
  • log — Inspect log of builds
  • completions — Generates shell completions
Options:
  • -v, --verbose — Increase logging verbosity

  • -q, --quiet — Decrease logging verbosity

  • --path <PATH> — Path to directory containing hive

    Default value: /build/doc

  • --no-progress — Hide progress bars

    Default value: false

  • --show-trace — Show trace logs

    Default value: false

wire apply

Deploy nodes

Usage: wire apply [OPTIONS] [GOAL]

Arguments:
  • <GOAL>

    Default value: switch

    Possible values:

    • switch: Make the configuration the boot default and activate now
    • build: Build the configuration but do nothing with it
    • push: Copy system derivation to remote hosts
    • keys: Push deployment keys to remote hosts
    • boot: Activate system profile on next boot
    • test: Activate the configuration, but don't make it the boot default
    • dry-activate: Show what would be done if this configuration were activated
Options:
  • -o, --on <NODE | @TAG> — List of literal node names or @ prefixed tags

  • -p, --parallel <PARALLEL>

    Default value: 10

  • -n, --no-keys — Skip key uploads. noop when [GOAL] = Keys

    Default value: false

  • -a, --always-build-local <NODE> — Overrides deployment.buildOnTarget

wire inspect

Inspect hive

Usage: wire inspect [OPTIONS]

Options:
  • -o, --online — Include liveliness

    Default value: false

  • -j, --json — Return in JSON format

    Default value: false

wire log

Inspect log of builds

Usage: wire log <HOST> [INDEX]

Arguments:
  • <HOST> — Host identifier

  • <INDEX> — Reverse-index of log. 0 is the latest

    Default value: 0

wire completions

Generates shell completions

Usage: wire completions <SHELL>

Arguments:
  • <SHELL>

    Possible values: bash, elvish, fish, powershell, zsh


This document was generated automatically by clap-markdown.