Path to an EnvironmentFile for the monero service as defined in systemd.exec(5).
Secrets may be passed to the service by specifying placeholder variables in the Nix config and setting values in the environment file.
Example:
# In environment file:
MINING_ADDRESS=888tNkZrPN6JsEgekjMnABU4TBzc2Dt29EPAvkRxbANsAnjyPbb3iQ1YBRk1UXcdRsiKc9dhwMVgN5S9cQUiyoogDavup3H
# Service config
services.monero.mining.address = "$MINING_ADDRESS";
Declarations
Type
null or absolute pathDefault
nullExample
"/var/lib/monero/monerod.env"