Configure home manager settings with nix deploy

Question

Now I configure my vscode through home manager,and i wanna to configure my develop environment.My goal is to setup the spetific configs and extensions throgth nix deploy. For example, i want my vscode install nix ide extension and configre it correctly only when i nix deploy in the related dir but not installed for the user.Is there any way to combine home manager with nix develop?

my vscode home manager configuration

{
  pkgs,
  nix-vscode-extensions,
  ...
}:
{

  home.packages = with pkgs; [
    vscodium
  ];

  programs.vscode = {
    enable = true;
    package = pkgs.vscodium;
    profiles.default.extensions = import ./extensions.nix {
      inherit nix-vscode-extensions pkgs;
    };
    profiles.default.userSettings = pkgs.lib.importJSON ./settings.json;
  };
}