feat: helix - use stable version

This commit is contained in:
Ryan Yin
2026-04-27 00:40:49 +08:00
parent 319cf87196
commit 3a6a75c703
6 changed files with 5 additions and 140 deletions
+2 -19
View File
@@ -1,30 +1,13 @@
{
lib,
config,
pkgs,
helix,
...
}:
let
helixPackages = helix.packages.${pkgs.stdenv.hostPlatform.system};
in
{
# to make steel work, we need to git clone this repo to your home directory.
home.sessionVariables.HELIX_STEEL_CONFIG = "${config.home.homeDirectory}/nix-config/home/base/tui/editors/helix/steel";
home.packages = with pkgs; [
steel
];
programs.helix = {
enable = lib.mkForce false;
# enable steel as the plugin system
# https://github.com/helix-editor/helix/pull/8675
# https://github.com/mattwparas/helix/blob/steel-event-system/STEEL.md
package = helixPackages.default.overrideAttrs (prevAttrs: {
cargoBuildFeatures = prevAttrs.cargoBuildFeatures or [ ] ++ [ "steel" ];
});
enable = true;
package = pkgs.helix;
settings = {
editor = {
line-number = "relative";