Installing extensions in Project IDX using dev.nix configuration file - not working

I have this same issue, the relevant sections of my dev.nix are below if it helps troubleshooting

 channel = "stable-24.05"; # or "unstable"

  # Use https://search.nixos.org/packages to find packages
  packages = [
    pkgs.go
    pkgs.gnumake    
    pkgs.python311
    pkgs.python311Packages.pip
    pkgs.google-cloud-sdk
    pkgs.kubectl
    pkgs.k9s
  ];

  # Sets environment variables in the workspace
  env = {};
  idx = {
    # Search for the extensions you want on https://open-vsx.org/ and use "publisher.id"
    extensions = [
      "golang.go"
      "ms-python.python"
      "ms-azuretools.docker"
      "github.vscode-github-actions"
    ];