Skip to content

Ntpd rs

services.ntpd-rs.enable

Whether to enable Network Time Service (ntpd-rs). Type: boolean

Default

false

Example

true

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

services.ntpd-rs.metrics.enable

Whether to enable ntpd-rs Prometheus Metrics Exporter. Type: boolean

Default

false

Example

true

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

services.ntpd-rs.package

The ntpd-rs package to use. Type: package

Default

pkgs.ntpd-rs

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

services.ntpd-rs.settings

Settings to write to {file}ntp.toml

See https://docs.ntpd-rs.pendulum-project.org/man/ntp.toml.5 for more information about available options.

Type: TOML value

Default

{ }

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

services.ntpd-rs.useNetworkingTimeServers

Use source time servers from {var}networking.timeServers in config.

Type: boolean

Default

true

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