Skip to content

Mollysocket

services.mollysocket.enable

Whether to enable MollySocket for getting Signal notifications via UnifiedPush . Type: boolean

Default

false

Example

true

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

services.mollysocket.environmentFile

Environment file (see {manpage}systemd.exec(5) "EnvironmentFile=" section for the syntax) passed to the service. This option can be used to safely include secrets in the configuration.

Type: null or path

Default

null

Example

"/run/secrets/mollysocket"

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

services.mollysocket.logLevel

Set the {env}RUST_LOG environment variable Type: string

Default

"info"

Example

"debug"

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

services.mollysocket.settings

Configuration for MollySocket. Available options are listed here.

Type: TOML value

Default

{ }

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

services.mollysocket.settings.allowed_endpoints

List of UnifiedPush servers Type: list of string

Default

["*"]

Example

["https://ntfy.sh"]

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

services.mollysocket.settings.allowed_uuids

UUIDs of Signal accounts that may use this server Type: list of string

Default

["*"]

Example

["abcdef-12345-tuxyz-67890"]

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

services.mollysocket.settings.host

Listening address of the web server Type: string

Default

"127.0.0.1"

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

services.mollysocket.settings.port

Listening port of the web server Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

8020

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