{ pkgs, ... }:
let
  extensions = with import <nixos-unstable> { config.allowUnfree = true; };
    with vscode-extensions;
    [
      # ms-python.python
      # ms-toolsai.jupyter
      # ms-python.vscode-pylance
      redhat.vscode-yaml
      jnoortheen.nix-ide
      brettm12345.nixfmt-vscode
      eamodio.gitlens
      esbenp.prettier-vscode
      tyriar.sort-lines
      matklad.rust-analyzer
      tamasfe.even-better-toml
      mskelton.one-dark-theme
    ] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
      {
        name = "better-comments";
        publisher = "aaron-bond";
        version = "2.1.0";
        sha256 = "0kmmk6bpsdrvbb7dqf0d3annpg41n9g6ljzc1dh0akjzpbchdcwp";
      }
      {
        name = "chalice-icon-theme";
        publisher = "artlaman";
        version = "1.2.12";
        sha256 = "1g370azf2yxvvixlsj1mqlwp7gnz5p5a2a418czfvd2y1fg2awjc";
      }
      {
        name = "python";
        publisher = "ms-python";
        version = "2021.5.842923320";
        sha256 = "183ram995n9dqg7d9g3bn30a1mg7nkkg4knr814f4j9lqzsai22r";
      }
      {
        name = "jupyter";
        publisher = "ms-toolsai";
        version = "2021.6.849191191";
        sha256 = "044dlq49p19l08gz58hcnzzx12s993436azh5ssqd4jzqxxxzdjv";
      }
      {
        name = "vscode-pylance";
        publisher = "ms-python";
        version = "2021.5.2";
        sha256 = "1dn7kx63w3xxawzc5f7101nr69syffh0w1xrrakwr6l0908kyn5m";
      }
    ];
  vscode-with-extensions =
    pkgs.vscode-with-extensions.override { vscodeExtensions = extensions; };
in { config = { environment.systemPackages = [ vscode-with-extensions ]; }; }