services.ipfs-cluster.secretFile

File containing the cluster secret in the format of EnvironmentFile as described by systemd.exec(5). For example: CLUSTER_SECRET=...

If null, a new secret will be generated on first run and stored in the data directory. A secret in the correct format can also be generated by: openssl rand -hex 32

Type
null or absolute path
Default
null
Declared
<nixpkgs/nixos/modules/services/network-filesystems/ipfs-cluster.nix>