convert ntp to serviceDefn

This commit is contained in:
Daniel Barlow 2023-08-05 14:16:54 +01:00
parent 93e04bb834
commit 2414dd4b55
4 changed files with 49 additions and 52 deletions

View file

@ -90,7 +90,7 @@ in rec {
];
};
services.ntp = svc.ntp {
services.ntp = svc.ntp.build {
pools = { "pool.ntp.org" = ["iburst"]; };
makestep = { threshold = 1.0; limit = 3; };
};