mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-14 16:36:24 +00:00
f3fd89af54
Many thangs to the hard work and generous availability of: git@github.com:Misterio77/nix-config.git
24 lines
515 B
Nix
24 lines
515 B
Nix
{ 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; };
|
|
};
|
|
}
|