nixos-config/users/rouven/modules/helix/default.nix
2023-05-14 12:39:19 +02:00

45 lines
848 B
Nix

{ pkgs, ... }:
{
home.packages = with pkgs; [
gdb
lldb
rust-analyzer
nil
(python3.withPackages (ps: with ps; [
pyls-isort
pylsp-mypy
python-lsp-black
python-lsp-server
# pylsp optional dependencies
types-requests
flake8
mccabe
pycodestyle
pydocstyle
pyflakes
pylint
]))
clang-tools
];
programs.helix = {
enable = true;
themes.dracula-transparent = {
inherits = "dracula";
"ui.background" = "{}";
"ui.virtual.inlay-hint" = { fg = "#666666"; };
};
settings = {
theme = "dracula-transparent";
editor = {
line-number = "relative";
cursor-shape.insert = "bar";
lsp = {
display-messages = true;
display-inlay-hints = true;
};
};
};
};
}