MyNixOS website logo
option

services.livebook.environmentFile

Additional dnvironment file as defined in systemd.exec(5).

Secrets like LIVEBOOK_PASSWORD (which is used to specify the password needed to access the livebook site) or LIVEBOOK_COOKIE (which is used to specify the cookie used to connect to the running Elixir system) may be passed to the service without making them readable to everyone with access to systemctl by using this configuration parameter.

Note that this file needs to be available on the host on which livebook is running.

For security purposes, this file should contain at least LIVEBOOK_PASSWORD or LIVEBOOK_TOKEN_ENABLED=false.

See the Livebook documentation and the configuration parameter for further options.

Declarations
Type
null or path
Default
null
Example
"/var/lib/livebook.env"