feat (home/helix): module, completions
This commit is contained in:
parent
f9229831f8
commit
0b3f0d63a0
3 changed files with 1054 additions and 27 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue