services.ntfy-sh.environmentFile

NixOS option

Path to a file containing extra ntfy environment variables in the systemd EnvironmentFile format. Refer to the documentation for config options. This can be used to pass secrets such as creating declarative users or token without putting them in the Nix store.

type: null or absolute path
Default
null
Example
"/run/secrets/ntfy"
declared in: nixos/modules/services/misc/ntfy-sh.nixView source on NixOS/nixpkgs →