[shared] Replace Neovim with Helix

Moved Helix editor to shared.
Removed Nixvim flake and it's config
This commit is contained in:
2025-04-19 17:54:35 +02:00
parent 7e5bc137e5
commit 985a71d901
7 changed files with 38 additions and 402 deletions

View File

@ -0,0 +1,33 @@
{ 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";
}
];
};
};
}