nixos-config/home-manager/modules/vscode/default.nix

69 lines
1.9 KiB
Nix
Raw Normal View History

2021-11-17 16:32:18 +01:00
{ lib, pkgs, config, ... }:
with lib;
let cfg = config.eboskma.programs.vscode;
in
{
options.eboskma.programs.vscode.enable = mkEnableOption "enable vscode";
config = mkIf cfg.enable {
programs.vscode = {
enable = true;
package = pkgs.vscode;
extensions = with pkgs.vscode-extensions; [
2021-11-21 19:07:12 +01:00
arrterian.nix-env-selector
2021-11-17 16:32:18 +01:00
bbenoist.nix
brettm12345.nixfmt-vscode
# aaronduino.nix-lsp
# aliariff.auto-add-brackets
bradlc.vscode-tailwindcss
# bungcip.better-toml
coolbear.systemd-unit-file
# dawhite.mustache
dbaeumer.vscode-eslint
denoland.vscode-deno
# dlasagno.rasi
# dprint.dprint
editorconfig.editorconfig
esbenp.prettier-vscode
# EugenWiens.bitbake
elixir-lsp.vscode-elixir-ls # this is the one by Jake Becker, not the deprecated one
# kumar-harsh.graphql-for-vscode
matklad.rust-analyzer
# monokai.theme-monokai-pro-vscode
ms-azuretools.vscode-docker
ms-python.python
ms-python.vscode-pylance
ms-toolsai.jupyter
# ms-toolsai.jupyter-keymap
# ms-toolsai.jupyter-renderers
# ms-vscode-remote.remote-containers
ms-vscode-remote.remote-ssh
# ms-vscode-remote.remote-ssh-edit
# ms-vscode.cmake-tools
ms-vscode.cpptools
# msaraiva.surface
# pgourlain.erlang
# phoenixframework.phoenix
2021-12-18 16:23:14 +01:00
rubymaniac.vscode-paste-and-indent
2021-11-17 16:32:18 +01:00
# surajbarkale.ninja
timonwong.shellcheck
# twxs.cmake
2022-01-24 11:15:42 +01:00
vadimcn.vscode-lldb
2021-11-17 16:32:18 +01:00
# vscode-icons-team.vscode-icons
vscodevim.vim
wholroyd.jinja
xaver.clang-format
zxh404.vscode-proto3
];
userSettings = (builtins.fromJSON (builtins.readFile ./settings.json));
};
home.packages = with pkgs; [
rnix-lsp
2021-11-22 08:04:54 +01:00
shellcheck
2021-11-17 16:32:18 +01:00
];
};
}