Problem, when multiple files are written computer is too laggy and even crashed

problem, when multiple files are written computer is too laggy and even crashed

fileSystems = {
    "/boot" = {
      device = "/dev/disk/by-uuid/09C1-B27D";
      fsType = "vfat";
    };
    "/" = {
      device = "/dev/disk/by-uuid/57314842-45ff-457a-8c7e-f2d6fce57d33";
      fsType = "btrfs";
      options = [ "autodefrag" "compress=zstd" "ssd" "discard" "noatime" ];
    };
  };
boot.kernelPackages = pkgs.linuxPackages_5_4;

kernel 5.10 => 5.4

when nix-channel --update unpacking channels…