Skip to content

Openntpd

services.openntpd.enable

Whether to enable OpenNTP time synchronization server. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ntp/openntpd.nix

services.openntpd.extraConfig

Additional text appended to {file}openntpd.conf.

Type: strings concatenated with "\n"

Default

""

Example

'' listen on 127.0.0.1 listen on ::1''

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ntp/openntpd.nix

services.openntpd.extraOptions

Extra options used when launching openntpd.

Type: strings concatenated with " "

Default

""

Example

"-s"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ntp/openntpd.nix

services.openntpd.servers

The set of NTP servers from which to synchronise.

Type: list of string

Default

config.services.ntp.servers

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ntp/openntpd.nix