user: fix nix lsp and remove some packages

This commit is contained in:
Rouven Seifert 2024-03-10 19:52:15 +01:00
parent 9f0712d2ca
commit 3b495d8f13
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
2 changed files with 8 additions and 8 deletions

View file

@ -4,7 +4,8 @@
gdb
lldb
rust-analyzer
rnix-lsp
nil
nixpkgs-fmt
typst-lsp
(python3.withPackages (ps: with ps; [
pyls-isort
@ -28,14 +29,15 @@
enable = true;
languages = {
language-server.rnix-lsp = {
command = "rnix-lsp";
language-server.nil = {
command = "nil";
config = { nil.formatting.command = [ "nixpkgs-fmt" ]; };
};
language = [
{
name = "nix";
auto-format = true;
language-servers = [ "rnix-lsp" ];
language-servers = [ "nil" ];
}
];
};
@ -46,6 +48,7 @@
color-modes = true;
line-number = "relative";
cursor-shape.insert = "bar";
completion-trigger-len = 0;
lsp = {
display-messages = true;
display-inlay-hints = true;

View file

@ -5,6 +5,7 @@
# essentials
htop-vim
lsof
zip
unzip
man-pages
@ -31,7 +32,6 @@
gomuks
profanity
fractal
tuba # mastodon client
# games
prismlauncher
@ -43,10 +43,7 @@
bitwarden-cli
# misc
hugo
neofetch # obligatory
jetbrains.idea-ultimate #😎
croc # send files anywhere
xournalpp
libreoffice
mosh