{ config, pkgs, theme, ... }: { home.sessionVariables.EDITOR = "hx"; programs.helix = { enable = true; settings = { theme = "nix_custom"; editor = { true-color = true; line-number = "relative"; mouse = false; cursor-shape.insert = "bar"; color-modes = true; cursorline = true; auto-save = true; indent-guides.render = true; }; }; languages = { language = [ { name = "nix"; language-server = {command = "${pkgs.rnix-lsp}/bin/rnix-lsp";}; } { name = "koka"; scope = "scope.koka"; file-types = ["kk"]; roots = []; indent = { tab-width = 4; unit = " "; }; } ]; }; themes = { nix_custom = theme.apps.helix; }; }; }