Current section

Files

Jump to
nerves_bootstrap templates new config config.exs
Raw

templates/new/config/config.exs

# This file is responsible for configuring your application and its
# dependencies.
#
# This configuration file is loaded before any dependency and is restricted to
# this project.
import Config
# Enable the Nerves integration with Mix
Application.start(:nerves_bootstrap)
# Customize non-Elixir parts of the firmware. See
# https://nerves.hexdocs.pm/advanced-configuration.html for details.
config :nerves, :firmware, rootfs_overlay: "rootfs_overlay"
# Set the SOURCE_DATE_EPOCH date for reproducible builds.
# See https://reproducible-builds.org/docs/source-date-epoch/ for more information
config :nerves, source_date_epoch: "<%= source_date_epoch %>"
if Mix.target() == :host do
import_config "host.exs"
else
import_config "target.exs"
end