anchor.diff:          home = stateDir;
         };
   
  -    jobs.ntpd =
  +    systemd.services.ntpd =
         { description = "NTP Daemon";
   
           wantedBy = [ "multi-user.target" ];
  -
  -        path = [ ntp ];
   
           preStart =
             ''
  
positive.code:   ntpUser = "ntp";
  
    configFile = pkgs.writeText "ntp.conf" ''
      # Keep the drift file in ${stateDir}/ntp.drift.  However, since we
      # chroot to ${stateDir}, we have to specify it as /ntp.drift.
      driftfile /ntp.drift
  
      restrict default kod nomodify notrap nopeer noquery
      restrict -6 default kod nomodify notrap nopeer noquery
      restrict 127.0.0.1
      restrict -6 ::1
  
      ${toString (map (server: "server " + server + " iburst\n") config.services.ntp.servers)}
    '';
  
    ntpFlags = "-c ${configFile} -u ${ntpUser}:nogroup -i ${stateDir}";
  
  in
  
  
negative.code:             chown ${ntpUser} ${stateDir}
            '';
  
          serviceConfig = {
            ExecStart = "@${ntp}/bin/ntpd ntpd -g -n ${ntpFlags}";
          };
        };
  
    };
  