Manage vars
Usage: clan vars
This subcommand provides an interface to vars of clan machines.
Vars are variables that a service can generate.
There are public and secret vars.
Public vars can be referenced by other machines directly.
Public vars can include: ip addresses, public keys.
Secret vars can include: passwords, private keys.
A service is an included clan-module that implements vars generation functionality. For example the zerotier module will generate private and public vars. In this case the public var will be the resulting zerotier-ip of the machine. The secret var will be the zerotier-identity-secret, which is used by zerotier to prove the machine has control of the zerotier-ip.
$ clan vars generate
Will generate vars for all machines. $ clan vars generate --service [SERVICE] --regenerate
Will regenerate vars, if they are already generated for a specific service.
This is especially useful for resetting certain passwords while leaving the rest
of the vars for a machine in place. For more detailed information, visit: secrets
Usage: clan vars check
<('name', 'value')> Nix option to set<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 variableUsage: clan vars fix
<('name', 'value')> Nix option to set<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 variableUsage: clan vars generate
<('name', 'value')> Nix option to set<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 variableUsage: clan vars get
<('name', 'value')> Nix option to set<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 variableUsage: clan vars keygen
<('name', 'value')> Nix option to set<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 variableUsage: clan vars list
<('name', 'value')> Nix option to set<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 variableUsage: clan vars set
<('name', 'value')> Nix option to set<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 variableUsage: clan vars upload
<('name', 'value')> Nix option to set<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