services.monero.environmentFile
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";
- Type
null or absolute path- Default
null- Example
"/var/lib/monero/monerod.env"- Declared
- <nixpkgs/nixos/modules/services/networking/monero.nix>