nix-config/home/gburd/features/helix/default.nix

25 lines
515 B
Nix
Raw Normal View History

{ config, ... }:
let
inherit (config) colorscheme;
in
{
home.sessionVariables.COLORTERM = "truecolor";
programs.helix = {
enable = true;
settings = {
theme = colorscheme.slug;
editor = {
color-modes = true;
line-number = "relative";
indent-guides.render = true;
cursor-shape = {
normal = "block";
insert = "bar";
select = "underline";
};
};
};
themes = import ./theme.nix { inherit colorscheme; };
};
}