Firmware (LuxOS)
Configuration
Basics

Basics

The configuration file

On luxminer, configuration is done via the luxminer.toml file. This is a TOML (opens in a new tab) formatted file that stores all of the main miner options and is always located at /config/luxminer.toml.

Configuration can be changed either via UI, which is applied and saved (if autosave is enabled), or manually on the TOML file, but this will required an application restart.

💡

Autosave is your friend

By default, the autosave feature is enabled. This means that you have an "automatic backup" of your configuration changes, and can manually override your current TOML file with a previous, working version.

The previous versions of your config file can be seen at /config/backup.

Creating a configuration from scratch

If, for some reason, you want to start your configuration from scratch, it is very easy to generate a new, blank configuration template:

# go to the root directory
$ cd /

# create a new config file
./luxminer --init

This will create a new /config/luxminer.toml file unless it already exists.

The generated file will be created with commented sections explaining each available option and its defaults. Note that if you start luxminer without a configuration file, a new one will be created for you, with the default values.

The next sections will explain the finer details of each section of the configuration file.