services.snips-sh.settings
The configuration of snips-sh is done through environment variables, therefore you must use upper snake case (e.g. SNIPS_HTTP_INTERNAL).
Based on the attributes passed to this config option an environment file will be generated that is passed to snips-sh's systemd service.
The available configuration options can be found in self-hosting guide to find about the environment variables you can use.
- Type
open submodule of attribute set of (null or string or signed integer or boolean)- Default
{ }- Example
{ SNIPS_HTTP_INTERNAL = "http://0.0.0.0:8080"; SNIPS_SSH_INTERNAL = "ssh://0.0.0.0:2222"; }- Declared
- <nixpkgs/nixos/modules/services/web-apps/snips-sh.nix>