nix/modules/apps/cli/helix/default.nix

42 lines
845 B
Nix
Raw Normal View History

2024-09-08 17:04:51 +02:00
{
2024-09-14 21:25:34 +02:00
pkgs,
2024-09-08 17:04:51 +02:00
lib,
...
}: {
2024-08-31 16:04:57 +02:00
home-manager.users.joy.programs.helix = {
enable = true;
defaultEditor = true;
settings = {
2024-09-02 19:17:56 +02:00
theme = lib.mkForce "gruvbox";
2024-09-21 09:44:32 +02:00
editor = {
line-number = "relative";
shell = ["zsh" "-c"];
};
2024-08-31 16:04:57 +02:00
keys.normal = {
Z.Z = ":wq";
Z.Q = ":q!";
2024-09-21 09:44:32 +02:00
space.space = "file_picker";
esc = [ "collapse_selection" "keep_primary_selection" ];
2024-08-31 16:04:57 +02:00
};
};
};
home-manager.users.joy.home.packages = with pkgs; [
2024-09-10 15:25:30 +02:00
texlab
2024-08-31 16:04:57 +02:00
nil
clang-tools
javascript-typescript-langserver
vscode-langservers-extracted
rust-analyzer
lldb_18
lua-language-server
jdt-language-server
gopls
dockerfile-language-server-nodejs
python312Packages.python-lsp-server
omnisharp-roslyn
2024-09-11 15:55:10 +02:00
dotnetCorePackages.dotnet_8.sdk
2024-09-14 15:34:06 +02:00
go
2024-08-31 16:04:57 +02:00
];
}