Override kernel version

I need to install exact kernel version to bisect a bug. I’ve tried to set the version in my /etc/nixos/configuration.nix like:

  nixpkgs.config.packageOverrides = pkgs : {
    linux = pkgs.linux.override {version="4.19.60";};
  };

nixos-rebuild switch doesn’t seem to do anything:

$ file /nix/var/nix/profiles/system/kernel
/nix/var/nix/profiles/system/kernel: symbolic link to /nix/store/0n0j02amv1vayml7qr7nlrl8rzrycgyf-linux-4.19.63/bzImage

How can I install the exact version?

This works for me:

boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.linux_4_19.override { argsOverride = { version = "4.19.60"; }; });