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

View file

@ -116,11 +116,11 @@
"zig": "zig" "zig": "zig"
}, },
"locked": { "locked": {
"lastModified": 1735535921, "lastModified": 1735589157,
"narHash": "sha256-cfsHww91bRA2Frni54+blIGZGU9/269vaWzeGcNRNN0=", "narHash": "sha256-s5fJn9LSwz3cfkKSvicQppCnXVs8F05OH96yaa5K2Dc=",
"owner": "ghostty-org", "owner": "ghostty-org",
"repo": "ghostty", "repo": "ghostty",
"rev": "87bd0bb744d6a1c45022aa39f21219d0b6ff3261", "rev": "ef542c6e63b40b3541dc5efd625c0b95f750bbc6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -309,11 +309,11 @@
}, },
"nixpkgs-stable_2": { "nixpkgs-stable_2": {
"locked": { "locked": {
"lastModified": 1735412871, "lastModified": 1735531152,
"narHash": "sha256-Qoz0ow6jDGUIBHxduc7Y1cjYFS71tvEGJV5Src/mj98=", "narHash": "sha256-As8I+ebItDKtboWgDXYZSIjGlKeqiLBvjxsQHUmAf1Q=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9f94733f93e4fe6e82f516efae007096e4ab5a21", "rev": "3ffbbdbac0566a0977da3d2657b89cbcfe9a173b",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -67,6 +67,7 @@
packages = with pkgs; [ packages = with pkgs; [
just just
nh nh
nixd
]; ];
}; };

View file

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

View file

@ -24,36 +24,38 @@
extraLuaConfig = lib.fileContents ./init.lua; extraLuaConfig = lib.fileContents ./init.lua;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
black
codeium codeium
cue
go
gopls
gotools
harper harper
lua-language-server lua-language-server
nil
nixd nixd
nodePackages.prettier
nodePackages.typescript
nodePackages.typescript-language-server
nodePackages.bash-language-server
rust-analyzer
rustfmt
shellcheck shellcheck
shfmt shfmt
stylua stylua
superhtml
vscode-langservers-extracted
]; ];
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [
direnv-vim
friendly-snippets friendly-snippets
go-nvim go-nvim
targets-vim targets-vim
ts-comments-nvim 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; plugin = nvim-lspconfig;
type = "lua"; type = "lua";
@ -174,6 +176,7 @@
type = "lua"; type = "lua";
config = lib.fileContents ./rust.lua; config = lib.fileContents ./rust.lua;
} }
]; ];
}; };
} }