From 8b5e5079e5fd00eadf2e3926c104e4ecf99a5779 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 4 Sep 2024 19:57:20 -0700 Subject: refac --- modules/system/datetime/openntpd.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 modules/system/datetime/openntpd.nix (limited to 'modules/system/datetime/openntpd.nix') 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 ]; +} -- cgit v1.2.3