mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-05 20:56:33 +05:30
38 lines
723 B
Nix
38 lines
723 B
Nix
{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";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|