36 lines
1,017 B
Elixir
36 lines
1,017 B
Elixir
|
# 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)
|
||
|
|
||
|
config :eisrom_firmware, target: Mix.target()
|
||
|
|
||
|
# Customize non-Elixir parts of the firmware. See
|
||
|
# https://hexdocs.pm/nerves/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: "1665154132"
|
||
|
|
||
|
# Use Ringlogger as the logger backend and remove :console.
|
||
|
# See https://hexdocs.pm/ring_logger/readme.html for more information on
|
||
|
# configuring ring_logger.
|
||
|
|
||
|
config :logger, backends: [RingLogger]
|
||
|
|
||
|
if Mix.target() == :host do
|
||
|
import_config "host.exs"
|
||
|
else
|
||
|
import_config "target.exs"
|
||
|
end
|
||
|
|
||
|
import_config "secrets.exs"
|