31 lines
549 B
Nix
Raw Normal View History

{ pkgs, theme, ... }:
{
catppuccin.helix = {
enable = true;
flavor = theme.flavor;
};
programs.helix = {
enable = true;
defaultEditor = true;
settings = {
editor = {
cursor-shape = {
normal = "block";
insert = "bar";
select = "underline";
};
lsp.display-messages = true;
};
};
languages.language = [
{
name = "nix";
auto-format = true;
formatter.command = "${pkgs.nixfmt-rfc-style}/bin/nixfmt";
}
];
};
}