services.livebook.environmentFile
NixOS option
Additional environment 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 services.livebook.environment configuration parameter for further options.
type: null or absolute pathDefault
null
Example
declared in: nixos/modules/services/development/livebook.nixView source on NixOS/nixpkgs →"/var/lib/livebook.env"