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
  • --input: Flake input name to use as template source can be specified multiple times, inputs are tried in order of definition Example: --input clan --input clan-core
  • --no-self: Do not look into own flake for templates
  • --template: (Default: default) Clan template name
  • --no-git: Do not setup git
  • --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

Flakes list

Usage: clan flakes list

Options
  • --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