MyNixOS website logo
option

services.pds.environmentFiles

File to load environment variables from. Loaded variables override values set in environment.

Use it to set values of PDS_JWT_SECRET, PDS_ADMIN_PASSWORD, and PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX secrets. PDS_JWT_SECRET and PDS_ADMIN_PASSWORD can be generated with

openssl rand --hex 16

PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX can be generated with

openssl ecparam --name secp256k1 --genkey --noout --outform DER | tail --bytes=+8 | head --bytes=32 | xxd --plain --cols 32
Declarations
Type
list of absolute path
Default
[ ]