nix-stuff/roles/common/programs/helix.nix

33 lines
652 B
Nix

{ pkgs, ... }:
{
home-manager.users.toast = {
programs.helix = {
enable = true;
defaultEditor = true;
extraPackages = with pkgs; [
nixpkgs-fmt
nil
];
settings = {
theme = "catppuccin_mocha";
editor = {
mouse = true;
cursorline = true;
statusline.mode = {
normal = "Normal";
insert = "Insert";
select = "Select";
};
indent-guides.render = true;
};
};
languages = [
{
name = "nix";
formatter.command = "nixpkgs-fmt";
}
];
};
};
}