services.monero.environmentFile
NixOS option
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 pathDefault
null
Example
declared in: nixos/modules/services/networking/monero.nixView source on NixOS/nixpkgs →"/var/lib/monero/monerod.env"