It's possible to execute shell script with home-manager/nix?

I’m trying to configure vscodium with nix but I don’t want to use the opt-programs.vscode.extensions because:

  1. There is little to none vscode extensions available for nix.
  2. I don’t care and actually prefer to have self-update on the extensions.

This is my current vscode config:

{ config, pkgs, ... }:

{
  programs.vscode = {
    enable = true;
    package = pkgs.vscodium;
    userSettings = {
      ...
    };
  };
}

There is any way to inject “shell execution” in this block? I would like to execute codium --install-extension golang.go.

never mind…