diff options
Diffstat (limited to 'modules/system/datetime/openntpd.nix')
| -rw-r--r-- | modules/system/datetime/openntpd.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/system/datetime/openntpd.nix b/modules/system/datetime/openntpd.nix new file mode 100644 index 0000000..ec59d5b --- /dev/null +++ b/modules/system/datetime/openntpd.nix @@ -0,0 +1,13 @@ +{ pkgs, ... }: +{ + services.openntpd = { + enable = true; + + extraConfig = '' + listen on 127.0.0.1 + listen on ::1 + ''; + }; + + environment.systemPackages = [ pkgs.openntpd ]; +} |