mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-26 00:18:28 +02:00
moved the editor to helix
This commit is contained in:
parent
84c821c66a
commit
73d5ac0435
10 changed files with 67 additions and 430 deletions
44
users/rouven/modules/helix/default.nix
Normal file
44
users/rouven/modules/helix/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
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";
|
||||
# hacky way to get the background transparent
|
||||
"ui.background" = "{}";
|
||||
};
|
||||
settings = {
|
||||
theme = "dracula-transparent";
|
||||
editor = {
|
||||
line-number = "relative";
|
||||
cursor-shape.insert = "bar";
|
||||
lsp = {
|
||||
display-messages = true;
|
||||
display-inlay-hints = true;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue