anchor.diff:          description = "Extra flags passed to the chronyd command.";
         };
       };
  -
     };
   
  -
  -  ###### implementation
  -
     config = mkIf cfg.enable {
  -
  -    # Make chronyc available in the system path
       environment.systemPackages = [ pkgs.chrony ];
   
       users.groups = singleton
  
positive.code: with lib;
  
  let
  
    stateDir = "/var/lib/chrony";
  
    keyFile = "/etc/chrony.keys";
  
    cfg = config.services.chrony;
  
    configFile = pkgs.writeText "chrony.conf" ''
      ${concatMapStringsSep "\n" (server: "server " + server) cfg.servers}
  
negative.code:     }
  
      driftfile ${stateDir}/chrony.drift
      keyfile ${keyFile}
  
      ${optionalString (!config.time.hardwareClockInLocalTime) "rtconutc"}
  