snowflake/home/helix/default.nix

59 lines
887 B
Nix
Raw Normal View History

2023-03-11 21:26:02 -05:00
{
...
}: {
imports = [
2023-04-10 14:16:07 -04:00
./themes/catppuccin_mocha.nix
];
2023-01-30 11:31:46 -05:00
programs.helix = {
enable = true;
2023-01-31 05:56:49 -05:00
settings = {
2023-01-30 11:31:46 -05:00
theme = "catppuccin_mocha";
editor = {
true-color = true;
color-modes = true;
cursorline = true;
cursor-shape = {
insert = "bar";
normal = "block";
select = "underline";
};
indent-guides = {
render = true;
rainbow = "dim";
2023-01-31 05:56:49 -05:00
languages = [
{
name = "nix";
auto-format = true;
}
{
name = "rust";
}
{
name = "go";
}
{
name = "lua";
}
{
name = "python";
}
{
name = "markdown";
}
{
name = "html";
}
{
name = "css";
}
{
name = "yaml";
}
];
2023-01-30 11:31:46 -05:00
};
2023-01-31 05:56:49 -05:00
};
2023-01-30 11:31:46 -05:00
};
2023-01-31 05:56:49 -05:00
};
}