mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-02-23 10:50:55 +01:00
user: fix nix lsp and remove some packages
This commit is contained in:
parent
9f0712d2ca
commit
3b495d8f13
2 changed files with 8 additions and 8 deletions
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue