update helix

This commit is contained in:
2024-02-29 17:42:50 +05:30
parent 31595db475
commit b4071bb23a
2 changed files with 38 additions and 0 deletions

View File

@ -14,6 +14,7 @@
./vs-code
./bitwarden
./tmux
./helix
];
nixpkgs = {

View File

@ -0,0 +1,37 @@
{pkgs, ...}: {
programs.helix = {
enable = true;
settings = {
theme = "gruvbox";
editor = {
line-number = "relative";
cursorline = true;
color-modes = true;
bufferline = "multiple";
"cursor-shape" = {
insert = "bar";
normal = "block";
select = "underline";
};
};
};
languages = {
language = [
{
name = "nix";
auto-format = true;
}
];
language-server = {
nil = {
command = "${pkgs.nil}/bin/nil";
config.nil.formatting = {
command = "${pkgs.alejandra}/bin/alejandra";
};
};
};
};
};
}