nix3-key(1)

⚠️ Warning ⚠️

This program is experimental and its interface is subject to change. Like, subject to change subject to change. Bestie, this thing is a work in progress and the CLI might shift under your feet, so don't go building your whole personality (or your CI pipeline) around it, okay? πŸ’…


✨ NAME ✨

nix key β€” generate and convert Nix signing keys πŸ”‘πŸ’–

So this is one of the little nix subcommands, from the General Commands Manual corner of the nix3-key(1) page. It's all about keys, and it's very much giving "small but mighty." 🫢


🌸 SYNOPSIS 🌸

nix key [option…] subcommand

where subcommand is one of the following:

  • nix key convert-secret-to-public β€” generate a public key for verifying store paths from a secret key read from standard input
  • nix key generate-secret β€” generate a secret key for signing store paths

Two subcommands, no notes, no filler. Pick your fighter. πŸ₯Šβœ¨


πŸŽ€ OPTIONS πŸŽ€

These are the "how much do you wanna hear about it" knobs. Volume control for your terminal soul. πŸ“’

  • --debug β€” Set the logging verbosity level to β€˜debug’. She's chatty. She's telling you everything. πŸ’€
  • --log-format format β€” Set the format of log output; one of raw, internal-json, bar or bar-with-logs. Pick your aesthetic β€” raw text, machine-readable JSON, a lil progress bar, or a progress bar that also yells the logs at you. πŸ“
  • --print-build-logs / -L β€” Print full build logs on standard error. All of them. The whole saga. No skimming. 😭
  • --quiet β€” Decrease the logging verbosity level. Shhh. 🀫
  • --verbose / -v β€” Increase the logging verbosity level. More, more, more. πŸ—£οΈβœ¨

πŸ¦‹ Miscellaneous global options

  • --help β€” Show usage information. When in doubt, ask the program itself. She loves attention. πŸ’–
  • --offline β€” Disable substituters and consider all previously downloaded files up-to-date. Airplane mode but make it Nix. ✈️
  • --option name value β€” Set the Nix configuration setting name to value (overriding nix.conf). Sneaky little config override, love that for you. πŸ‘‘
  • --refresh β€” Consider all previously downloaded files out-of-date. The opposite vibe of --offline, fr fr. πŸ”₯
  • --version β€” Show version information. Iconic of her, honestly. ⭐
Note 🧚 See man nix.conf for overriding configuration settings with command line flags.

and that's the whole page, bestie!! πŸ’œ no cap, every flag accounted for, nothing skipped, nothing invented. This was nix3-key(1), hanging out under the General Commands Manual umbrella, and the footer just says nix3-key(1) again because she loves a dramatic exit. go forth and generate those keys, you absolute main character πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from