nix-config/users/mara/config/helix.nix
2025-12-19 01:54:22 +01:00

32 lines
626 B
Nix

{ lib, pkgs, ... }:
{
programs.helix = {
enable = true;
defaultEditor = true;
settings = {
theme = "catppuccin_macchiato";
editor = {
cursorline = true;
color-modes = true;
true-color = true;
cursor-shape.insert = "bar";
indent-guides.render = true;
};
};
languages.language = [
{
name = "nix";
auto-format = true;
formatter.command = "${lib.getExe pkgs.nixfmt-rfc-style} -s";
}
];
themes.catppuccin_macchiato = {
inherits = "catppuccin_macchiato";
"ui.background" = { };
};
};
}