Enable helix
This commit is contained in:
parent
8b4c0611a9
commit
a0a24c308d
@ -7,6 +7,7 @@
|
||||
./terminal
|
||||
./oh-my-posh
|
||||
./nixvim
|
||||
./helix
|
||||
];
|
||||
|
||||
# Allow Unfree
|
||||
|
||||
30
modules/home-manager/helix/default.nix
Normal file
30
modules/home-manager/helix/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user