services.ntp.restrictSource

NixOS option

The restriction flags to be set on source. The default flags allow peers to be added by ntpd from configured pool(s), but not by other means.

type: list of string
Default
[
  "limited"
  "kod"
  "nomodify"
  "notrap"
  "noquery"
]
declared in: nixos/modules/services/networking/ntp/ntpd.nixView source on NixOS/nixpkgs →