[pi4] Replaced Nvim with Helix editor

This commit is contained in:
Martin Berg Alstad 2025-04-16 09:26:50 +00:00
parent 7ed64943a6
commit ed6a435d79
Signed by: martials
GPG Key ID: E3FA0E995C0D0E5E
2 changed files with 31 additions and 1 deletions

View File

@ -11,10 +11,10 @@
inputs.catppuccin.homeModules.catppuccin inputs.catppuccin.homeModules.catppuccin
(lib.custom.relativeToRoot "shared/home-manager/btop.nix") (lib.custom.relativeToRoot "shared/home-manager/btop.nix")
(lib.custom.relativeToRoot "shared/home-manager/development/git.nix") (lib.custom.relativeToRoot "shared/home-manager/development/git.nix")
(lib.custom.relativeToRoot "shared/home-manager/development/nixvim")
(lib.custom.relativeToRoot "shared/home-manager/fastfetch.nix") (lib.custom.relativeToRoot "shared/home-manager/fastfetch.nix")
(lib.custom.relativeToRoot "shared/home-manager/fish.nix") (lib.custom.relativeToRoot "shared/home-manager/fish.nix")
(lib.custom.relativeToRoot "shared/home-manager/gpg.nix") (lib.custom.relativeToRoot "shared/home-manager/gpg.nix")
./helix.nix
]; ];
home.stateVersion = systemConfig.version; home.stateVersion = systemConfig.version;

View File

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