services.crowdsec.settings.console.enrollKeyFile
NixOS option
null or absolute path
The Console Token file to use. The file should just contain the token in the first line of the file like this: hiIamAToken Normally you would do cscli enroll <token>, but you can put the token in a file instead and pass the path of that file to this option. The token is available by clicking the “Enroll command” button at https://app.crowdsec.net/security-engines?distribution=linux
type: null or absolute pathDefault
null
Example
declared in: nixos/modules/services/security/crowdsecView source on NixOS/nixpkgs →"/run/crowdsec/console_token.txt"