{
  pkgs,
  config,
  lib,
  ...
}:
with lib; {
  options.vscode.enable = mkEnableOption "vscode settings";

  config = mkIf config.vscode.enable {
    programs.vscode = {
      enable = true;
      extensions = with pkgs.vscode-extensions; [
        christian-kohler.path-intellisense
        eamodio.gitlens
        esbenp.prettier-vscode
        github.vscode-pull-request-github
        golang.go
        jnoortheen.nix-ide
        kamadorueda.alejandra
        mvllow.rose-pine
        naumovs.color-highlight
        oderwat.indent-rainbow
        redhat.vscode-yaml
        timonwong.shellcheck
        bbenoist.nix
      ];
    };
  };
}
