Install nix package without adding to GNOME apps screen

When I install pkgs.vim by putting it in systemPackages, it also gets added to the GNOME apps screen (when I click on it it opens a terminal screen where vim is open).
How do I install vim without it appearing in the apps screen?

override the derivation and rm *.desktop files from the output, example:

final: prev: let
  withoutDesktopIcon = pkg:
    pkg.overrideAttrs (origAttrs: {
      postInstall = ''
        ${origAttrs.postInstall or ""}
        rm -rf $out/share/applications/*.desktop
      '';
    });
in {
  htop = withoutDesktopIcon prev.htop;
  btop = withoutDesktopIcon prev.btop;
  micro = withoutDesktopIcon prev.micro;
  fish = withoutDesktopIcon prev.fish;
}```