feat (home/helix): module, completions

This commit is contained in:
Henri Saudubray 2026-01-22 10:17:38 +01:00
parent f9229831f8
commit 0b3f0d63a0
3 changed files with 1054 additions and 27 deletions

View file

@ -1,5 +1,9 @@
{ config, pkgs, ... }:
{
imports = [
./packages/helix
];
home = {
username = "hms";
homeDirectory = "/home/hms";
@ -36,10 +40,6 @@
## Typst, LaTeX
tinymist
texliveFull
## Nix
nixfmt-rfc-style
nil
]
++ (with gnomeExtensions; [
blur-my-shell
@ -81,29 +81,6 @@
config.editor = "hx";
};
# Helix configuration
programs.helix = {
enable = true;
defaultEditor = true;
settings = {
theme = "adwaita-light";
editor = {
lsp.display-messages = true;
inline-diagnostics.cursor-line = "hint";
rulers = [ 81 ];
gutters.layout = [ "diagnostics" ];
};
keys.insert.j.k = "normal_mode";
};
languages = {
language-server.tinymist = {
config = {
exportPdf = "onSave";
outputPath = "$root/$dir/out/$name";
};
};
};
};
programs.jujutsu = {
enable = true;
settings.user.name = "Henri Saudubray";