MyNixOS website logo
option

services.sabnzbd.secretValues

Attrset of patterns in the settings that should be replaced at runtime, just before the service starts, with values read from the given files. The files must be readable by the service user.

Compared to the secretFiles option, secretValues allows having the full settings structure in Nix, and only externalizing the secret values themselves.

Declarations
Type
attribute set of absolute path
Default
{ }
Example
{
  "@my_server_password@" = "/run/secrets/my_server_password";
  "@my_server_username@" = "/run/secrets/my_server_username";
  "@sabnzbd_api_key@" = "/run/secrets/sabnzbd_api_key";
  "@sabnzbd_nzb_key@" = "/run/secrets/sabnzbd_nzb_key";
}