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

View file

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