Experiment with having no system wide language tooling

This commit is contained in:
Daniel Lundin 2024-12-01 23:19:47 +01:00
parent 2497584fd0
commit be8780d846
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
4 changed files with 25 additions and 38 deletions
home/common

View file

@ -2,30 +2,13 @@
{
home.packages = with pkgs; [
age-plugin-fido2-hmac
bacon
cargo
clang
codeium
comma
dogdns
file
gnumake
go
just
ldns
minio-client
nil
nix-output-monitor
nixd
nixfmt-rfc-style
nodejs_22
passage
rage
prettierd
rust-analyzer
rustc
stylua
tree-sitter
];
home.sessionVariables = {

View file

@ -24,36 +24,38 @@
extraLuaConfig = lib.fileContents ./init.lua;
extraPackages = with pkgs; [
black
codeium
cue
go
gopls
gotools
harper
lua-language-server
nil
nixd
nodePackages.prettier
nodePackages.typescript
nodePackages.typescript-language-server
nodePackages.bash-language-server
rust-analyzer
rustfmt
shellcheck
shfmt
stylua
superhtml
vscode-langservers-extracted
];
plugins = with pkgs.vimPlugins; [
direnv-vim
friendly-snippets
go-nvim
targets-vim
ts-comments-nvim
{
plugin = pkgs.vimUtils.buildVimPlugin {
name = "direnv-nvim";
src = pkgs.fetchFromGitHub {
owner = "actionshrimp";
repo = "direnv.nvim";
rev = "main";
hash = "sha256-7NcVskgAurbIuEVIXxHvXZfYQBOEXLURGzllfVEQKNE=";
};
};
type = "lua";
config = ''
require('direnv-nvim').setup {
type = "dir"
}
'';
}
{
plugin = nvim-lspconfig;
type = "lua";
@ -174,6 +176,7 @@
type = "lua";
config = lib.fileContents ./rust.lua;
}
];
};
}