Skip to content

Ntfy sh

services.ntfy-sh.enable

Whether to enable ntfy-sh, a push notification service. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/ntfy-sh.nix

services.ntfy-sh.group

Primary group of ntfy-sh user. Type: string

Default

"ntfy-sh"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/ntfy-sh.nix

services.ntfy-sh.package

The ntfy-sh package to use. Type: package

Default

pkgs.ntfy-sh

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/ntfy-sh.nix

services.ntfy-sh.settings

Configuration for ntfy.sh, supported values are here.

Type: YAML value

Default

{ }

Example

{listen-http = ":8080";}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/ntfy-sh.nix

services.ntfy-sh.settings.base-url

Public facing base URL of the service

This setting is required for any of the following features: - attachments (to return a download URL) - e-mail sending (for the topic URL in the email footer) - iOS push notifications for self-hosted servers (to calculate the Firebase poll_request topic) - Matrix Push Gateway (to validate that the pushkey is correct)

Type: string

Example

"https://ntfy.example"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/ntfy-sh.nix

services.ntfy-sh.user

User the ntfy-sh server runs under. Type: string

Default

"ntfy-sh"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/ntfy-sh.nix