Skip to content

Flakes

Create a clan flake inside the current directory

Usage: clan flakes

Commands

Examples

$ clan flakes create [DIR]

Will create a new clan flake in the specified directory and create it if it doesn't exist yet. The flake will be created from a default template.

For more detailed information, visit: getting-started

Flakes create

Usage: clan flakes create

Positional arguments

  1. path: (Default: .) Path where to write the clan template to
Options
  • --template: (Default: default) Reference to the template to use for the clan. default="default". In the format '#template_name' Where is a flake reference (e.g. github:org/repo) or a local path (e.g. '.' ). Omitting '#' will use the builtin templates (e.g. just 'default' from clan-core ).
  • --no-git: Do not setup git
  • --no-update: Do not update the clan flake
  • --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

Flakes inspect

Usage: clan flakes inspect

Options
  • --machine: (Default: defaultVM)
  • --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