services.snips-sh.environmentFile
NixOS option
Additional environment file as defined in systemd.exec(5). Sensitive secrets such as SNIPS_SSH_HOSTKEYPATH and SNIPS_METRICS_STATSD may be passed to the service while avoiding potentially making them world-readable in the nix store or to convert an existing non-nix installation with minimum hassle. Note that this file needs to be available on the host on which snips-sh is running.
type: null or absolute pathDefault
null
Example
declared in: nixos/modules/services/web-apps/snips-sh.nixView source on NixOS/nixpkgs →"/etc/snips-sh.env"