diff --git a/host/x86_64-linux/home/Network.nix b/host/x86_64-linux/home/Network.nix index ab2132c..1189fe1 100644 --- a/host/x86_64-linux/home/Network.nix +++ b/host/x86_64-linux/home/Network.nix @@ -110,6 +110,7 @@ in }; dhcpServerConfig = { DNS = internal; + NTP = internal; DefaultLeaseTimeSec = "12h"; EmitDNS = true; EmitNTP = true; diff --git a/host/x86_64-linux/home/OpenNtpd.nix b/host/x86_64-linux/home/OpenNtpd.nix new file mode 100644 index 0000000..f0ebafe --- /dev/null +++ b/host/x86_64-linux/home/OpenNtpd.nix @@ -0,0 +1,9 @@ +{ ... }: { + services.openntpd = { + enable = true; + extraConfig = '' + listen on 0.0.0.0 + listen on :: + ''; + }; +}