Repository: nix-community/home-manager

Issue #3507: bug: vscode 1.74.1 loads without extensions
Created: 2022-12-19T21:38:26Z
Are you following the right branch?

 My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

 I have searched the existing issues

Issue description
Vscode got updated to 1.74.1 in the following PR:

NixOS/nixpkgs#206007

After that, vscode no longer loads with extensions. Seems like it may be the incorrect extension path for darwin?
Maintainer CC
No response
System information
- system: `"aarch64-darwin"`
 - host os: `Darwin 21.6.0, macOS 12.6`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.12.0`
 - channels(donferi): `"home-manager, nixpkgs"`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/Users/donferi/.nix-defexpr/channels/nixpkgs`

Duplicate issue #4394: bug: vscode 1.81 extensions unloaded after rebuild with added extension
Created: 2023-08-31T06:37:43Z
Are you following the right branch?

 My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

 I have searched the existing issues

Issue description
I use home-manager as nixos module. Whenever I rebuild my system, vscode isn't able to load the specified extensions anymore. Manual cleanup after rebuild solves this issue until the next rebuild.

~/.vscode/extensions before rebuild, after freshly adding vscode to my config
lrwxrwxrwx   108 katexochen 31 Aug 08:14  .extensions-immutable.json -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/.extensions-immutable.json
lrwxrwxrwx   109 katexochen 31 Aug 08:14  albymor.increment-selection -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/albymor.increment-selection
lrwxrwxrwx   105 katexochen 31 Aug 08:14  bazelbuild.vscode-bazel -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/bazelbuild.vscode-bazel
lrwxrwxrwx    97 katexochen 31 Aug 08:14  eamodio.gitlens -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/eamodio.gitlens
.rw-r--r--  8.4k katexochen 31 Aug 08:14  extensions.json
lrwxrwxrwx    96 katexochen 31 Aug 08:14  GitHub.copilot -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/GitHub.copilot
lrwxrwxrwx   110 katexochen 31 Aug 08:14  github.vscode-github-actions -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/github.vscode-github-actions
lrwxrwxrwx   115 katexochen 31 Aug 08:14  github.vscode-pull-request-github -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/github.vscode-pull-request-github
lrwxrwxrwx    91 katexochen 31 Aug 08:14  golang.Go -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/golang.Go
lrwxrwxrwx   101 katexochen 31 Aug 08:14  hashicorp.terraform -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/hashicorp.terraform
lrwxrwxrwx   102 katexochen 31 Aug 08:14  iliazeus.vscode-ansi -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/iliazeus.vscode-ansi
lrwxrwxrwx   105 katexochen 31 Aug 08:14  James-Yu.latex-workshop -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/James-Yu.latex-workshop
lrwxrwxrwx   115 katexochen 31 Aug 08:14  jamesyang999.vscode-emacs-minimum -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/jamesyang999.vscode-emacs-minimum
lrwxrwxrwx   100 katexochen 31 Aug 08:14  jnoortheen.nix-ide -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/jnoortheen.nix-ide
lrwxrwxrwx    98 katexochen 31 Aug 08:14  ms-python.python -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/ms-python.python
lrwxrwxrwx   106 katexochen 31 Aug 08:14  MS-python.vscode-pylance -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/MS-python.vscode-pylance
lrwxrwxrwx   100 katexochen 31 Aug 08:14  ms-vscode.cpptools -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/ms-vscode.cpptools
lrwxrwxrwx   108 katexochen 31 Aug 08:14  ms-vsliveshare.vsliveshare -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/ms-vsliveshare.vsliveshare
lrwxrwxrwx   101 katexochen 31 Aug 08:14  quicktype.quicktype -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/quicktype.quicktype
lrwxrwxrwx   100 katexochen 31 Aug 08:14  redhat.vscode-yaml -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/redhat.vscode-yaml
lrwxrwxrwx   105 katexochen 31 Aug 08:14  rust-lang.rust-analyzer -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/rust-lang.rust-analyzer
lrwxrwxrwx   119 katexochen 31 Aug 08:14  streetsidesoftware.code-spell-checker -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/streetsidesoftware.code-spell-checker
lrwxrwxrwx   111 katexochen 31 Aug 08:14  Tim-Koehler.helm-intellisense -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/Tim-Koehler.helm-intellisense
lrwxrwxrwx   102 katexochen 31 Aug 08:14  timonwong.shellcheck -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/timonwong.shellcheck
lrwxrwxrwx   107 katexochen 31 Aug 08:14  twpayne.vscode-testscript -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/twpayne.vscode-testscript
lrwxrwxrwx   107 katexochen 31 Aug 08:14  uloco.theme-bluloco-light -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/uloco.theme-bluloco-light
lrwxrwxrwx   102 katexochen 31 Aug 08:14  valentjn.vscode-ltex -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/valentjn.vscode-ltex
lrwxrwxrwx   108 katexochen 31 Aug 08:14  yzhang.markdown-all-in-one -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/yzhang.markdown-all-in-one
lrwxrwxrwx   102 katexochen 31 Aug 08:14  zxh404.vscode-proto3 -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/zxh404.vscode-proto3


after starting vscode, additional directories and files are created
lrwxrwxrwx   108 katexochen 31 Aug 08:14  .extensions-immutable.json -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/.extensions-immutable.json
.rw-r--r--   549 katexochen 31 Aug 08:16  .obsolete
lrwxrwxrwx   109 katexochen 31 Aug 08:14  albymor.increment-selection -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/albymor.increment-selection
lrwxrwxrwx   105 katexochen 31 Aug 08:14  bazelbuild.vscode-bazel -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/bazelbuild.vscode-bazel
lrwxrwxrwx    97 katexochen 31 Aug 08:14  eamodio.gitlens -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/eamodio.gitlens
drwxr-xr-x     - katexochen 31 Aug 08:16  eamodio.gitlens-14.2.1
.rw-r--r--   14k katexochen 31 Aug 08:16  extensions.json
lrwxrwxrwx    96 katexochen 31 Aug 08:14  GitHub.copilot -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/GitHub.copilot
drwxr-xr-x     - katexochen 31 Aug 08:16  github.copilot-1.106.371
lrwxrwxrwx   110 katexochen 31 Aug 08:14  github.vscode-github-actions -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/github.vscode-github-actions
drwxr-xr-x     - katexochen 31 Aug 08:16  github.vscode-github-actions-0.26.1
lrwxrwxrwx   115 katexochen 31 Aug 08:14  github.vscode-pull-request-github -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/github.vscode-pull-request-github
drwxr-xr-x     - katexochen 31 Aug 08:16  github.vscode-pull-request-github-0.70.0
lrwxrwxrwx    91 katexochen 31 Aug 08:14  golang.Go -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/golang.Go
drwxr-xr-x     - katexochen 31 Aug 08:16  golang.go-0.39.1
lrwxrwxrwx   101 katexochen 31 Aug 08:14  hashicorp.terraform -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/hashicorp.terraform
drwxr-xr-x     - katexochen 31 Aug 08:16  hashicorp.terraform-2.27.1-linux-x64
lrwxrwxrwx   102 katexochen 31 Aug 08:14  iliazeus.vscode-ansi -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/iliazeus.vscode-ansi
lrwxrwxrwx   105 katexochen 31 Aug 08:14  James-Yu.latex-workshop -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/James-Yu.latex-workshop
drwxr-xr-x     - katexochen 31 Aug 08:16  james-yu.latex-workshop-9.13.4
lrwxrwxrwx   115 katexochen 31 Aug 08:14  jamesyang999.vscode-emacs-minimum -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/jamesyang999.vscode-emacs-minimum
lrwxrwxrwx   100 katexochen 31 Aug 08:14  jnoortheen.nix-ide -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/jnoortheen.nix-ide
lrwxrwxrwx    98 katexochen 31 Aug 08:14  ms-python.python -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/ms-python.python
drwxr-xr-x     - katexochen 31 Aug 08:16  ms-python.python-2023.14.0
lrwxrwxrwx   106 katexochen 31 Aug 08:14  MS-python.vscode-pylance -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/MS-python.vscode-pylance
drwxr-xr-x     - katexochen 31 Aug 08:16  ms-python.vscode-pylance-2023.8.51
lrwxrwxrwx   100 katexochen 31 Aug 08:14  ms-vscode.cpptools -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/ms-vscode.cpptools
drwxr-xr-x     - katexochen 31 Aug 08:16  ms-vscode.cpptools-1.17.5-linux-x64
lrwxrwxrwx   108 katexochen 31 Aug 08:14  ms-vsliveshare.vsliveshare -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/ms-vsliveshare.vsliveshare
drwxr-xr-x     - katexochen 31 Aug 08:16  ms-vsliveshare.vsliveshare-1.0.5883
lrwxrwxrwx   101 katexochen 31 Aug 08:14  quicktype.quicktype -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/quicktype.quicktype
lrwxrwxrwx   100 katexochen 31 Aug 08:14  redhat.vscode-yaml -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/redhat.vscode-yaml
drwxr-xr-x     - katexochen 31 Aug 08:16  redhat.vscode-yaml-1.14.0
lrwxrwxrwx   105 katexochen 31 Aug 08:14  rust-lang.rust-analyzer -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/rust-lang.rust-analyzer
drwxr-xr-x     - katexochen 31 Aug 08:16  rust-lang.rust-analyzer-0.3.1641-linux-x64
lrwxrwxrwx   119 katexochen 31 Aug 08:14  streetsidesoftware.code-spell-checker -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/streetsidesoftware.code-spell-checker
lrwxrwxrwx   111 katexochen 31 Aug 08:14  Tim-Koehler.helm-intellisense -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/Tim-Koehler.helm-intellisense
lrwxrwxrwx   102 katexochen 31 Aug 08:14  timonwong.shellcheck -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/timonwong.shellcheck
drwxr-xr-x     - katexochen 31 Aug 08:16  timonwong.shellcheck-0.34.0-linux-x64
lrwxrwxrwx   107 katexochen 31 Aug 08:14  twpayne.vscode-testscript -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/twpayne.vscode-testscript
lrwxrwxrwx   107 katexochen 31 Aug 08:14  uloco.theme-bluloco-light -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/uloco.theme-bluloco-light
lrwxrwxrwx   102 katexochen 31 Aug 08:14  valentjn.vscode-ltex -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/valentjn.vscode-ltex
lrwxrwxrwx   108 katexochen 31 Aug 08:14  yzhang.markdown-all-in-one -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/yzhang.markdown-all-in-one
lrwxrwxrwx   102 katexochen 31 Aug 08:14  zxh404.vscode-proto3 -> /nix/store/lg96bdi9n1l6l0iq24cxz4fyff6g1vay-home-manager-files/.vscode/extensions/zxh404.vscode-proto3
drwxr-xr-x     - katexochen 31 Aug 08:16  zxh404.vscode-proto3-0.5.5


Content of .obsolete
{
  "golang.go-0.38.0": true,
  "redhat.vscode-yaml-1.12.0": true,
  "github.vscode-pull-request-github-0.68.1": true,
  "timonwong.shellcheck-0.26.3": true,
  "github.vscode-github-actions-0.25.6": true,
  "github.copilot-1.96.257": true,
  "hashicorp.terraform-2.19.0": true,
  "eamodio.gitlens-14.1.1": true,
  "rust-lang.rust-analyzer-0.3.1607": true,
  "ms-vsliveshare.vsliveshare-1.0.5834": true,
  "james-yu.latex-workshop-9.10.0": true,
  "ms-python.python-2023.1.10091012": true,
  "ms-vscode.cpptools-1.11.0": true,
  "zxh404.vscode-proto3-0.5.4": true,
  "ms-python.vscode-pylance-2022.7.11": true
}



Content of extensions.json
[
  {
    "identifier": {
      "id": "tim-koehler.helm-intellisense"
    },
    "version": "0.14.3",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/Tim-Koehler.helm-intellisense",
      "scheme": "file"
    },
    "relativeLocation": "Tim-Koehler.helm-intellisense",
    "metadata": {
      "id": "1f8a7b1b-d91a-45aa-a69c-10482b94044a",
      "publisherDisplayName": "Tim Koehler",
      "publisherId": "5946f4e1-7f6d-4dfe-bd47-f98347197cdc",
      "isPreReleaseVersion": false
    }
  },
  {
    "identifier": {
      "id": "albymor.increment-selection"
    },
    "version": "0.2.0",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/albymor.increment-selection",
      "scheme": "file"
    },
    "relativeLocation": "albymor.increment-selection",
    "metadata": {
      "id": "3fe4660f-1dcb-47d4-8f7e-1a22a16b2d5e",
      "publisherDisplayName": "Alberto Morato",
      "publisherId": "c5e17626-f8b5-45bc-9f7e-1f38ea0ee4bf",
      "isPreReleaseVersion": false
    }
  },
  {
    "identifier": {
      "id": "bazelbuild.vscode-bazel"
    },
    "version": "0.7.0",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/bazelbuild.vscode-bazel",
      "scheme": "file"
    },
    "relativeLocation": "bazelbuild.vscode-bazel",
    "metadata": {
      "id": "e21a6113-833a-4583-b519-869fd1c1c384",
      "publisherDisplayName": "The Bazel Team",
      "publisherId": "d0cc863d-db86-44f6-92ad-3d363713d0a0",
      "isPreReleaseVersion": false
    }
  },
  {
    "identifier": {
      "id": "iliazeus.vscode-ansi"
    },
    "version": "1.1.6",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/iliazeus.vscode-ansi",
      "scheme": "file"
    },
    "relativeLocation": "iliazeus.vscode-ansi",
    "metadata": {
      "id": "166e6c60-18b8-41fd-8f55-2067f667acc2",
      "publisherDisplayName": "Ilia Pozdnyakov",
      "publisherId": "fa0e8239-2a4a-42a4-9f10-d0cdfa5f45eb",
      "isPreReleaseVersion": false
    }
  },
  {
    "identifier": {
      "id": "jamesyang999.vscode-emacs-minimum"
    },
    "version": "1.1.1",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/jamesyang999.vscode-emacs-minimum",
      "scheme": "file"
    },
    "relativeLocation": "jamesyang999.vscode-emacs-minimum",
    "metadata": {
      "id": "9b4fe24f-bcd5-42cf-b5b7-93f4c88f3564",
      "publisherDisplayName": "jamesyang999",
      "publisherId": "7407f627-63af-4347-aad6-671a07295957",
      "isPreReleaseVersion": false
    }
  },
  {
    "identifier": {
      "id": "jnoortheen.nix-ide"
    },
    "version": "0.2.2",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/jnoortheen.nix-ide",
      "scheme": "file"
    },
    "relativeLocation": "jnoortheen.nix-ide",
    "metadata": {
      "id": "0ffebccd-4265-4f2d-a855-db1adcf278c7",
      "publisherDisplayName": "Noortheen",
      "publisherId": "3a7c13d8-8768-454a-be53-290c25bd0f85",
      "isPreReleaseVersion": false
    }
  },
  {
    "identifier": {
      "id": "quicktype.quicktype"
    },
    "version": "12.0.46",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/quicktype.quicktype",
      "scheme": "file"
    },
    "relativeLocation": "quicktype.quicktype",
    "metadata": {
      "id": "e05d98bf-3735-4c1e-9fae-86ef0a52e19f",
      "publisherDisplayName": "quicktype",
      "publisherId": "3982f084-5346-4d3e-a32c-05ed222fd530",
      "isPreReleaseVersion": false
    }
  },
  {
    "identifier": {
      "id": "streetsidesoftware.code-spell-checker"
    },
    "version": "2.20.5",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/streetsidesoftware.code-spell-checker",
      "scheme": "file"
    },
    "relativeLocation": "streetsidesoftware.code-spell-checker",
    "metadata": {
      "id": "f6dbd813-b0a0-42c1-90ea-10dde9d925a7",
      "publisherDisplayName": "Street Side Software",
      "publisherId": "67600ca7-88fb-4104-9f7e-dd51c00facf2",
      "isPreReleaseVersion": false
    }
  },
  {
    "identifier": {
      "id": "twpayne.vscode-testscript"
    },
    "version": "0.0.3",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/twpayne.vscode-testscript",
      "scheme": "file"
    },
    "relativeLocation": "twpayne.vscode-testscript",
    "metadata": {
      "id": "882fda48-d735-4cf6-a2b7-492247bf4ab8",
      "publisherDisplayName": "Tom Payne",
      "publisherId": "1662e8ca-5c45-4183-84b9-7e49cd31b087",
      "isPreReleaseVersion": false
    }
  },
  {
    "identifier": {
      "id": "uloco.theme-bluloco-light"
    },
    "version": "3.7.3",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/uloco.theme-bluloco-light",
      "scheme": "file"
    },
    "relativeLocation": "uloco.theme-bluloco-light",
    "metadata": {
      "id": "ee960969-f319-4daf-b7a0-a4bc8982cb8a",
      "publisherDisplayName": "Umut Topuzoğlu",
      "publisherId": "97df0873-3318-4b23-927e-f0aa91a951ba",
      "isPreReleaseVersion": false
    }
  },
  {
    "identifier": {
      "id": "valentjn.vscode-ltex"
    },
    "version": "13.1.0",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/valentjn.vscode-ltex",
      "scheme": "file"
    },
    "relativeLocation": "valentjn.vscode-ltex",
    "metadata": {
      "id": "840e9c85-0e99-42ce-aa62-81088245e699",
      "publisherDisplayName": "Julian Valentin",
      "publisherId": "b6e73a06-de27-4f93-94d3-f9cfb32e6173",
      "isPreReleaseVersion": false
    }
  },
  {
    "identifier": {
      "id": "yzhang.markdown-all-in-one"
    },
    "version": "3.5.1",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/yzhang.markdown-all-in-one",
      "scheme": "file"
    },
    "relativeLocation": "yzhang.markdown-all-in-one",
    "metadata": {
      "id": "98790d67-10fa-497c-9113-f6c7489207b2",
      "publisherDisplayName": "Yu Zhang",
      "publisherId": "36c8b41c-6ef6-4bf5-a5b7-65bef29b606f",
      "isPreReleaseVersion": false
    }
  },
  {
    "identifier": {
      "id": "golang.go",
      "uuid": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da"
    },
    "version": "0.39.1",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/golang.go-0.39.1",
      "scheme": "file"
    },
    "relativeLocation": "golang.go-0.39.1",
    "metadata": {
      "id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da",
      "publisherId": "dbf6ae0a-da75-4167-ac8b-75b4512f2153",
      "publisherDisplayName": "Go Team at Google",
      "targetPlatform": "undefined",
      "isApplicationScoped": false,
      "updated": true,
      "isPreReleaseVersion": false,
      "installedTimestamp": 1693462600525,
      "preRelease": false
    }
  },
  {
    "identifier": {
      "id": "redhat.vscode-yaml",
      "uuid": "2061917f-f76a-458a-8da9-f162de22b97e"
    },
    "version": "1.14.0",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/redhat.vscode-yaml-1.14.0",
      "scheme": "file"
    },
    "relativeLocation": "redhat.vscode-yaml-1.14.0",
    "metadata": {
      "id": "2061917f-f76a-458a-8da9-f162de22b97e",
      "publisherId": "eed56242-9699-4317-8bc7-e9f4b9bdd3ff",
      "publisherDisplayName": "Red Hat",
      "targetPlatform": "undefined",
      "isApplicationScoped": false,
      "updated": true,
      "isPreReleaseVersion": false,
      "installedTimestamp": 1693462600706,
      "preRelease": true
    }
  },
  {
    "identifier": {
      "id": "github.vscode-pull-request-github",
      "uuid": "69ddd764-339a-4ecc-97c1-9c4ece58e36d"
    },
    "version": "0.70.0",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/github.vscode-pull-request-github-0.70.0",
      "scheme": "file"
    },
    "relativeLocation": "github.vscode-pull-request-github-0.70.0",
    "metadata": {
      "id": "69ddd764-339a-4ecc-97c1-9c4ece58e36d",
      "publisherId": "7c1c19cd-78eb-4dfb-8999-99caf7679002",
      "publisherDisplayName": "GitHub",
      "targetPlatform": "undefined",
      "isApplicationScoped": false,
      "updated": true,
      "isPreReleaseVersion": false,
      "installedTimestamp": 1693462600615,
      "preRelease": false
    }
  },
  {
    "identifier": {
      "id": "timonwong.shellcheck",
      "uuid": "f95d8fff-f70a-4ae5-bb06-5c47ddbc8fc6"
    },
    "version": "0.34.0",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/timonwong.shellcheck-0.34.0-linux-x64",
      "scheme": "file"
    },
    "relativeLocation": "timonwong.shellcheck-0.34.0-linux-x64",
    "metadata": {
      "id": "f95d8fff-f70a-4ae5-bb06-5c47ddbc8fc6",
      "publisherId": "04757770-dd50-443e-aae4-e1c7cf9c24f5",
      "publisherDisplayName": "Timon Wong",
      "targetPlatform": "linux-x64",
      "isApplicationScoped": false,
      "updated": true,
      "isPreReleaseVersion": false,
      "installedTimestamp": 1693462600754,
      "preRelease": false
    }
  },
  {
    "identifier": {
      "id": "github.vscode-github-actions",
      "uuid": "04f49bfc-8330-4eee-8237-ea938fb755ef"
    },
    "version": "0.26.1",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/github.vscode-github-actions-0.26.1",
      "scheme": "file"
    },
    "relativeLocation": "github.vscode-github-actions-0.26.1",
    "metadata": {
      "id": "04f49bfc-8330-4eee-8237-ea938fb755ef",
      "publisherId": "7c1c19cd-78eb-4dfb-8999-99caf7679002",
      "publisherDisplayName": "GitHub",
      "targetPlatform": "undefined",
      "isApplicationScoped": false,
      "updated": true,
      "isPreReleaseVersion": false,
      "installedTimestamp": 1693462600482,
      "preRelease": false
    }
  },
  {
    "identifier": {
      "id": "github.copilot",
      "uuid": "23c4aeee-f844-43cd-b53e-1113e483f1a6"
    },
    "version": "1.106.371",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/github.copilot-1.106.371",
      "scheme": "file"
    },
    "relativeLocation": "github.copilot-1.106.371",
    "metadata": {
      "id": "23c4aeee-f844-43cd-b53e-1113e483f1a6",
      "publisherId": "7c1c19cd-78eb-4dfb-8999-99caf7679002",
      "publisherDisplayName": "GitHub",
      "targetPlatform": "undefined",
      "isApplicationScoped": false,
      "updated": true,
      "isPreReleaseVersion": true,
      "installedTimestamp": 1693462600822,
      "preRelease": true
    }
  },
  {
    "identifier": {
      "id": "hashicorp.terraform",
      "uuid": "4a23294b-fd16-4c51-9759-da9936474cf8"
    },
    "version": "2.27.1",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/hashicorp.terraform-2.27.1-linux-x64",
      "scheme": "file"
    },
    "relativeLocation": "hashicorp.terraform-2.27.1-linux-x64",
    "metadata": {
      "id": "4a23294b-fd16-4c51-9759-da9936474cf8",
      "publisherId": "a8dd781d-e144-400a-943c-417165981be2",
      "publisherDisplayName": "HashiCorp",
      "targetPlatform": "linux-x64",
      "isApplicationScoped": false,
      "updated": true,
      "isPreReleaseVersion": false,
      "installedTimestamp": 1693462600557,
      "preRelease": false
    }
  },
  {
    "identifier": {
      "id": "eamodio.gitlens",
      "uuid": "4de763bd-505d-4978-9575-2b7696ecf94e"
    },
    "version": "14.2.1",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/eamodio.gitlens-14.2.1",
      "scheme": "file"
    },
    "relativeLocation": "eamodio.gitlens-14.2.1",
    "metadata": {
      "id": "4de763bd-505d-4978-9575-2b7696ecf94e",
      "publisherId": "678d198b-9b2e-49d3-96ff-6d801c9575df",
      "publisherDisplayName": "GitKraken",
      "targetPlatform": "undefined",
      "isApplicationScoped": false,
      "updated": true,
      "isPreReleaseVersion": false,
      "installedTimestamp": 1693462600438,
      "preRelease": false
    }
  },
  {
    "identifier": {
      "id": "rust-lang.rust-analyzer",
      "uuid": "06574cb4-e5dc-4631-8174-a543a4533621"
    },
    "version": "0.3.1641",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/rust-lang.rust-analyzer-0.3.1641-linux-x64",
      "scheme": "file"
    },
    "relativeLocation": "rust-lang.rust-analyzer-0.3.1641-linux-x64",
    "metadata": {
      "id": "06574cb4-e5dc-4631-8174-a543a4533621",
      "publisherId": "cb14a7a7-a188-40bd-a953-e0a20757c5dd",
      "publisherDisplayName": "The Rust Programming Language ",
      "targetPlatform": "linux-x64",
      "isApplicationScoped": false,
      "updated": true,
      "isPreReleaseVersion": false,
      "installedTimestamp": 1693462600728,
      "preRelease": false
    }
  },
  {
    "identifier": {
      "id": "ms-vsliveshare.vsliveshare",
      "uuid": "5a6dc0d5-dc02-4121-8e24-cad33a2ff0af"
    },
    "version": "1.0.5883",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.5883",
      "scheme": "file"
    },
    "relativeLocation": "ms-vsliveshare.vsliveshare-1.0.5883",
    "metadata": {
      "id": "5a6dc0d5-dc02-4121-8e24-cad33a2ff0af",
      "publisherId": "74365139-d24d-4d0a-8377-c28643f7a216",
      "publisherDisplayName": "Microsoft",
      "targetPlatform": "undefined",
      "isApplicationScoped": false,
      "updated": true,
      "isPreReleaseVersion": false,
      "installedTimestamp": 1693462600668,
      "preRelease": false
    }
  },
  {
    "identifier": {
      "id": "james-yu.latex-workshop",
      "uuid": "61d03280-3919-4dd1-bce1-178ca21fdeaf"
    },
    "version": "9.13.4",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/james-yu.latex-workshop-9.13.4",
      "scheme": "file"
    },
    "relativeLocation": "james-yu.latex-workshop-9.13.4",
    "metadata": {
      "id": "61d03280-3919-4dd1-bce1-178ca21fdeaf",
      "publisherId": "acd591bd-fa80-4809-bdbd-28c80bed19ec",
      "publisherDisplayName": "James Yu",
      "targetPlatform": "undefined",
      "isApplicationScoped": false,
      "updated": true,
      "isPreReleaseVersion": false,
      "installedTimestamp": 1693462600387,
      "preRelease": false
    }
  },
  {
    "identifier": {
      "id": "ms-python.python",
      "uuid": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5"
    },
    "version": "2023.14.0",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/ms-python.python-2023.14.0",
      "scheme": "file"
    },
    "relativeLocation": "ms-python.python-2023.14.0",
    "metadata": {
      "id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
      "publisherId": "998b010b-e2af-44a5-a6cd-0b5fd3b9b6f8",
      "publisherDisplayName": "Microsoft",
      "targetPlatform": "undefined",
      "isApplicationScoped": false,
      "updated": true,
      "isPreReleaseVersion": false,
      "installedTimestamp": 1693462600587,
      "preRelease": false
    }
  },
  {
    "identifier": {
      "id": "ms-vscode.cpptools",
      "uuid": "690b692e-e8a9-493f-b802-8089d50ac1b2"
    },
    "version": "1.17.5",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/ms-vscode.cpptools-1.17.5-linux-x64",
      "scheme": "file"
    },
    "relativeLocation": "ms-vscode.cpptools-1.17.5-linux-x64",
    "metadata": {
      "id": "690b692e-e8a9-493f-b802-8089d50ac1b2",
      "publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",
      "publisherDisplayName": "Microsoft",
      "targetPlatform": "linux-x64",
      "isApplicationScoped": false,
      "updated": true,
      "isPreReleaseVersion": false,
      "installedTimestamp": 1693462600642,
      "preRelease": true
    }
  },
  {
    "identifier": {
      "id": "zxh404.vscode-proto3",
      "uuid": "1d3d1fb2-0d8f-47ed-bfce-990b8ddfc9d8"
    },
    "version": "0.5.5",
    "location": {
      "$mid": 1,
      "path": "/home/katexochen/.vscode/extensions/zxh404.vscode-proto3-0.5.5",
      "scheme": "file"
    },
    "relativeLocation": "zxh404.vscode-proto3-0.5.5",
    "metadata": {
      "id": "1d3d1fb2-0d8f-47ed-bfce-990b8ddfc9d8",
      "publisherId": "01410813-d392-42ea-99c3-eb4475e23ac0",
      "publisherDisplayName": "zxh404",
      "targetPlatform": "undefined",
      "isApplicationScoped": false,
      "updated": true,
      "isPreReleaseVersion": false,
      "installedTimestamp": 1693462600795,
      "preRelease": false
    }
  },
  {
    "identifier": {
      "id": "ms-python.vscode-pylance",
      "uuid": "364d2426-116a-433a-a5d8-a5098dc3afbd"
    },
    "version": "2023.8.51",
    "location": {
      "$mid": 1,
      "fsPath": "/home/katexochen/.vscode/extensions/ms-python.vscode-pylance-2023.8.51",
      "external": "file:///home/katexochen/.vscode/extensions/ms-python.vscode-pylance-2023.8.51",
      "path": "/home/katexochen/.vscode/extensions/ms-python.vscode-pylance-2023.8.51",
      "scheme": "file"
    },
    "relativeLocation": "ms-python.vscode-pylance-2023.8.51",
    "metadata": {
      "id": "364d2426-116a-433a-a5d8-a5098dc3afbd",
      "publisherId": "998b010b-e2af-44a5-a6cd-0b5fd3b9b6f8",
      "publisherDisplayName": "Microsoft",
      "targetPlatform": "undefined",
      "isApplicationScoped": false,
      "updated": true,
      "isPreReleaseVersion": true,
      "installedTimestamp": 1693462601307,
      "preRelease": true
    }
  }
]


At this point, vscode is running with the extensions as expected.
Rebuilding doesn't change this in case I don't touch my vscode config.
But if I change anything about vscode in my config, say, add another extension, and rebuild, the extensions are all unloaded (or likely more precise, vscode is reloaded without the extensions?), and restarting vscode or rebooting doesn't change that.
In this case, I've added vscode-extensions.github.github-vscode-theme to programs.vscode.extensions.

~/.vscode/extensions after rebuild, with vscode in a state unable to load the extensions
lrwxrwxrwx   108 katexochen 31 Aug 08:25  .extensions-immutable.json -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/.extensions-immutable.json
.rw-r--r--  1.6k katexochen 31 Aug 08:26  .obsolete
lrwxrwxrwx   109 katexochen 31 Aug 08:25  albymor.increment-selection -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/albymor.increment-selection
lrwxrwxrwx   105 katexochen 31 Aug 08:25  bazelbuild.vscode-bazel -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/bazelbuild.vscode-bazel
lrwxrwxrwx    97 katexochen 31 Aug 08:25  eamodio.gitlens -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/eamodio.gitlens
drwxr-xr-x     - katexochen 31 Aug 08:16  eamodio.gitlens-14.2.1
.rw-r--r--   431 katexochen 31 Aug 08:25  extensions.json
lrwxrwxrwx    96 katexochen 31 Aug 08:25  GitHub.copilot -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/GitHub.copilot
drwxr-xr-x     - katexochen 31 Aug 08:16  github.copilot-1.106.371
lrwxrwxrwx   108 katexochen 31 Aug 08:25  github.github-vscode-theme -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/github.github-vscode-theme
lrwxrwxrwx   110 katexochen 31 Aug 08:25  github.vscode-github-actions -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/github.vscode-github-actions
drwxr-xr-x     - katexochen 31 Aug 08:16  github.vscode-github-actions-0.26.1
lrwxrwxrwx   115 katexochen 31 Aug 08:25  github.vscode-pull-request-github -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/github.vscode-pull-request-github
drwxr-xr-x     - katexochen 31 Aug 08:16  github.vscode-pull-request-github-0.70.0
lrwxrwxrwx    91 katexochen 31 Aug 08:25  golang.Go -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/golang.Go
drwxr-xr-x     - katexochen 31 Aug 08:16  golang.go-0.39.1
lrwxrwxrwx   101 katexochen 31 Aug 08:25  hashicorp.terraform -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/hashicorp.terraform
drwxr-xr-x     - katexochen 31 Aug 08:16  hashicorp.terraform-2.27.1-linux-x64
lrwxrwxrwx   102 katexochen 31 Aug 08:25  iliazeus.vscode-ansi -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/iliazeus.vscode-ansi
lrwxrwxrwx   105 katexochen 31 Aug 08:25  James-Yu.latex-workshop -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/James-Yu.latex-workshop
drwxr-xr-x     - katexochen 31 Aug 08:16  james-yu.latex-workshop-9.13.4
lrwxrwxrwx   115 katexochen 31 Aug 08:25  jamesyang999.vscode-emacs-minimum -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/jamesyang999.vscode-emacs-minimum
lrwxrwxrwx   100 katexochen 31 Aug 08:25  jnoortheen.nix-ide -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/jnoortheen.nix-ide
lrwxrwxrwx    98 katexochen 31 Aug 08:25  ms-python.python -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/ms-python.python
drwxr-xr-x     - katexochen 31 Aug 08:16  ms-python.python-2023.14.0
lrwxrwxrwx   106 katexochen 31 Aug 08:25  MS-python.vscode-pylance -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/MS-python.vscode-pylance
drwxr-xr-x     - katexochen 31 Aug 08:16  ms-python.vscode-pylance-2023.8.51
lrwxrwxrwx   100 katexochen 31 Aug 08:25  ms-vscode.cpptools -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/ms-vscode.cpptools
drwxr-xr-x     - katexochen 31 Aug 08:16  ms-vscode.cpptools-1.17.5-linux-x64
lrwxrwxrwx   108 katexochen 31 Aug 08:25  ms-vsliveshare.vsliveshare -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/ms-vsliveshare.vsliveshare
drwxr-xr-x     - katexochen 31 Aug 08:16  ms-vsliveshare.vsliveshare-1.0.5883
lrwxrwxrwx   101 katexochen 31 Aug 08:25  quicktype.quicktype -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/quicktype.quicktype
lrwxrwxrwx   100 katexochen 31 Aug 08:25  redhat.vscode-yaml -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/redhat.vscode-yaml
drwxr-xr-x     - katexochen 31 Aug 08:16  redhat.vscode-yaml-1.14.0
lrwxrwxrwx   105 katexochen 31 Aug 08:25  rust-lang.rust-analyzer -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/rust-lang.rust-analyzer
drwxr-xr-x     - katexochen 31 Aug 08:16  rust-lang.rust-analyzer-0.3.1641-linux-x64
lrwxrwxrwx   119 katexochen 31 Aug 08:25  streetsidesoftware.code-spell-checker -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/streetsidesoftware.code-spell-checker
lrwxrwxrwx   111 katexochen 31 Aug 08:25  Tim-Koehler.helm-intellisense -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/Tim-Koehler.helm-intellisense
lrwxrwxrwx   102 katexochen 31 Aug 08:25  timonwong.shellcheck -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/timonwong.shellcheck
drwxr-xr-x     - katexochen 31 Aug 08:16  timonwong.shellcheck-0.34.0-linux-x64
lrwxrwxrwx   107 katexochen 31 Aug 08:25  twpayne.vscode-testscript -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/twpayne.vscode-testscript
lrwxrwxrwx   107 katexochen 31 Aug 08:25  uloco.theme-bluloco-light -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/uloco.theme-bluloco-light
lrwxrwxrwx   102 katexochen 31 Aug 08:25  valentjn.vscode-ltex -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/valentjn.vscode-ltex
lrwxrwxrwx   108 katexochen 31 Aug 08:25  yzhang.markdown-all-in-one -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/yzhang.markdown-all-in-one
lrwxrwxrwx   102 katexochen 31 Aug 08:25  zxh404.vscode-proto3 -> /nix/store/fjh5gpk5mmcdbbsq6jhg7n9vps31jlv6-home-manager-files/.vscode/extensions/zxh404.vscode-proto3
drwxr-xr-x     - katexochen 31 Aug 08:16  zxh404.vscode-proto3-0.5.5




Content of .obsolete
{
  "golang.go-0.38.0": true,
  "redhat.vscode-yaml-1.12.0": true,
  "github.vscode-pull-request-github-0.68.1": true,
  "github.vscode-github-actions-0.25.6": true,
  "github.copilot-1.96.257": true,
  "hashicorp.terraform-2.19.0": true,
  "eamodio.gitlens-14.1.1": true,
  "rust-lang.rust-analyzer-0.3.1607": true,
  "james-yu.latex-workshop-9.10.0": true,
  "ms-vscode.cpptools-1.11.0": true,
  "zxh404.vscode-proto3-0.5.4": true,
  "ms-python.vscode-pylance-2022.7.11": true,
  "tim-koehler.helm-intellisense-0.14.3": true,
  "albymor.increment-selection-0.2.0": true,
  "bazelbuild.vscode-bazel-0.7.0": true,
  "eamodio.gitlens-14.2.1": true,
  "github.copilot-1.106.371": true,
  "github.vscode-github-actions-0.26.1": true,
  "github.vscode-pull-request-github-0.70.0": true,
  "golang.go-0.39.1": true,
  "hashicorp.terraform-2.27.1-linux-x64": true,
  "iliazeus.vscode-ansi-1.1.6": true,
  "james-yu.latex-workshop-9.13.4": true,
  "jamesyang999.vscode-emacs-minimum-1.1.1": true,
  "jnoortheen.nix-ide-0.2.2": true,
  "ms-python.python-2023.1.10091012": true,
  "ms-python.python-2023.14.0": true,
  "ms-python.vscode-pylance-2023.8.51": true,
  "ms-vscode.cpptools-1.17.5-linux-x64": true,
  "ms-vsliveshare.vsliveshare-1.0.5834": true,
  "ms-vsliveshare.vsliveshare-1.0.5883": true,
  "quicktype.quicktype-12.0.46": true,
  "redhat.vscode-yaml-1.14.0": true,
  "rust-lang.rust-analyzer-0.3.1641-linux-x64": true,
  "streetsidesoftware.code-spell-checker-2.20.5": true,
  "timonwong.shellcheck-0.26.3": true,
  "timonwong.shellcheck-0.34.0-linux-x64": true,
  "twpayne.vscode-testscript-0.0.3": true,
  "uloco.theme-bluloco-light-3.7.3": true,
  "valentjn.vscode-ltex-13.1.0": true,
  "yzhang.markdown-all-in-one-3.5.1": true,
  "zxh404.vscode-proto3-0.5.5": true
}



extensions.json surprisingly looks like this:
[
  {
    "identifier": {
      "id": "github.github-vscode-theme",
      "uuid": "7328a705-91fc-49e6-8293-da6f112e482d"
    },
    "version": "6.3.4",
    "location": {
      "$mid": 1,
      "fsPath": "/home/katexochen/.vscode/extensions/github.github-vscode-theme",
      "external": "file:///home/katexochen/.vscode/extensions/github.github-vscode-theme",
      "path": "/home/katexochen/.vscode/extensions/github.github-vscode-theme",
      "scheme": "file"
    },
    "relativeLocation": "github.github-vscode-theme"
  }
]


Somehow, only the new extension is part of the extensions.json after this rebuild.
To get the extensions working again, I currently execute the following in ~/.vscode/extensions and restart vscode:
find . -maxdepth 1 -type d -exec rm -rf {} + # delete all directories that aren't symlinked
rm -f .obsolete extensions.json # delete non-symlinked files
Detailed VSCode version:
$ code --version
1.81.1
6c3e3dba23e8fadc360aed75ce363ba185c49794
x64

My config: https://github.com/katexochen/nixos/blob/main/home/desktop/vscode.nix
Maintainer CC
No response
System information
- system: `"x86_64-linux"`
 - host os: `Linux 6.4.10, NixOS, 23.11 (Tapir), 23.11.20230814.6e28791`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.17.0`
 - channels(katexochen): `""`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/fdy2b9n83ksarxhddniyb6wxzh9628g6-source`

Closing comment (2023-08-31T07:06:52Z): Might be related to #3507, but as people were describing different issues, and the workaround I describe here doesn't seem to work for all, I've decided to put this in a separate issue and give more details on the exact problem I'm facing.