34 lines
637 B
Nix
34 lines
637 B
Nix
|
{ pkgs, theme, ... }:
|
||
|
|
||
|
{
|
||
|
catppuccin.helix = {
|
||
|
enable = true;
|
||
|
flavor = theme.flavor;
|
||
|
};
|
||
|
|
||
|
programs = {
|
||
|
fish.shellAliases.edit = "hx";
|
||
|
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";
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|