Enable helix

This commit is contained in:
Isshi0417 2024-07-20 22:26:45 +09:00
parent 8b4c0611a9
commit a0a24c308d
2 changed files with 31 additions and 0 deletions

View File

@ -7,6 +7,7 @@
./terminal
./oh-my-posh
./nixvim
./helix
];
# Allow Unfree

View File

@ -0,0 +1,30 @@
{ ... }:
{
programs.helix = {
enable = true;
settings = {
theme = "gruvbox";
editor = {
line-number = "relative";
shell = ["sh" "-c"];
rulers = [79];
statusline = {
left = ["mode" "version-control" "file-name"];
center = ["read-only-indicator" "total-line-numbers"];
right = ["file-encoding" "file-modification-indicator" "file-base-name" "position-percentage" "position"];
};
cursor-shape = {
insert = "bar";
};
indent-guides = {
render = true;
};
};
};
};
}