51 lines
1.3 KiB
Nix
51 lines
1.3 KiB
Nix
{ config, pkgs, ... }:
|
|
let
|
|
vscode_dir = "/home/richie/nix-dotfiles/users/richie/home/vscode";
|
|
in
|
|
{
|
|
# mutable symlinks to keybinds and settings
|
|
xdg.configFile."Code/User/settings.json".source = config.lib.file.mkOutOfStoreSymlink "${vscode_dir}/settings.json";
|
|
xdg.configFile."Code/User/keybindings.json".source = config.lib.file.mkOutOfStoreSymlink "${vscode_dir}/keybindings.json";
|
|
|
|
home.packages = with pkgs; [ nil ];
|
|
|
|
programs.vscode = {
|
|
enable = true;
|
|
package = pkgs.vscode;
|
|
mutableExtensionsDir = true;
|
|
extensions = with pkgs.vscode-extensions; [
|
|
# vscode
|
|
ms-vscode-remote.remote-ssh
|
|
ms-vscode-remote.remote-containers
|
|
ms-azuretools.vscode-docker
|
|
ms-vsliveshare.vsliveshare
|
|
ms-vscode.hexeditor
|
|
oderwat.indent-rainbow
|
|
usernamehw.errorlens
|
|
streetsidesoftware.code-spell-checker
|
|
github.copilot
|
|
# git
|
|
eamodio.gitlens
|
|
codezombiech.gitignore
|
|
# python
|
|
ms-python.vscode-pylance
|
|
charliermarsh.ruff
|
|
# rust
|
|
rust-lang.rust-analyzer
|
|
# MD
|
|
yzhang.markdown-all-in-one
|
|
# congigs
|
|
tamasfe.even-better-toml
|
|
redhat.vscode-yaml
|
|
# shell
|
|
timonwong.shellcheck
|
|
foxundermoon.shell-format
|
|
# nix
|
|
jnoortheen.nix-ide
|
|
# other
|
|
esbenp.prettier-vscode
|
|
mechatroner.rainbow-csv
|
|
];
|
|
};
|
|
}
|