Skip to content

Config

read a nixos configuration option

Usage: clan config

Positional arguments

  1. option: Option to read or set (e.g. foo.bar)
Options
  • --machine, -m: (Default: default) Machine to configure
  • --show-trace: Show nix trace on evaluation error
  • --options-file: JSON file with options
  • --settings-file: JSON file with settings
  • --quiet: Do not print the value
  • --debug: Enable debug logging
  • --option: <('name', 'value')> Nix option to set
  • --flake: <PATH> path to the flake where the clan resides in, can be a remote flake or local, can be set through the [CLAN_DIR] environment variable