summaryrefslogtreecommitdiff
path: root/modules/system/datetime/openntpd.nix
blob: ec59d5b2b29e81e1755bc9846bb66c0bae954451 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ pkgs, ... }:
{
  services.openntpd = {
    enable = true;

    extraConfig = ''
      listen on 127.0.0.1
      listen on ::1
    '';
  };

  environment.systemPackages = [ pkgs.openntpd ];
}