diff --git a/nixos/modules/synit/services/ntpd.nix b/nixos/modules/synit/services/ntpd.nix index 6cd4b26..fc12af8 100644 --- a/nixos/modules/synit/services/ntpd.nix +++ b/nixos/modules/synit/services/ntpd.nix @@ -2,13 +2,14 @@ { config = lib.mkIf config.services.ntp.enable { - environment.etc."syndicate/services/ssh-keygen.pr".text = let - serverList = - lib.lists.concatMap (s: " -p ${s}") config.networking.timeServers; - in '' - > - > - - ''; + environment.etc."syndicate/services/ntpd.pr".text = + let serverList = map (s: " -p ${s}") config.networking.timeServers; + in '' + > + > + + ''; }; }