services.k3s.agentToken

The k3s token agents can use to connect to the server. This option only makes sense on server nodes (role = server).

WARNING: This option will expose your token unencrypted in the world-readable nix store. If this is undesired use the tokenFile option instead.

Type
string
Default
""
Declared
<nixpkgs/nixos/modules/services/cluster/rancher/default.nix>